一般裝雙系統的話,都是先裝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
改完保存一下,重啟就生效了。記得別手抖刪錯東西哈~