只是想知道如何在debian下取消硬盘分区。
我最近分区使用
cfdisk /dev/sdb
并希望恢复我所做的。
谢谢
跑
cfdisk /dev/sdb
然后对每个分区使用命令“d”。
man cfdisk COMMANDS d Delete the current partition. This will convert the current partition into free space and merge it with any free space immediately surrounding the current partition. A partition already marked as free space or marked as unusable cannot be deleted.
dd if=/dev/zero of=/dev/sdb bs=512 count=1