Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-20-2009, 05:35 AM   #1
LQ Newbie
Registered: May 2009
Posts: 3

Rep: Reputation: 0
Thumbs down Debian 5.0.1 Initrd


How do we create an initrd image file in debian 5.0.1, I used make-kpkg and dpkg to build and install new kernel but it did not create initrd image automatically.

Old 05-20-2009, 11:12 AM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 269Reputation: 269Reputation: 269

Notice part way down you have to add the --initrd option to make-kpkg.

I think you can also use initramfs-tools or yaird.

Last edited by pljvaldez; 05-20-2009 at 11:17 AM.
Old 05-21-2009, 01:11 AM   #3
LQ Newbie
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Initrd image in Debian 5.0.1


I used update-initramfs to create the image and it worked well, but still I had to change the menu.lst in Grub from hda1 to sda1 to boot with the new image.


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 new initrd.gz (or initrd.img) file? kkpal Programming 2 12-10-2007 08:38 AM
using initrd on debian knobby67 Debian 7 08-15-2007 07:32 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
initrd problem (Debian etch on Toshiba Satellite) kaz2100 Linux - Laptop and Netbook 2 07-10-2006 08:26 PM
Does Debian use initrd.img to bootup? davidas Debian 2 04-07-2004 03:45 AM

All times are GMT -5. The time now is 04:13 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