online sos (grub recovery)

重复贴和参考价值不大的帖子,版主维护
回复
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31
送出感谢: 0
接收感谢: 0
联系:

online sos (grub recovery)

#1

帖子 hungry1526 » 2007-12-17 17:58

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

Error 27: Unrecognized command

or/////////////////////////////////////////////////////////


grub> root(hd0,2)

Error 27: Unrecognized command

grub> setup(hd0)

Error 27: Unrecognized command



/////////////////////////////////////////////////////////////////////////////////////


my menu.lst is as follows:

/////////////////////////////////////////////////////////////////////////////////////
## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d7d6abb1-b26c-4c9f-bf2d-d1fb368bef8a ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=d7d6abb1-b26c-4c9f-bf2d-d1fb368bef8a ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
头像
yaoms
帖子: 4953
注册时间: 2007-10-19 14:51
来自: 深圳
送出感谢: 0
接收感谢: 2 次

#2

帖子 yaoms » 2007-12-17 20:26

注意空格!!

root (hd0,2) 和 setup (hd0,2) 之间有空格的。
---^-----------^
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
回复

回到 “归档贴”