LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-13-2007, 05:31 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Differece: mkinitrd and mkinitramfs?


Hi,

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:
Code:
updating initrd 2.6.15......
Here are the package site for both of them on Debian Repo.

http://packages.debian.org/stable/utils/initramfs-tools for mkinitramfs

http://packages.debian.org/stable/utils/initrd-tools for mkinitrd


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

Rep: Reputation: 191Reputation: 191
Quote:
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:
Old
http://kernel-handbook.alioth.debian.org/ch-initrd.html

New
http://kernel-handbook.alioth.debian...initramfs.html

Comparison
http://wiki.debian.org/InitrdReplacementOptions

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

Original Poster
Rep: Reputation: 49

Thanks dude, that was quick and helpful.
 
  


Reply

Tags
initrd



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration