Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-13-2007, 05:31 PM   #1
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
Differece: mkinitrd and mkinitramfs?


I would like to know what is the difference between mkinitrd and mkinitramfs utility? I read the man page of each one of them but I was not able to figure out which is used when. Recently I upgraded my system to Etch (keeping my existing kernel 2.6.15). During upgradation, I saw a something like:
updating initrd 2.6.15......
Here are the package site for both of them on Debian Repo. for mkinitramfs for mkinitrd

Please advice. Thanks
Old 05-13-2007, 09:09 PM   #2
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Debian kernels require an initial ramdisk to work

Debian has for some time distributed and installed modular kernels by default, depending on the helper package initrd-tools to add the needed modules in a cramfs initrd-image.

2.6 has a newer format, initramfs, which is an cpio gzipped archive. The handoff to early userspace is much earlier. Initramfs allows a cleaner interface. The initrd hacks for nfs root and such are scheduled to be removed for 2.7.

Initrd-tools relies on devfs and on removed or deprecated /proc interfaces. It has no maintainer. Its CodingStyle is weird. There is no support for sata thus responsible for many sarge install failures nor scsi for kernels >= 2.6.10. Its use with recent 2.6 linux kernels is discouraged.

Several tools produce initramfs images, each with some spiffy features and annoying limitations...the comparison below use the following symbols:



Last edited by farslayer; 05-13-2007 at 09:10 PM.
Old 05-14-2007, 03:14 PM   #3
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48

Thanks dude, that was quick and helpful.



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
The differece between $@ and $* johnny_jiang Linux - Newbie 2 02-18-2006 10:51 PM
Help with mkinitrd paddyjoy Linux - Newbie 2 07-02-2005 07:05 AM
mkinitrd beaucox Linux - Software 6 03-29-2004 09:44 AM
whats the differece killi Linux - Software 2 04-26-2003 06:29 AM
Differece between Lilo and Grub r4merlin Linux - General 1 02-17-2003 01:40 AM > Forums > Linux Forums > Linux - Distributions > Debian

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