[求助]fdisk 不成功

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

[求助]fdisk 不成功

#1

帖子 marathoner » 2008-11-13 20:39

fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 19 152586 83 Linux
/dev/sdb2 20 32 104422+ 83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: 设备或资源忙.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.


然后
partprobe
Warning: Unable to open /dev/hda read-write (Read-only file system). /dev/hda has been opened read-only.


这是啥原因阿?

请指教~
marathoner
帖子: 68
注册时间: 2007-12-20 10:37

Re: [求助]fdisk 不成功

#2

帖子 marathoner » 2008-11-13 21:29

原来是因为/dev/sdb1,已经被mount过了,umount /dev/sdb1后,就可以fdisk了。 :em06
回复