jkil 发表于 2005-10-23 01:34:48

我今天成功修复重装WINXP后消失的GRUB,分享一下:-)

基本的步骤如下:(改打E文,方便点)

1)find a linux-rescue/installation cd-rom,boot

2)enter the linux-rescue mode

3)after some tiny steps(press 'enter' all the way),you can see #sh.300 or sth like that

4)cin>>'grub'//it'll cout<<'grub>'

5)grub>root hd(x,y)//x:the hdd num; y:the target linux boot partition

if it cout<<*******x83 //caution:if it's a /, also this words

6)grub>cat (hd0,1)/grub/grub.conf//mine.it'll cout about 5 lines of a text(like M$'s boot.ini)

7)grub>kernel (hd0,1)/vmlinuz-****it'll cout<<***size,***

8)grub>initrd (hd0,1)/initrd-****.imgit'll show the steps and consequences,'succeed'

9)grub>boot

then,everything comes again, as it'd never happpened before. :-) :grin:

juliana1983 发表于 2005-10-29 01:03:03

各位大虾,我安装完linux之后(还装有winxp),每次开机都会进入操作系统选择界面,不知道怎么搞得,今天开机就进入grub引导程序了。我想请教一下怎么才能恢复以前那种情况,不至于每次都要通过输入命令吧?

npcomet 发表于 2005-10-29 12:20:54

还是在重装系统前用dd的好

npcomet 发表于 2005-10-29 12:28:28

grub>root (hd0,4)
grub>setup (hd0,4)

..............................succeed

grub>reboot


照样显示
grub>   
还是进不去??
    就没有个高手帮忙解答吗?
可能是没有找到配置文件

hailiang8857 发表于 2005-10-30 22:51:07

各位大哥
    你们的说法,我试过了,还是没有弄好
可能是小的愚笨

hailiang8857 发表于 2005-11-5 20:39:31

不能看到有问题就重装啊
至少我不会因为我是为了学习linux而不是和用windows一样用来办公学习找资料

hailiang8857 发表于 2005-11-5 21:12:16

哎呀看了一下还是找不到我的机器的解决办法
郁闷啊

dahaoren 发表于 2005-11-14 15:42:29

使用grub_for_dos从dos引导Grub
到底该怎么用,还请详细指点, grub_for_dos能在linux下下载吗? 我的win2000系统已经不能用了!!

bigbighill 发表于 2005-11-16 13:33:36

我 xp和linux安装的不同硬盘上

1、xp安装在 hda(hd0)
linux (MDV2006)安装在 hdd(hd1)

我一般安装好了以后,喜欢把在hda上安装一个 wingrub,然后在hd0 主分区 建立

boot\gurb目录,然后把建立menu.lst文件,还有一些stage文件拷贝到boo\grub目录中(我也没有尝试,是否stage文件是否是必须的)

2、以前2005的时候我直接在终端运行grub

grub> root(hd0,0)
grub> setup (hd0)
grub> reboot

当然在第2种方法之前我也是把linux系统中的boot\grub 拷贝到 hd0的第一分区的 boot\grub目录

enjoywithme 发表于 2005-11-30 15:51:17

我的盘是
hda1--主分区
hda2--扩展分区
      |
      |_hda5
      |_hda6
hda4--主分区
hda3--swap分区
我在hda4上ghost了一个windows xp,然后在hda1上安装FC4,grub被安装到了MBR,启动到windows老有问题。

天啊,HELP me啊,我得WINXP老莫名其妙启动中死掉

iamfriday 发表于 2005-12-15 15:31:07

为什么你们都重装Xp啊?我是重装了Linux!
T_T
因为那时不会用Grub引导!好不容易找到了"root ()chainloader +1",但它就是不启动!
最后才知道还要用“boot”!
T_T

qihan 发表于 2005-12-20 14:53:26

做一个GRUB启动盘就足够了,用它来重新引导启动。

leo2083 发表于 2005-12-25 15:05:31

学习一下

godsonsky 发表于 2005-12-29 10:52:11

順便問一下。。
樓主可以說一下loadin是什麽來的嗎?
是怎麽樣用的?

betatoy 发表于 2006-1-5 11:19:36

嚴重關注中
页: 1 2 3 4 5 6 [7] 8 9 10 11 12
查看完整版本: 如何在重装Windows后,使用Grub引导linux