U盘格式转换GPT格式转回DOS

当前格式


c 复制代码
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)


相关推荐
王莹月11 小时前
生图API 出问题怎么定位?给调用加 traceId 和结构化日志(nano-banana-pro)
gpt·ai·chatgpt·ai作画·aigc·agi
Tango210015 小时前
刚换到 Codex 不顺手?用 3 层配置解决 4 个常见问题
gpt·chatgpt·claude
自律懒人20 小时前
GLM-5.3 vs Fable 5 vs GPT-5.6 Sol:6 项基准横评,743B 国产编程模型的正面硬刚
gpt
兮动人2 天前
DeepSeek 把模型的“马具“开源了:拆解 Harness
gpt·deepseek·harness·dsh
王莹月3 天前
全店商品图风格怎么统一?生图API 用 nano banana pro 批量出同一套视觉
gpt·ai·chatgpt·ai作画·aigc·agi
抱抱宝3 天前
Agent-study项目教程(03):手写 Mini-ReAct Agent(不依赖框架)
javascript·人工智能·gpt·react.js·prompt·agent
抱抱宝3 天前
大模型应用开发教程08 | 构建完整 RAG 应用(Chroma/FAISS 实战)
人工智能·gpt·prompt·agent
晨航4 天前
做一张商品场景图,Nano Banana Pro、Nano Banana 2和GPT Image 2谁更能打?
人工智能·gpt·aigc