无法删除分区
发表于 : 2010-07-28 20:41
在PC中直接安装ubuntu 10.04,现在启动的时候会进入到grub rescue .想重新安装操作系统,但是不能删除分区.
命令: fdisk -l
device start end blocks id system
/dev/sda1 1 7182 57684992 83 linux
/dev/sda2 7182 7494 2501633 5 extended
/dev/sda5 7182 7494 2501632 82 linux swap
发现sda2和sda5的开始和结束都是一样的,只有blocks数不一样,差了一个块.
删除sda5,保存时.出现以下警告.
warning:re-reading the partition table failed with error 16: device or resource busy.
the kernel still uses the old table .the new table will be used at the next reboot or after you run partprobe.
重起之后,分区表还是没有被更新.
执行partprobe命令后,又出现下列警告.
warning: partition 5 on /dev/sda could not be modified, probably because it is in use. as a result, the old partition will remain in use
until after reboot.you should reboot now before making further changes.
重起之后,分区表还是没有被更新.
感觉sda2和sda5的分区很混乱,好像重叠在一起,所以sda1,sda2和sda5同时删除再保存.重起后,还是没有变化
已经不知道怎么办好了,哪位大虾告诉在下怎么办好啊
命令: fdisk -l
device start end blocks id system
/dev/sda1 1 7182 57684992 83 linux
/dev/sda2 7182 7494 2501633 5 extended
/dev/sda5 7182 7494 2501632 82 linux swap
发现sda2和sda5的开始和结束都是一样的,只有blocks数不一样,差了一个块.
删除sda5,保存时.出现以下警告.
warning:re-reading the partition table failed with error 16: device or resource busy.
the kernel still uses the old table .the new table will be used at the next reboot or after you run partprobe.
重起之后,分区表还是没有被更新.
执行partprobe命令后,又出现下列警告.
warning: partition 5 on /dev/sda could not be modified, probably because it is in use. as a result, the old partition will remain in use
until after reboot.you should reboot now before making further changes.
重起之后,分区表还是没有被更新.
感觉sda2和sda5的分区很混乱,好像重叠在一起,所以sda1,sda2和sda5同时删除再保存.重起后,还是没有变化
已经不知道怎么办好了,哪位大虾告诉在下怎么办好啊