[Gloucs] Calling all grub experts
Brian Wilkinson
gloucs at mailman.lug.org.uk
Mon Feb 17 19:21:01 2003
That works a charm, thankyou very much. I had forgotten that I had cut an=
d=20
paste that bit without really thinking about it.=20
Brian Wilkinson
On Sunday 16 February 2003 21:25, Dave Addison wrote:
> In message <200302162011.28731.bnb@bnb.uklinux.net>, Brian Wilkinson
> <bnb@bnb.uklinux.net> writes
>
> >Hi folks, yet again I am stuck and in need of some assistance.
> >
> >Heres the scenario. /dev/hda has one windows partion (that's more than
> > enough) and redhat 8 across /, /boot, /usr/local and /home. /dev/hdb =
had
> > nothing much on it until this afternoon when I had a moment to give Y=
oper
> > a try. Installation was straight forward enough, and instead of creat=
ing
> > a boot disk I opted to edit grub (already installed with redhat 8) to
> > boot yoper for me. The new kernel boots up a treat, but then /dev/hda=
(ie
> > redhat 8) is booted with the yoper kernel. My grub.conf looks like th=
is
> > ...
> >
> >
> ># grub.conf generated by anaconda
> >#
> ># Note that you do not have to rerun grub after making changes to this
> > file # NOTICE: You have a /boot partition. This means that
> ># all kernel and initrd paths are relative to /boot/, eg.
> ># root (hd0,0)
> ># kernel /vmlinuz-version ro root=3D/dev/hda4
> ># initrd /initrd-version.img
> >#boot=3D/dev/hda
> >default=3D0
> >timeout=3D10
> >splashimage=3D(hd0,0)/grub/splash.xpm.gz
> >title Red Hat Linux (2.4.18-14)
> > root (hd0,0)
> > kernel /vmlinuz-2.4.18-14 ro root=3DLABEL=3D/ hdd=3Dide-scsi
> > initrd /initrd-2.4.18-14.img
> >title Win98
> > rootnoverify (hd0,1)
> > chainloader +1
> >title yoper
> > root (hd1,4)
> > kernel /boot/vmlinuz-2.4.20 ro root=3DLABEL=3D/ hdd=3Dide-scsi
> > initrd /boot/initrd-2.4.20.img
> >
> >
> >If anyone could sort me out on this one I would be grateful.
> >
> >Brian Wilkinson
> >
> >_______________________________________________
> >gloucs mailing list
> >gloucs@mailman.lug.org.uk
> >http://mailman.lug.org.uk/mailman/listinfo/gloucs
>
> I think the problem is the option root=3DLABEL=3D/ used on the yoper ke=
rnel
> line. RedHat 8 labels the partitions so using the label option to let
> the kernel find it's root partition will find the root partition for
> RedHat. Root=3D/dev/hdb4 should do it, if I've decoded the root paramet=
er
> correctly