If you don't have Disk Utility available on your Ubuntu system, you can try using the command line tools to format your system USB drive. Follow the steps below:
-
Open Terminal: On the Ubuntu desktop, press
Ctrl + Alt + T
the shortcut key, or search for and open "Terminal" in the applications menu. -
View available devices: In Terminal, run the following command to see a list of devices connected to your computer:
lsblk
This will display information for all disks and devices, including device names and mount points.
-
Unmount the U disk: If the system U disk has been mounted as a file system, you need to unmount it first for formatting. Run the following command to unmount the USB drive:
sudo umount /dev/sdX
Replace
/dev/sdX
with the device name of the system USB drive. For example, if the system USB drive is recognized as/dev/sdb
, runsudo umount /dev/sdb
. -
Format the USB drive: In the terminal, run the following command to format the system USB drive:
sudo mkfs -t 文件系统类型 /dev/sdX
Replace
文件系统类型
with the type of file system you wish to use, such asFAT32
orNTFS
. Replace/dev/sdX
with the device name of the system USB drive.For example, to format the system USB flash drive as a FAT32 file system, run
sudo mkfs -t vfat /dev/sdb
. -
Finished: When the formatting process is complete, your system USB drive will become a normal USB drive to which you can copy files and data.
Note that formatting a USB drive will delete all data on it, so make sure you have backed up important files before formatting. At the same time, please make sure to select the correct device for formatting to avoid accidental deletion of data in other devices.