|
|
发表于 2006-11-23 21:04:42
|
显示全部楼层
Post by 容易受伤的女人
在/boot/grub/menu.lst中使用map命令。参考下面的例子:
title windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader(hd1,0)+1
嗯,我的就这样手动修改过。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
cat /boot/grub/menu.lst
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
# Modified by YaST2. Last modification on Sun Oct 29 07:15:22 CST 2006
color white/blue black/light-gray
default 0
timeout 3
password --md5 $1$lDmbW0eq$a*********thsN********dTdK0
gfxmenu (hd0,2)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 10
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 vga=0x31a resume=/dev/hda9 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: SUSE Linux Enterprise Server 10 (/dev/hda10)###
title SUSE Linux Enterprise Server 10 (/dev/hda10)
kernel (hd0,9)/boot/vmlinuz root=/dev/hda10 resume=/dev/hda9 splash=silent showopts
initrd (hd0,9)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: SUSE Linux Enterprise Server 10 (/dev/hda12)###
title SUSE Linux Enterprise Server 10 (/dev/hda12)
root (hd0,11)
kernel /boot/vmlinuz root=/dev/hda12 resume=/dev/hda9 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 10
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd |
|