第一Linux系统的grub.conf:
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=1
timeout=10
gfxmenu=(hd0,0)/grub/message
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader (hd1,0)+1
makeactive
boot
title MagicLinux
root (hd0,0)
kernel /vmlinuz-2.6.25.10-smp ro root=/dev/hdc3 vga=791 quiet
initrd /initrd-2.6.25.10-smp.img
title MagicLinux (Single Mode)
root (hd0,0)
kernel /vmlinuz-2.6.25.10-smp single ro root=/dev/hdc3 vga=791 quiet
initrd /initrd-2.6.25.10-smp.img
title Fedora
root (hd2,0)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.x86_64
initrd /boot/initrd-2.6.27.5-117.fc10.x86_64.img
Fedora项为自己所添加。
以下为Fedora安装后,其grub.conf文件:
# 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 (hd2,0)
# kernel /boot/vmlinuz-version ro root=/dev/sdc1
# initrd /boot/initrd-version.img
#boot=/dev/sdc1
default=0
timeout=0
splashimage=(hd2,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.x86_64)
root (hd2,0)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.x86_64 ro root=UUID=94afad7c-f5ce-4320-991d-cc61cdd25d6b rhgb quiet
initrd /boot/initrd-2.6.27.5-117.fc10.x86_64.img
落伍者 于 2008-12-11 18:25:22发表:
学习一下了
deepwhite 于 2008-12-11 12:44:15发表:
问题应该出在你的系统装在了不同的硬盘,而非同一硬盘的不同分区上。
我手头没有闲置的硬盘,无法实验,建议你google一下: grub+多硬盘引导。
小松 于 2008-12-11 10:39:11发表:
第一Linux系统的grub.conf:
# grub.conf generated by MagicInstaller.
# Note that you do not have to rerun grub after making changes to this file.
default=1
timeout=10
gfxmenu=(hd0,0)/grub/message
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader (hd1,0)+1
makeactive
boot
title MagicLinux
root (hd0,0)
kernel /vmlinuz-2.6.25.10-smp ro root=/dev/hdc3 vga=791 quiet
initrd /initrd-2.6.25.10-smp.img
title MagicLinux (Single Mode)
root (hd0,0)
kernel /vmlinuz-2.6.25.10-smp single ro root=/dev/hdc3 vga=791 quiet
initrd /initrd-2.6.25.10-smp.img
title Fedora
root (hd2,0)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.x86_64
initrd /boot/initrd-2.6.27.5-117.fc10.x86_64.img
Fedora项为自己所添加。
以下为Fedora安装后,其grub.conf文件:
# 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 (hd2,0)
# kernel /boot/vmlinuz-version ro root=/dev/sdc1
# initrd /boot/initrd-version.img
#boot=/dev/sdc1
default=0
timeout=0
splashimage=(hd2,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.x86_64)
root (hd2,0)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.x86_64 ro root=UUID=94afad7c-f5ce-4320-991d-cc61cdd25d6b rhgb quiet
initrd /boot/initrd-2.6.27.5-117.fc10.x86_64.img