online sos (grub recovery)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31

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
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#2

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

注意空格!!

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