一 使用linux下的磁盘管理工具fdisk
sudo fdisk /dev/sdc
使用fdisk打开你的SD卡设备名称,我的sd卡设备名称是sdc
二进入fdisk管理工具
打开后进入如下界面
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table t