[PLUG] booting weirdness RESOLVED

Derek Loree drl at drloree.com
Sun Oct 12 15:59:02 UTC 2003


On Sun, 2003-10-12 at 14:09, Mike De La Mater wrote:
> Sorry all, I got lost in the thread, and I didn't want to incorrectly
> attrib an idea, so there's no quote for me to bottom post. Top posting,
> when mixed in with bottom posting /is/ confusing.
> 
> Somebody said that booting to a label was okay. It was okay, until I
> installed another drive with the same labels. Not being aware of this, I
> went ahead and reconfigured grub to boot to the correct device and
> partition. AFTER booting to the right kernel, I was able to change the
> labels of the old drive and restore sanity and the data I wanted from
> the old drive.

So, grub was rooting around for a kernel to boot.  I thought someone
said that grub didn't do that?  I will give that someone the fact that
it is a configuration problem and now that Mike knows about it he
shouldn't run into the same problem again. 

> 
> The working gurb config now looks like this, as it could for lots of
> folks: (I left the label oriented version of the old kernel below for
> comparison, and so I didn't screw myself when I got the config wrong)
> Also note that there's a sym link between /boot/vmlinuz and
> /boot/vmlinuz version 2.4.20-20.8
> 
> /boot/grub.conf
> 
> title Red Hat Linux (2.4.20-20.8) Mike's
>         root (hd0,0)
>         kernel /vmlinuz ro root=/dev/hda2
>         initrd /initrd-2.4.20-20.8.img
> title Red Hat Linux (2.4.20-20.8)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.20-20.8 ro root=LABEL=/
>         initrd /initrd-2.4.20-20.8.img
> 
> Hope that can help someone in the future, it was driving me nuts.

That looks pretty explicit.

Derek Loree





More information about the PLUG mailing list