Re: Config Boot loader



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


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Bootloader
    ... load the Debian based stuff. ... # array will desync and will not let you boot your system. ... ## should update-grub add savedefault to the default options ... # This entry automatically added by the Debian installer for a non-linux OS ...
    (alt.os.linux)
  • Re: Cant get any ubuntu version/type to boot to the installer or livecd properly
    ... I have ubuntu installed now - but i believe the same problem exists as ... wrong with the boot process. ... Googling gave me the tip to acpi=off as an installer option - that ... Recovery Mode froze at the second to last line on the screenshot: ...
    (Ubuntu)
  • Re: UbuntuCE and root login question
    ... I loaded Ubuntu on my win2k system yesterday and all seemed to go very well. ... /boot/grub/menu.lst file to change a couple thing on the grub boot menu. ... The installer did not ask for a ... root password, so I have no password to enter to login as root. ...
    (alt.os.linux)
  • Re: Help with installation
    ... Download/Burn an Ubuntu LiveCD (see here if you haven't already: ... Stick the CD into your desktop's drive, and boot it up. ... Once the LiveCD's menu comes up, select the 'Install Ubuntu' ... * This will boot up the graphical installer (provided you ...
    (Ubuntu)
  • UbuntuCE and root login question
    ... I loaded Ubuntu on my win2k system yesterday and all seemed to go very well. ... /boot/grub/menu.lst file to change a couple thing on the grub boot menu. ... The installer did not ask for a ... root password, so I have no password to enter to login as root. ...
    (alt.os.linux)