Re: FAQ: how to boot with root=LABEL=/

From: Dan Kegel (dank@kegel.com)
Date: Sun Dec 29 2002 - 01:11:53 EST


I'll just pass the device for now, but I appreciate the
explanation, and maybe it'll help the next fellow who runs into this.
- Dan

Andrew McGregor wrote:
> You need to build an initrd for that to work. That is actually handled
> by the scripts in the initrd, so without those...
>
> One workaround to get the ramdisk without having to use modules goes
> like this:
>
> Do a make modules_install anyway. That sets up the directory layout in
> /lib/modules, without which mkinitrd fails. Remove any modules that get
> installed (2.4 makefiles will probably build and install modules even if
> CONFIG_MODULES is not set).
>
> Then build the kernel and do a make install, and the /sbin/installkernel
> script will do the right thing.
>
> Not tested, but given my understanding of how RH8 boots, should work.
>
> Or else just pass the device.
>
> Andrew
>
> --On Saturday, December 28, 2002 11:12:13 -0800 Dan Kegel
> <dank@kegel.com> wrote:
>
>> I'm trying to configure a minimal 2.4.17 to boot
>> on my redhat 8 box. No modules, no sound, nothing fancy at all.
>>
>> One problem I'm having is it only works if I boot with root=/dev/hda9
>> instead of red hat's usual root=LABEL=/
>> I thought I had configured in the proper partition support.
>>
>> Can anyone point out what's missing from my .config (or from 2.4.17)
>> to allow booting with root=LABEL=/ ?

-- 
Dan Kegel
Linux User #78045
http://www.kegel.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:13 EST