error17......如何修改MENU.LST???我的GRUB已修过 就是无法加载分区

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

error17......如何修改MENU.LST???我的GRUB已修过 就是无法加载分区

#1

帖子 hungry1526 » 2007-12-18 23:52

我重装了WIN
修复了GRUB
然后重启显示:error17 cannot mount selected partition


根据论坛提示我进了LIVE CD的终端
在/boot/grub下寻找grub.conf 发现没有 然后在多方寻找 还是没有?
怎么办啊我快绝望了
上次由 hungry1526 在 2007-12-19 18:02,总共编辑 1 次。
头像
gwtang
帖子: 222
注册时间: 2007-05-11 8:55

#2

帖子 gwtang » 2007-12-19 0:33

要知道你的整个硬盘安装情况才能对症下药,首先是多硬盘还是一个硬盘,然后就是看你的grub是安装在哪里的,依你的情况看你的menu.lst配置错误。
头像
晶晶守护神
帖子: 705
注册时间: 2007-12-02 14:09

#3

帖子 晶晶守护神 » 2007-12-19 0:38

grub.conf = menu.conf
悟以往之不鉴,知来者之可追
识迷途其未远 觉今是而昨非
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31

#4

帖子 hungry1526 » 2007-12-19 10:17

噢。。谢谢!啊
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



这个是我的MENU LIST信息
有什么错误吗?
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31

#5

帖子 hungry1526 » 2007-12-19 10:42

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6e6b6e6b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1416 11373988+ c W95 FAT32 (LBA)
/dev/sda2 1417 8694 58460535 f W95 Ext'd (LBA)
/dev/sda3 8695 8756 498015 82 Linux swap / Solaris
/dev/sda4 8757 9729 7815622+ 83 Linux
/dev/sda5 1417 6144 37977628+ 7 HPFS/NTFS
/dev/sda6 6145 8694 20482843+ 7 HPFS/NTFS



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


grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xc
Partition num: 2, Filesystem type unknown, partition type 0x82
Partition num: 3, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x7
Partition num: 5, Filesystem type unknown, partition type 0x7

grub> root (hd0,3)

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,3)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub>

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


## ## 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

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


thank you very much and quite appreciate your help!

these are my all configurations and i restart again,error 17 still remains~~~~~

how can i find the lost ubuntu?
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31

#6

帖子 hungry1526 » 2007-12-19 13:10

ding!!!!!!!!!!!!!!!!!!
help!!!!!!!!!!!!!!!!!!
sos!!!!!!!!!!!!!!!!!!!
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31

#7

帖子 hungry1526 » 2007-12-19 18:03

root (hd0,2)


是把2改为3吗?

谁能回答我一下
sudo gedit /boot/grub/menu.lst

?的

然后怎么在LIVECD下修改别的分区的menu.lst呢?直接访问修改不行啊。。。
头像
u194252
帖子: 402
注册时间: 2007-08-04 11:06

#8

帖子 u194252 » 2007-12-21 16:24

帮顶
图片
hungry1526
帖子: 65
注册时间: 2007-08-31 15:31

#9

帖子 hungry1526 » 2007-12-22 13:49

hungry1526 写了:root (hd0,2)


是把2改为3吗?

谁能回答我一下
sudo gedit /boot/grub/menu.lst

?的

然后怎么在LIVECD下修改别的分区的menu.lst呢?直接访问修改不行啊。。。


谢谢啊!我的问题已经解决了 是把 2改为3就OK了
ERROR17的问题果然是和menu.lst密切相关的
网上更新了下 看见对GRUB也做了下修改然后重启就又出现ERROR17了
和前面一样 进了menu.lst修改回来就又OK了

希望给有同样困惑的朋友一个借鉴!
回复