GRUB Multiple boot
alex
radsky at ncia.net
Fri Oct 7 00:44:55 UTC 2005
Brian Walker wrote:
> Forgive me the basic question, but how would I set up grub to boot
> BSD? I installed PC-BSD (which hosed grub for my Ubuntu and
> XPpartitions) so re-installed grub from the Ubuntu partition using the
> rescue disk. This is my current grub menu.lst:
>
>
> I have 4 partitions: /hda/dev1 for XP, /hda/dev2 is the BSD install,
> /hda/dev3 swap and /hda/dev4 for Ubuntu. How would I set up /hda/dev2
> to allow me to boot into BSD?
I've never seen partitions labelled this way..... I presume you mean
hda1 XP hda2 BSD hda3 swap hda4 ubuntu
My guessyour GRUB is in Ubuntu because there's no entry for BSD.there
and I don't know if there was an opportunity to creat GRUB when you
installed BSD..
What I would try first is copy the first Ubuntu entry and put it after
the last Ubuntu command set.........
SEE THE EXAMPLE AFTER YOUR LAST Ubuntu ENTRY BELOW
then change all the numbers marked with X to BSD numbers....
kernel, and the partitions, (hd0,1) and hda2
The kernel and initrd texts are critical and may need some changes but
try it with just the numbers first..
This may be all that's necessary
Good luck, alex
> (snipped extra stuff)
>
> title Ubuntu, kernel 2.6.10-5-686
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.10-5-686 root=/dev/hda4 ro quiet splash
> initrd /boot/initrd.img-2.6.10-5-686
> savedefault
> boot
>
> title Ubuntu, kernel 2.6.10-5-686 (recovery mode)
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.10-5-686 root=/dev/hda4 ro single
> initrd /boot/initrd.img-2.6.10-5-686
> savedefault
> boot
>
> title Ubuntu, kernel 2.6.10-5-386
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda4 ro quiet splash
> initrd /boot/initrd.img-2.6.10-5-386
> savedefault
> boot
>
> title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda4 ro single
> initrd /boot/initrd.img-2.6.10-5-386
> savedefault
> boot
>
> title Ubuntu, kernel memtest86+
> root (hd0,3)
> kernel /boot/memtest86+.bin
> savedefault
> boot
title BSD X.X.X-X-XXX
root (hd0,1)
kernel /boot/vmlinuz-X.X.X-X-XXX root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-X.X.X,-X-XXX
savedefault
boot
>
> ### END DEBIAN AUTOMAGIC KERNELS LIST
>
> # This is a divider, added to separate the menu items below from the
> Debian
> # ones.
> title Other operating systems:
> root
>
>
> # This entry automatically added by the Debian installer for a
> non-linux OS
> # on /dev/hda1
> title Microsoft Windows XP Professional
> root (hd0,0)
> savedefault
> makeactive
> chainloader +1
>
> I have 4 partitions: /hda/dev1 for XP, /hda/dev2 is the BSD install,
> /hda/dev3 swap and /hda/dev4 for Ubuntu. How would I set up /hda/dev2
> to allow me to boot into BSD?
I've never seen partitions labelled this way..... I presume you mean
hda1 XP hda2 BSD hda3 swap hda4 ubuntu
> Brian
>
>
>------------------------------------------------------------------------
>
>Internal Virus Database is out-of-date.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 9/23/2005
>
>
More information about the ubuntu-users
mailing list