Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-07-2007, 05:51 PM   #1
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 482

Rep: Reputation: 31
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,

Old 11-07-2007, 06:38 PM   #2
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 15
The command you are looking for is:


It should work something like

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

Hope this helps
Old 11-07-2007, 06:40 PM   #3
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 482

Original Poster
Rep: Reputation: 31
Thanks for the help!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create initrd.img when compiling for i386 on AMD 64 or whatever penguin123 Linux - Kernel 4 10-21-2008 08:00 PM
Add new cciss driver module to initrd.img ,stage2.img kunalroy2002 Linux - Software 4 09-25-2007 01:09 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-02-2007 12:24 AM
this initrd.img file??? hungrigerhaifisch Linux - Kernel 2 03-31-2007 06:50 PM
Initrd-x.x.x-x.img File bas12547 Linux - Software 1 07-05-2003 08:47 AM

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration