Linux 15.032 Themen, 107.080 Beiträge

Grub Loader

Infos-Lanzarote / 5 Antworten / Flachansicht Nickles

Moin zusammen!

Ich habe folgendes im Grubloader stehen:

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=24474473-1e74-45e5-8613-442c2d476032 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=24474473-1e74-45e5-8613-442c2d476032 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet

### 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/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1


Was muss ich nun ändern dass er Windows XP automatisch läd und nicht Ubuntu???

Vielen Dank!!!

bei Antwort benachrichtigen
KarstenW Infos-Lanzarote „Grub Loader“
Optionen

Du kannst die Variable default in dieser Datei /boot/grub/menu.lst entsprechend initialisieren:

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default saved

Es wird bei 0 angefangen zu zählen. Wenn also Windows XP der 4. Eintrag ist , dann kannst du

default 3

eintragen

PS: Wenn default saved eingetragen ist, dann wird automatisch der Eintrag aktiviert, der zuletzt gestartet wurde.


Debian GNU/Linux https://www.debian.org/index.de.html
bei Antwort benachrichtigen