grub loading stage2,然后又弹回选择界面。
我照着网上的方法,进livecd用
代码: 全选
grub> find /grub/stage1
(hd0,7)
grub> root (hd0,7)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,7)/grub/stage2 /grub/menu
.lst"... succeeded
Done.
sudo fdisk -l显示信息如下:
代码: 全选
Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x86f386f3
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 9730 62428590 f W95 Ext'd (LBA)
/dev/sda5 1959 5875 31463271 7 HPFS/NTFS
/dev/sda6 5876 6622 6000246 83 Linux
/dev/sda7 6623 6746 995998+ 82 Linux swap / Solaris
/dev/sda8 6747 6758 96358+ 83 Linux
/dev/sda9 6759 9730 23872558+ 83 Linux
代码: 全选
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,7)
kernel /vmlinuz-2.6.24-19-generic root=UUID=484167c4-5c17-49ed-8c36-c1842f58156b ro quiet splash locale=zh_CN
initrd /initrd.img-2.6.24-19-generic
quiet
...
title M$ OS---WIN XP
root (hd0,0)
savedefault
makeactive
chainloader +1