LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: zaiwen

TS grub.conf missing: reboot directly from grub command console?

[复制链接]
 楼主| 发表于 2005-10-9 05:42:49 | 显示全部楼层
Thanks for the input.

Anyway I have tried to erase MBR by fdisk, and then install grub. It is back to normal

Use dos boot disk and run:
fdisk /mbr

Then reboot machine and got error
missing operation system

Use linux boot disk to enter rescue mod, run
chroot /mnt/sysimage
grub-install /dev/hda1
回复 支持 反对

使用道具 举报

发表于 2005-10-9 14:15:56 | 显示全部楼层
Post by zaiwen
Thanks for the input.

Anyway I have tried to erase MBR by fdisk, and then install grub. It is back to normal

Use dos boot disk and run:
fdisk /mbr

Then reboot machine and got error
missing operation system

Use linux boot disk to enter rescue mod, run
chroot /mnt/sysimage
grub-install /dev/hda1

Should be grub-install /dev/hda (not hda1) cause you install boot-loader to the MBR of that disk not the first partition.
回复 支持 反对

使用道具 举报

发表于 2005-10-10 09:59:43 | 显示全部楼层
hehe ,zaiwen is actually a diligent man
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表