!!!!!!!!求助:GRUB恢复问题!!!!!!!

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
cokinga
帖子: 12
注册时间: 2008-06-09 12:41
来自: http://hi.baidu.com/cokinga

!!!!!!!!求助:GRUB恢复问题!!!!!!!

#1

帖子 cokinga » 2008-09-13 13:26

我的一个80G的硬盘,
C盘20G装VISTA,又分了10G装MAC,剩下的装ubuntu 8.04
20g为“/”根分区,200M为boot分区,1024M为swap交换分区,剩下的作为home分区。

由于重装了VISTA,grub启动菜单不见了。见网上说用live cd启动,选择“试用ubuntu”,运行终端,启用root账户,输入find /boot/grub/stage1

我输入了,但是没有任何反馈信息,而且还提示我有错误!!!!!
我又输入 find /boot 系统显示有这个目录
我再输入 find /boot/grub 系统显示没这个目录!!!

请教一下这是怎么回事?
chasye
帖子: 333
注册时间: 2007-05-13 15:20

#2

帖子 chasye » 2008-09-13 14:25

基本过程;

用任意live cd进去后

mount /dev/"device of root" /mnt
mount /dev/'device of boot" /mnt/boot
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
chroot /mnt

grub-install (hd0)

exit
reboot
aerofox
帖子: 1453
注册时间: 2008-05-24 8:30

#3

帖子 aerofox » 2008-09-13 15:01

那个 find 应该是在 grub shell 下用的。
头像
cokinga
帖子: 12
注册时间: 2008-06-09 12:41
来自: http://hi.baidu.com/cokinga

#4

帖子 cokinga » 2008-09-13 17:40

谢谢2楼的,不过问题已经解决了。
我的BOOT分区 是单独的,所以应该是

代码: 全选

find /grub/stage1

ˇ` 超頻Wú極限 `ˇ

Qun№:5652405
回复