How do I make initrd.img in Ubuntu?
[Environment: Ubuntu 10.04]
I just finished compiling Linux-2.6.20 and want to get it to work, so I think I should add something to my grub2 when I'm done
do modules_install make install
in / boot / i got
vmlinuz-2.6.20 System.map-2.6.20 config-2.6.20
So i just tried
mkinitramfs -o initrd.img-2.6.20 2.6.20
Then the initrd.img-2.6.20 file was generated, but after typing
This image file was not found! Does anyone know how to deal with this?
BTW, I'm really curious about what files initrd.img-2.6.20 is generated from? Because it seemed like I didn't even mention the source to create this file.
source to share