
Я установил RHEL 4.0 на свой ПК, на котором уже была установлена Widows 7. Он установил загрузчик GRUB, не предоставив возможности двойной загрузки — он дает возможность перейти только на RHEL 4.0. Есть ли способ указать GRUB также предоставить возможность загрузки в Windows 7?
ОБНОВЛЯТЬ: Мой menu.lst выглядит так:
[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
решение1
У вас есть возможность редактировать файл меню grub, который обычно находится в /boot/grub/menu.lst
и содержит список команд для загрузки различных ОС.
Вам следует добавить еще одну запись для вашей второй (третьей) ОС, в вашем случае Windows, например:
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...