On Tue, Jun 24, 2003 at 02:45:36PM -0700, Pat LaVarre wrote: > > From: Jan Hudec [mailto:bulb@ucw.cz] > > ... cramfs images ... linuxrc ... mkinitrd ... > > Cogent, helpful, thank you. > > I remembering seeing a friend stumble across how `make > install` calls mkinitrd, I'll try to rediscover that. make install has only one way - via the /sbin/installkernel script. > > Perhaps someone should state this in FAQ: > > root=LABEL=/ is implemented in initrd > > and thus will only work when booting with initrd. > > Please note, that answer to this FAQ is not yet > intelligible to someone as breathtakingly ignorant as > I am. It should be a bit more ellaborated, like what are the symptoms and how it actualy works (when initrd is used, kernel does not care about the root= option - it's up to the linuxrc process (which will become init later on) to mount correct device and make it root using the pivot_root syscall) > > > http://www.googlegroups.com/?as_q=linux-kernel%20root%3DLABEL > > That link chokes here, but: > > http://groups.google.com/groups?q=linux-kernel+root%3DLABEL > yields four posts which include: > > http://groups.google.com/groups?as_umsgid=20021228144949.E2389@schatzie.adilger.int > > Newsgroups: linux.kernel > Date: 2002-12-28 14:00:11 PST > Subject: Re: FAQ: how to boot with root=LABEL=/ > From: Andreas Dilger (adilger@clusterfs.com) > > ... > One option is to just give the right device for root, > ... > > another is to add a patch (posted to l-k about 1.5 > years ago) which added kernel support for this, and > ... > > a third is to add an initrd which figures out the > label in user space and uses that to mount the root fs > ... > > > ... > > Possibly we're telling me Red Hat 9 seems to be > exercising the third option here. The first says to give correct device - eg. /dev/hda2 - that does not happen here. The second says there should be a patch - it is not in the mainline kernel (it would work otherwise) and it's not in RedHat kernel only (mainline kernel would not work with RedHat setup). So only one option remains, thus it is obviously true. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/