LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-07-2007, 04:51 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 465

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,

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

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

mkinitramfs


It should work something like

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

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

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

-ab
 
  


Reply


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 2.6.16.20 for i386 on AMD 64 or whatever penguin123 Linux - Kernel 4 10-21-2008 07:00 PM
Add new cciss driver module to initrd.img ,stage2.img kunalroy2002 Linux - Software 4 09-25-2007 12:09 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
this initrd.img file??? hungrigerhaifisch Linux - Kernel 2 03-31-2007 05:50 PM
Initrd-x.x.x-x.img File bas12547 Linux - Software 1 07-05-2003 07:47 AM


All times are GMT -5. The time now is 06:57 AM.

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