|
|
发表于 2009-2-28 09:46:59
|
显示全部楼层
我经常遇到这种问题的.当然是grub没有安装到mbr了。
方法:(用光盘引导进入已经安装的系统)
下面,我本级的例子:
首先,编辑/boot/grub/menu.lst
example
# Modified by YaST2. Last modification on Sat Jan 3 08:46:37 CST 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,7)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.7-9
kernel (hd0,7)/boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-ST3160815AS_5RA76TJY-part8 resume=/dev/disk/by-id/ata-ST3160815AS_5RA76TJY-part10 splash=silent showopts vga=0x31a
initrd (hd0,7)/boot/initrd-2.6.27.7-9-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1 - 2.6.27.7-9
kernel (hd0,7)/boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-ST3160815AS_5RA76TJY-part8 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
initrd (hd0,7)/boot/initrd-2.6.27.7-9-default
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
chainloader +1
然后安装boot loader 到mbr
grub进入命令环境;
>boot (hd0,*) #*为/boot所在的盘符。
>find /boot/vmlinuz
>setup (hd0)
>setup (hd0,*)#同上
>quit
(试试看) |
|