-   Debian (
-   -   how do I create an initrd.img file? (

aquaboot 11-07-2007 05: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,


docalton 11-07-2007 06:38 PM

The command you are looking for is:


It should work something like

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

Hope this helps

aquaboot 11-07-2007 06:40 PM

Thanks for the help!


All times are GMT -5. The time now is 05:39 PM.