LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how do I create an initrd.img file? (https://www.linuxquestions.org/questions/debian-26/how-do-i-create-an-initrd-img-file-597883/)

aquaboot 11-07-2007 04:51 PM

how do I create an initrd.img file?
 
Hi All,

I've created a new kernel and am trying to get it set up to boot from. I'm pretty sure I need to create a new kernel-specific initrd.img file. I've been looking online and see a tool in RedHat called: mkinitrd. Its not on my debian installation and doesn't seem to be available via aptitude. Is there a debian utility that will create this file? Here's the RedHat blurb:

The mkinitrd utility creates an initrd image in a single command. This is command is peculiar to RedHat. There may be equivalent command of mkinitrd in other distributions of Linux. This is very convenient utility.

Thanks n advance,

ab

docalton 11-07-2007 05:38 PM

The command you are looking for is:

mkinitramfs


It should work something like

mkinitramfs -o <file to create> <kernel version>

Hope this helps

aquaboot 11-07-2007 05:40 PM

Thanks for the help!

-ab


All times are GMT -5. The time now is 05:42 AM.