Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K 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》 root (hd0 , 0) //首先find /grub/stage1查看/boot分区为(hd0 , 0)
root (hd0 , 0)//设置/boot分区为/dev/sda1
Filesystem type is ext2fs , partition type 0x83
grub》 setup (hd0)//重新安装grub
setup (hd0)
Checking if “/boot/grub/stage1” exists. 。。no
Checking if “/grub/stage1” exists. 。。yes
Checking if “/grub/stage2” exists. 。。yes
Checking if “/grub/e2fs_stage1_5” exists. 。。yes
Running “embed /grub/e2fs_stage1_5 (hd0)” 。。。26 sectors are embedded.
succeeded
Running “install /grub/stage1 (hd0) (hd0)1+26 p (hd0 , 0)/grub/stage2 /grub/grub.conf” 。。。succeeded
Done.
grub》 quit//退出
上一页12下一页 剩下全文
推荐阅读
- Linux SecureCRT上传和下载文件的技巧
- 古代中举的榜单怎么说
- Linux配置SSH服务的方法
- CentOS系统Lighttpd安装技巧
- Linux系统chmod命令的含义和权限是什么?
- 雄安站的特色亮点有哪些
- 太和殿的主要用途
- 自己家的灌肠一般要蒸多久
- 荷花中间的线是干什么的
- 坩埚的材质