[Gloucs] Calling all grub experts
Dave Addison
gloucs at mailman.lug.org.uk
Sun Feb 16 21:27:00 2003
This is a PGP signed message sent according to RFC3156 [PGP/MIME]
--=_Turnpike_G6fDkXBJHAU+4LAk=
Content-Type: text/plain;charset=us-ascii;format=flowed
Content-Transfer-Encoding: quoted-printable
In message <200302162011.28731.bnb@bnb.uklinux.net>, Brian Wilkinson=20
<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 eno=
ugh)
>and redhat 8 across /, /boot, /usr/local and /home. /dev/hdb had nothing m=
uch
>on it until this afternoon when I had a moment to give Yoper a try.
>Installation was straight forward enough, and instead of creating a boot d=
isk
>I opted to edit grub (already installed with redhat 8) to boot yoper for m=
e.
>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 this ...
>
>
># 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 kernel=
=20
line. RedHat 8 labels the partitions so using the label option to let=20
the kernel find it's root partition will find the root partition for=20
RedHat. Root=3D/dev/hdb4 should do it, if I've decoded the root parameter=20
correctly
--=20
Dave Addison
--=_Turnpike_G6fDkXBJHAU+4LAk=
Content-Type: application/pgp-signature
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: PGPsdk 2.0.5
iQA/AwUAPlABy7/4CdQVnTbiEQLOSwCg+VhnD8knzTycJII4UHLXlkk0Y7IAn1lK
o7VN32C1VKkuB8ZRxxRYZpRh
=+8eR
-----END PGP SIGNATURE-----
--=_Turnpike_G6fDkXBJHAU+4LAk=--