Peter Humphrey <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], excerpted below, on Tue, 13 Mar 2007 17:31:44 +0000:
> On Tuesday 13 March 2007 14:06:22 [EMAIL PROTECTED] wrote: >> On Tue, Mar 13, 2007 at 05:08:02PM +0800, P.V.Anthony wrote: >> > I hope one day grub will allow "root=UUID=something" then the problem >> > is completely solved. >> >> Not to be picky, but it's the kernel that parses that command line -- >> grub just supplies it to the kernel. > > Are you sure? It seems to me that the "root=" parameter is to grub, to > tell it where to find the kernel to which to pass the remaining > arguments. The "root (hd0,0)" (or whatever) line is for grub. The "kernel ..." line, including the "root=/dev/whatever", or as we are talking here "root=label" parameter, are passed to the kernel. It uses that parameter to find and load its rootfs after the kernel has loaded and done the pre-root detection and config stuff, but before the first userspace program (normally init) starts and does the userspace boot stuff, plus loading any additional kernel modules and doing a bit more kernel config (sysctl and the like). -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- [email protected] mailing list
