一般装双系统的话,都是先装Windows,再装Linux。这样Linux那边会自动识别到Windows,并且帮你把启动项加上。后面如果想调整开机菜单,可以进Linux里去改/boot/grub/grub.conf这个文件。配置大概长这样:
timeout 10
splashimage (hd0,2)/boot/grub/image/x04.xpm.gz
fontfile (hd0,0)/boot/grub/fonts
password 123456
default 2
title Red Hat
root (hd0,9)
kernel /boot/vmlinuz-2.4.20-8 root=/dev/hda10
initrd /boot/initrd-2.4.20-8.img
title RedFlag
lock
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hda3 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off hdd=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows
password boot
rootnoverify (hd0,0)
chainloader +1
改完保存一下,重启就生效了。记得别手抖删错东西哈~
timeout 10
splashimage (hd0,2)/boot/grub/image/x04.xpm.gz
fontfile (hd0,0)/boot/grub/fonts
password 123456
default 2
title Red Hat
root (hd0,9)
kernel /boot/vmlinuz-2.4.20-8 root=/dev/hda10
initrd /boot/initrd-2.4.20-8.img
title RedFlag
lock
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hda3 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off hdd=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows
password boot
rootnoverify (hd0,0)
chainloader +1
改完保存一下,重启就生效了。记得别手抖删错东西哈~