Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-13-2007, 05:31 PM
|
#1
|
|
Senior Member
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249
Rep:
|
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
|
|
|
|
05-13-2007, 09:09 PM
|
#2
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
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.
|
|
|
|
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:
|
Quote:
|
Originally Posted by farslayer
|
Thanks dude, that was quick and helpful.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:33 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|