ubuntu格式化硬盘的方法:
打开终端,输入以下命令格式化硬盘:
sudo mkfs -t ext4 /dev/sdb
命令说明:
t ext4 表示将分区格式化成ext4文件系统类型。
当格式化成功后,系统会提示:
This filesystem will be automatically checked every 28 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.
This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.