Not logged in
Log in now
Create an account
Subscribe to LWN
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
LWN.net Weekly Edition for June 6, 2013
Just one question: if initramfs is built inside the kernel, what is
passed to GRUB (with the initrd option) in my distribution? Or is the
The new initramfs system
Posted Nov 22, 2006 14:05 UTC (Wed) by smitty_one_each (subscriber, #28989)
Well worth perusing:
Posted Nov 23, 2006 23:37 UTC (Thu) by Thalience (subscriber, #4217)
What I don't know is why they create a separate initramfs, rather than building it into the kernel image.
Re: why separate initramfs
Posted Nov 24, 2006 1:40 UTC (Fri) by ldo (subscriber, #40946)
>What I don't know is why they create a separate initramfs, rather than
>building it into the kernel image.
So that it's easier to update the kernel and the initramfs image separately, of course.
Posted Nov 25, 2006 17:28 UTC (Sat) by Thalience (subscriber, #4217)
Posted Nov 27, 2006 6:17 UTC (Mon) by ldo (subscriber, #40946)
>That does make some sense, but I've never seen that capability used.
On the contrary. Look at most binary-based Linux distros (that is, most Linux distros), for example (looking at ones on machines I have immediate access to) SuSE or Red Hat. They tend to come with only a small selection of pre-built kernels to choose from. But rather than build in every driver you might need at boot time into the kernel, you have to make an initrd that includes the necessary kernel modules that will need to be loaded even before the root filesystem can be mounted.
Posted Dec 5, 2006 21:22 UTC (Tue) by hazelsct (guest, #3659)
Posted Nov 26, 2006 0:06 UTC (Sun) by landley (guest, #6789)
So you can always add an external initramfs with _just_ the changed files.
Ubuntu's providing an external one because their developers learned with
initrd and have established habits.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds