error 17:cannot mount selected partition
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
error 17:cannot mount selected partition
我重装了WIN
用
grub>root (hd0,3)
grub>root (hd0)
修复了GRUB
但是重启以后显示
error 17:cannot mount selected partition
怎么回事?
我的UBUNTU装在hd3下的
也通过 sudo fdisk -l查看过了 确认过了。。。。
怎么办啊?论坛里面我也找过了很多了。。。WHO CAN HELP ME????????????????????
用
grub>root (hd0,3)
grub>root (hd0)
修复了GRUB
但是重启以后显示
error 17:cannot mount selected partition
怎么回事?
我的UBUNTU装在hd3下的
也通过 sudo fdisk -l查看过了 确认过了。。。。
怎么办啊?论坛里面我也找过了很多了。。。WHO CAN HELP ME????????????????????
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
Re: error 17:cannot mount selected partition
这也叫修复了??相当于什么都没作。。hungry1526 写了: grub>root (hd0,3)
grub>root (hd0)
修复了GRUB?
应该这样:
代码: 全选
#用
grub>root (hd0,3)
grub>setup (hd0)
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
我打错了。。。
sudo grub
进入GRUB命令
然后
grub>root (hd0,3)
grub>setup (hd0)
对吧
接着终端提示successful 和done
接着我重启 发现GRUB回来了
但是点进去就出现了ERROR17
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
sudo grub
进入GRUB命令
然后
grub>root (hd0,3)
grub>setup (hd0)
对吧
接着终端提示successful 和done
接着我重启 发现GRUB回来了
但是点进去就出现了ERROR17
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
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
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?
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?
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
- milujite
- 帖子: 644
- 注册时间: 2007-01-01 22:14
- 联系:
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
sudo gedit /boot/grub/menu.lsthungry1526 写了:but how to change it?milujite 写了:完全可能。grub里算的和机器里算出来的会差个1u194252 写了:会不会是这样?
root (hd0,2) 而不是root (hd0,3)
when i attempt to change the menu.lst it say that i don't have the permission to change....
??????????
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
yaoms 写了:sudo gedit /boot/grub/menu.lsthungry1526 写了:but how to change it?milujite 写了:完全可能。grub里算的和机器里算出来的会差个1u194252 写了:会不会是这样?
root (hd0,2) 而不是root (hd0,3)
when i attempt to change the menu.lst it say that i don't have the permission to change....
??????????
can't save with live cd.
my real partition is in the another partition and sudo command cannot visit it.....
how can i~~~~?
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
hungry1526 写了:进livecd终端以后如何修改我的linux分区里的menu.lst信息?
我输入
sudo gedit /boot/grub/menu.lst
打开的是一片空白,然后保存时候提示说无法找到文件夹
就是说 根本就没有访问过menu.lst
有什么命令可以在LIVECD终端下修改别的分区的menu.lst的内容吗?
直接修改我试过了 说我不是ROOT用户无法修改
嗨,还以为你知道在哪呢。。。
menu.lst在你的硬盘上,而你使用liveCD启动后的 /分区并不是挂载的硬盘上的那个分区。。
你要改menu.lst就要先把硬盘挂载某个目录。。。。例如/mnt/ubuntu_root
然后修改 sudo gedit /mnt/ubuntu_root/boot/grub/menu.lst
。。。。。。。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
-
- 帖子: 65
- 注册时间: 2007-08-31 15:31
yaoms 写了:hungry1526 写了:进livecd终端以后如何修改我的linux分区里的menu.lst信息?
我输入
sudo gedit /boot/grub/menu.lst
打开的是一片空白,然后保存时候提示说无法找到文件夹
就是说 根本就没有访问过menu.lst
有什么命令可以在LIVECD终端下修改别的分区的menu.lst的内容吗?
直接修改我试过了 说我不是ROOT用户无法修改
嗨,还以为你知道在哪呢。。。
menu.lst在你的硬盘上,而你使用liveCD启动后的 /分区并不是挂载的硬盘上的那个分区。。
你要改menu.lst就要先把硬盘挂载某个目录。。。。例如/mnt/ubuntu_root
然后修改 sudo gedit /mnt/ubuntu_root/boot/grub/menu.lst
。。。。。。。
非常感谢!!!我的搞定了哈哈多谢阿!!!太开心了!!!