GRUB Multiple boot

Brian Walker bfwalker at gmail.com
Mon Oct 3 06:21:39 UTC 2005


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:

(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

### 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?

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051003/b00fac77/attachment.html>


More information about the ubuntu-users mailing list