Reputation
204
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 10
Newest
 Yearling
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 11 votes cast
Mar
20
awarded  Yearling
Mar
20
revised What does the 'seclabel' mount option do?
deleted 18 characters in body
Mar
20
accepted What does the 'seclabel' mount option do?
Mar
20
awarded  Curious
Mar
19
asked What does the 'seclabel' mount option do?
Sep
23
awarded  Popular Question
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.