Config Boot loader
NoOp
glgxg at mfire.com
Fri Sep 29 22:27:04 UTC 2006
Nguyễn Văn Thoại wrote:
> I need to config the boot loader so that I can boot to Ubuntu or Windows XP.
> XP is not in the list because I installed XP via a Ghost backup.
> Please tell me how to config the bootloader in Ubuntu.
>
> Ubuntu is located at /dev/hda3
> XP is located at /dev/hda5
>
>
See:
http://ubuntuguide.org/wiki/Dapper#How_to_add_Windows_entry_into_GRUB_menu
Here is a copy of the relevant parts of mine:
title Ubuntu, kernel 2.6.15-27-386
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-386
savedefault
boot
title Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.15-27-386
boot
title Ubuntu, kernel 2.6.15-26-386
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-386
savedefault
boot
title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.15-26-386
boot
title Ubuntu, kernel 2.6.15-23-386
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot
title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot
title Ubuntu, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
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 2000 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hdb5
title Windows NT/2000/XP (loader)
root (hd1,4)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
More information about the ubuntu-users
mailing list