187 reputation
18
bio website
location
age
visits member for 2 years, 1 month
seen Jul 29 at 13:01

May
2
awarded  Popular Question
Mar
28
awarded  Notable Question
Jun
1
awarded  Popular Question
Feb
14
asked Can't install 32 bit gstreamer-ffmpeg normally, library can't find other 32 bit libs
Jan
10
awarded  Critic
Oct
30
revised How to change Grub 2 default permanently?
improved sentences
Oct
30
answered How to change Grub 2 default permanently?
Oct
24
awarded  Commentator
Oct
24
comment building my own initrd, how to populate dev directory
I used the modules and the kernel from the same debian businesscard.iso, so I assume the modules belong to that kernel. I did modprobe after the mount command, but still no success. I have updated my main post with some more info.
Oct
24
revised building my own initrd, how to populate dev directory
added additional info and updates on what I have done already
Oct
24
comment building my own initrd, how to populate dev directory
I ran lspci -k in my current running system and in a virtual box system. Both use "ahci" as kernel driver for my SATA controller. So I just copied the /lib/modules/ directory over to the one on my initramfs and added modprobe -v ahci before running the mount -t devtmpfs none /dev as you suggested. modprobe complains about some missing symbols, but then returns ATA-6: VBOX HARDDISK and Direct-Access ATA VBOX HARDDISK. However, still no sda/hda device in the /dev directory. Any idea what I am doing wrong?
Oct
24
comment building my own initrd, how to populate dev directory
@Gilles There isn't a config file supplied, but I loaded the kernel I got from debian, the config file said CONFIG_DEVTMPFS=y, but I still don't get any sda devices. I think this is because I have not loaded any modules (lsmod returns nothing). What modules should I load to get the filesystem devices? Or is there something else I forgot?
Oct
24
comment building my own initrd, how to populate dev directory
But how would I get one? I just copied the vmlinuz I found in the debian-businesscard.iso (probably not the best idea). Should I just copy the standard kernel I got from ubuntu or debian, and the whole /lib/modules directory?
Oct
24
comment building my own initrd, how to populate dev directory
Thanks for your answer. I came to the conclusion that I actually made an initramfs instead of an initrd. But I use the vmlinuz kernel I got from debians live system, should I actually compile my own kernel for this (so I know which modules there are for loading harddrives), or is there a sort of minimal version I could use with the basic modules? I will probably download the latest udev and try to compile and run it.
Oct
24
comment building my own initrd, how to populate dev directory
Thanks for your comment. I ran your command, and I now have more devices, but still no sda or hda to mount. Is there something I forgot to do? I use the vmlinuz kernel I got from debians live system, should I actually compile my own?
Oct
23
asked building my own initrd, how to populate dev directory
Oct
22
accepted Added bin directory to my path, can't execute commands in it with 'sudo command'
Oct
22
comment Added bin directory to my path, can't execute commands in it with 'sudo command'
Thanks, I looked in the sudoers file and added my path to the second line, works great!
Oct
18
asked Added bin directory to my path, can't execute commands in it with 'sudo command'
Aug
14
awarded  Student