HOWTO: 滚回 grub 0.97 (wubi 慎入!!!)

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#31

帖子 yus253 » 2009-11-06 21:25

billbear 写了:/dev/sdX
中的 X 是个未知数,让你根据自己的情况填
如果你只有一块硬盘,应该是
sudo grub-install /dev/sda
qq:615709046加我吧!!!!!!!!!!!!!
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: HOWTO: 滚回 grub 0.97

#32

帖子 billbear » 2009-11-06 21:26

JXHOW 写了:
billbear 写了:
JXHOW 写了::em11
前几天 回滚回去了
看到/boot/grub下很多东西 不确定要不要删除
现在可以放心的删除了吧 :em06
现在不能删了吧。都混在一块了。
删除了 再重装一遍0.97的怎么样
或者看修改时间 或者新建时间删除
留着呗,挺好的。现在删 /boot/grub 的话,还得再运行
sudo grub-install /dev/sda
sudo update-grub -y
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: HOWTO: 滚回 grub 0.97

#33

帖子 billbear » 2009-11-06 21:27

wubi 也来?
wubi 不是也用 grub2 了吧。小苹果解释下
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: HOWTO: 滚回 grub 0.97

#34

帖子 billbear » 2009-11-06 21:29

yus253 写了:
billbear 写了:/dev/sdX
中的 X 是个未知数,让你根据自己的情况填
如果你只有一块硬盘,应该是
sudo grub-install /dev/sda
qq:615709046加我吧!!!!!!!!!!!!!
我不用 qq 的。你先不要乱动了,也不要写 mbr。
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: HOWTO: 滚回 grub 0.97

#35

帖子 smallapple » 2009-11-06 21:31

wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: HOWTO: 滚回 grub 0.97

#36

帖子 billbear » 2009-11-06 21:33

你先这样
sudo mkdir /boot/grub
sudo update-grub -y
贴反馈。
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#37

帖子 yus253 » 2009-11-06 21:34

这是我的硬盘状况,vista装在29G的硬盘里;ubuntu是用wubi装在了40G的分区里。
附件
这是我C:\下的文件好像有那个MBR
这是我C:\下的文件好像有那个MBR
硬盘状况
硬盘状况
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: HOWTO: 滚回 grub 0.97

#38

帖子 billbear » 2009-11-06 21:34

smallapple 写了:wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
/boot/grub 都被他 rm 掉了。
这下捅娄子了。
wubi 也用 grub2 ?
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#39

帖子 yus253 » 2009-11-06 21:35

billbear 写了:你先这样
sudo mkdir /boot/grub
sudo update-grub -y
贴反馈。
yus253@ubuntu:~$ sudo apt-get install grub
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
grub 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
yus253@ubuntu:~$ sudo grub /dev/sdX
Probing devices to guess BIOS drives. This may take a long time.
yus253@ubuntu:~$
--- Hash table keys for warning below:
--> l1792
--> root
--> inode/directory
--> l15

(nautilus:3777): Eel-WARNING **: "unique eel_ref_str" hash table still has 4 elements at quit time (keys above)

(nautilus:3777): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 10 elements at quit time
Shutting down nautilus-gdu extension

yus253@ubuntu:~$ sudo mkdir /boot/grub
[sudo] password for yus253:
mkdir: 无法创建目录 “/boot/grub”: 文件已经存在
yus253@ubuntu:~$ sudo update-grub -y
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ...

Could not find /boot/grub/menu.lst file.
Generating /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/memtest86+.bin
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#40

帖子 yus253 » 2009-11-06 21:37

billbear 写了:
smallapple 写了:wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
/boot/grub 都被他 rm 掉了。
这下捅娄子了。
wubi 也用 grub2 ?
恩1.97 BETA4吧? 咳,我这手太欠打了。
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: HOWTO: 滚回 grub 0.97

#41

帖子 smallapple » 2009-11-06 21:38

billbear 写了:
smallapple 写了:wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
/boot/grub 都被他 rm 掉了。
这下捅娄子了。
wubi 也用 grub2 ?
是用grub2,不过配置文件可能在盘的 /ubuntu/disks/boot/grub/grub.cfg 不是 /boot/grub/grub.cfg,要看看才能确定。
cat /host/ubuntu/disks/boot/grub/grub.cfg
看看什么内容
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#42

帖子 yus253 » 2009-11-06 21:39

smallapple 写了:wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
好像空了!?!!!!
附件
Screenshot-grub - 文件浏览器.png
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#43

帖子 yus253 » 2009-11-06 21:40

smallapple 写了:
billbear 写了:
smallapple 写了:wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
/boot/grub 都被他 rm 掉了。
这下捅娄子了。
wubi 也用 grub2 ?
是用grub2,不过配置文件可能在盘的 /ubuntu/disks/boot/grub/grub.cfg 不是 /boot/grub/grub.cfg,要看看才能确定。
cat /host/ubuntu/disks/boot/grub/grub.cfg
看看什么内容
yus253@ubuntu:~$ cat /host/ubuntu/disks/boot/grub/grub.cfg
cat: /host/ubuntu/disks/boot/grub/grub.cfg: 没有该文件或目录
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: HOWTO: 滚回 grub 0.97

#44

帖子 billbear » 2009-11-06 21:41

smallapple 写了:
billbear 写了:
smallapple 写了:wubi的安装的? :em06
把 /host/ubuntu/disks/boot/grub/grub.cfg 这个东东贴上来看看
/boot/grub 都被他 rm 掉了。
这下捅娄子了。
wubi 也用 grub2 ?
是用grub2,不过配置文件可能在盘的 /ubuntu/disks/boot/grub/grub.cfg 不是 /boot/grub/grub.cfg,要看看才能确定。
cat /host/ubuntu/disks/boot/grub/grub.cfg
看看什么内容
/ubuntu/disks/boot 好像就是挂在 /boot 的,yus253 运行一下
cat /etc/fstab
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: HOWTO: 滚回 grub 0.97

#45

帖子 yus253 » 2009-11-06 21:42

除了重新安装系统还有其他办法吗?!!!!
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
回复