当前位置: 技术问答>linux和unix
引导区损坏,如何修复啊?
来源: 互联网 发布时间:2015-08-22
本文导语: 原先是redhat和win98共存,用grub引导 后来对win98的c盘用pq分区后restart,就出现引导区错误: GRUB version 0.93 (639 lower/252864k upper memory) [Minimal BASH-like line editing is supported.For the first word,TAB lists possible command c...
原先是redhat和win98共存,用grub引导
后来对win98的c盘用pq分区后restart,就出现引导区错误:
GRUB version 0.93 (639 lower/252864k upper memory)
[Minimal BASH-like line editing is supported.For the first word,TAB lists possible
command completions.Anywhere else TAB lists the possible completions of a
device/filename.]
grub>
改怎么修复啊?
后来对win98的c盘用pq分区后restart,就出现引导区错误:
GRUB version 0.93 (639 lower/252864k upper memory)
[Minimal BASH-like line editing is supported.For the first word,TAB lists possible
command completions.Anywhere else TAB lists the possible completions of a
device/filename.]
grub>
改怎么修复啊?
|
不是引导区的问题,是grub被破坏了,重装一下grub。
用光盘启动,按F5,然后再输入:linux recuse,然后进入recuse shell,再输入grub-install /dev/hda。
用光盘启动,按F5,然后再输入:linux recuse,然后进入recuse shell,再输入grub-install /dev/hda。
|
是
/mnt/sysimage/sbin/grub
分驱挂载到/mnt/sysimage了.
/mnt/sysimage/sbin/grub
分驱挂载到/mnt/sysimage了.
|
这个grub-shell本身可以修复grub,不需要启动盘
看他的命令root/setup/install 参数吧
line editing is supported.For the first word,TAB lists possible
command completions.Anywhere else TAB lists the possible completions of a
device/filename.]
grub>
看他的命令root/setup/install 参数吧
line editing is supported.For the first word,TAB lists possible
command completions.Anywhere else TAB lists the possible completions of a
device/filename.]
grub>