[问题]重装XP后无法重装GRUB(问题解决,多谢各位!)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
新手
帖子: 461
注册时间: 2007-01-22 23:23
来自: 42 39'18.85"N,94 10'00.80"E

[问题]重装XP后无法重装GRUB(问题解决,多谢各位!)

#1

帖子 新手 » 2008-02-08 12:14

昨天重装了XP。本来以为重装一下GRUB没什么问题,因为也不是第一次装。但这次不知道为什么装完以后重启电脑,GRUB菜单却没有出现,好象什么都没有发生过。

如果重装ubuntu,麻烦不说,100多G的数据没了。
请高手帮忙。

我重装GRUB的步骤:
grub> find /boot/grub/stage1
(hd0,5)

grub> root (hd0,5)

grub> setup (hd0,5)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0,5) /boot/grub/stage2 p /boot/grub/menu
.lst "... succeeded
Done.

grub>
上次由 新手 在 2008-02-18 17:38,总共编辑 2 次。
头像
新手
帖子: 461
注册时间: 2007-01-22 23:23
来自: 42 39'18.85"N,94 10'00.80"E

#2

帖子 新手 » 2008-02-17 23:23

没人知道?
头像
chinesejerry
帖子: 510
注册时间: 2007-10-06 3:48
来自: 霍格沃茨魔法学校葛莱芬多学院
联系:

#3

帖子 chinesejerry » 2008-02-18 2:17

你再试一次,把命令改成setup (hd0)
Because...nobody really uses an operating system,
people use...programs...on their computer.
And the only mission in life of an operating system is to helps those programs run.
----Linus
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#4

帖子 yaoms » 2008-02-18 9:58

用grub4dos也行,自带的menu.lst有很多巧妙的搜索已安装系统的方法。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
wc_111191
帖子: 471
注册时间: 2008-02-02 23:05
来自: 天津

#5

帖子 wc_111191 » 2008-02-18 11:35

用光盘自带的WUBI可以修复已安装的Ubuntu为用XP启动菜单启动Ubuntu
intijk
帖子: 167
注册时间: 2007-09-01 23:52

#6

帖子 intijk » 2008-02-18 11:45

windows没有ubuntu那样包容
后安装xp就会冲掉grub
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#7

帖子 bones7456 » 2008-02-18 12:02

chinesejerry 写了:你再试一次,把命令改成setup (hd0)
用这个.
关注我的blog: ε==3
头像
tsinghan
帖子: 1677
注册时间: 2005-12-23 19:20

#8

帖子 tsinghan » 2008-02-18 13:48

建议重装windows 采用ghost方式安装 那就不会破坏 GRUB了
或者将MBR内容复制出来 保存为 linux.lnx 放置于C盘 通过 boot.ini 添加语句由linux.lnx 进行引导
或者vista下通过bcdedit 编辑相应内容进行引导 但是 linux.lnx 必须存在
chris2028
帖子: 24
注册时间: 2007-12-05 17:54
来自: 澳洲
联系:

#9

帖子 chris2028 » 2008-02-18 14:55

头像
新手
帖子: 461
注册时间: 2007-01-22 23:23
来自: 42 39'18.85"N,94 10'00.80"E

#10

帖子 新手 » 2008-02-18 17:38

按3楼chinesejerry提供的方法,设置成功!
非常感谢各位!
回复