fedora 系统下grub修复
<p>修复的步骤如下:<br /><br />
1,cd启动盘,fedora8,或者fedora9都可以,甚至其他的有图形界面<a target="_blank" href="#" class="UBBWordLink">安装</a>的linux版本都可以的,启动后一直按照<a target="_blank" href="#" class="UBBWordLink">安装</a>的步骤进入<a target="_blank" href="#" class="UBBWordLink">安装</a>的桌 面,就是桌面上有一个文件夹,还有个计算机,还有个install的图标的桌面,这时候,你从左上角的fedora菜单栏里面,找到<a target="_blank" href="#" class="UBBWordLink">系统</a>工具,点击终端。<br />
<br />
2,终端里面如何输入请看我的输入。<br />
</p>
<center>
<table cellspacing="0" cellpadding="0" width="90%" border="0">
<tbody>
<tr>
<td><b>QUOTE:</b></td>
</tr>
</tbody>
</table>
<table style="border-right: #808080 1px solid; border-top: #808080 1px solid; border-left: #808080 1px solid; border-bottom: #808080 1px solid" cellspacing="1" cellpadding="10" width="90%" border="0">
<tbody>
<tr>
<td style="word-break: break-all" width="100%" bgcolor="#ffffff">$ grub<br />
bash: grub: command not found<br />
$ whereis grub<br />
grub: /sbin/grub /usr/share/grub /usr/share/man/man8/grub.8.gz<br />
$ su<br />
# /sbin/grub<br />
Probing devices to guess BIOS drives. This may take a long time.<br />
GNU GRUB version 0.97 (640K lower / 3072K upper memory)<br />
[ Minimal BASH-like line editing is supported. For the first word, TAB<br />
lists possible command completions. Anywhere else TAB lists the possible<br />
completions of a device/filename.]<br />
grub> root (hd0,7)<br />
root (hd0,7)<br />
Filesystem type is ext2fs, partition type 0×83<br />
grub> setup (hd0)<br />
setup (hd0)<br />
Checking if “/boot/grub/stage1″ exists… yes<br />
Checking if “/boot/grub/stage2″ exists… yes<br />
Checking if “/boot/grub/e2fs_stage1_5″ exists… yes<br />
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 23 sectors are embedded.<br />
succeeded<br />
Running “install /boot/grub/stage1 (hd0) (hd0)1+23 p (hd0,7)/boot/grub/stage2 /boot/grub/grub.conf”… succeeded<br />
Done.<br />
grub></td>
</tr>
</tbody>
</table>
</center>
<p><br />
3,解释如下,su切换到root用户,然后输入 /sbin/grub 来启动grub这样就能开始grub>,然后开始<a target="_blank" href="#" class="UBBWordLink">安装</a>grub,输入root (hd0,7),这里面root后面有一个空格不要忘记了,hd后面的数字0,还有那个7要看你自己的情况来定了。0代表的是第几块硬盘,7代表的是第几 个分区,你对于这不能很确定的话,可以点击桌面上的install图标,一直到他让你选择分区什么的东西,你可以在那里看看你的fedora是装在第几个 分区里面,我的是在第7个分区里面,然后setup (hd0)也有空格的,这个0和前面的0是必须一样的。<br />
<br />
</p>
頁:
[1]