U盘格式转换GPT格式转回DOS
当前格式
fdisk /dev/sdb
# 在 fdisk 提示符下,输入以下命令删除分区:
d
# 选择要删除的分区编号(如 1、2 等)
w
开始转换
[root@node-24 ~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.37.4).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The device contains 'iso9660' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
格式化
# mkfs.vfat -F 32 /dev/sdb
mkfs.fat 4.2 (2021-01-31)
原文地址:https://blog.csdn.net/weixin_42562106/article/details/138229287
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!