
Ich habe RHEL 4.0 auf meinem PC installiert, auf dem bereits Windows 7 installiert war. Dabei wurde der GRUB-Bootloader ohne Dual-Boot-Option installiert – es gibt nur die Option, zu RHEL 4.0 zu wechseln. Gibt es eine Möglichkeit, GRUB anzuweisen, mir auch die Option zum Booten in Windows 7 zu geben?
AKTUALISIEREN: Meine menu.lst sieht wie folgt aus
[root@abacchu-lnx ~]# more /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-89.0.11.ELsmp)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-89.0.11.ELsmp ro root=LABEL=/1
initrd /boot/initrd-2.6.9-89.0.11.ELsmp.img
title Red Hat Enterprise Linux AS (2.6.9-89.0.11.EL)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-89.0.11.EL ro root=LABEL=/1
initrd /boot/initrd-2.6.9-89.0.11.EL.img
title Red Hat Enterprise Linux AS (2.6.9-89.ELsmp)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-89.ELsmp ro root=LABEL=/1
initrd /boot/initrd-2.6.9-89.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-89.EL)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-89.EL ro root=LABEL=/1
initrd /boot/initrd-2.6.9-89.EL.img
title Other
rootnoverify (hd0,0)
chainloader +1
Antwort1
Sie haben die Möglichkeit, die Grub-Menüdatei zu bearbeiten, die sich normalerweise dort befindet /boot/grub/menu.lst
und eine Liste mit Befehlen zum Laden verschiedener Betriebssysteme enthält.
Sie würden einen weiteren Eintrag für Ihr zweites (drittes) Betriebssystem hinzufügen, in Ihrem Fall Windows, zB:
default=0
timeout=5
title Windows
root(hd0,0)
rootnoverify(hd0)
chainloader +1
title RHEL
root(hd0,1)
kernel /vmlinuz-2.6...
initrd /initrd-2.6...