fdisk实际操作时,碰到的简单问题

本文档描述了在Linux下使用fdisk格式化磁盘时遇到的问题及解决方法,包括删除分区、创建新分区以及在不重启的情况下mkfs.ext3失败的情况。在完成fdisk操作后,系统提示需要重启以应用新的分区表,否则mkfs.ext3会因为设备繁忙而失败。重新启动后,成功创建ext3文件系统并挂载。
摘要由CSDN通过智能技术生成

linux下格式化磁盘----fdisk简单使用

 

这个文档已经说的很清楚了,但是实际操作时,还是会碰到问题的。

 

the factory default fs is vfat and for obvious reasons I wanted to
format it to ext3 (leaving a 15GB fat partition for emergency).
I proceeded the following way:
- 'sudo fdisk /dev/sdc'
- 'd' to delete the only partition
- 'n' to create the two partitions mentioned above
- 'w' to write the changes to disk
and here I got the problem, this is the message:
--------------------------------------------------------------------------------------
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: Device
or resource busy.
The kern

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值