ubuntu operation U disk

You can perform various operations on the U disk under ubuntu, including formatting, writing to mirroring, etc. This post summarizes the U disk operation commands.

1. Format the U disk.

First, check the U disk partition situation: df -h

You can see that the U disk partition is in /dev/sda4

Then unmount the partition: sudo umount /dev/sda4

Finally try formatting: sudo mkfs.vfat /dev/sda4

Create a U disk mount point: mkdir -p /media/firefly/myupan

Mount the U disk: sudo mount /dev/sda4 /media/firefly/myupan

Then we checked the U disk space usage again and found that the 16GU disk space is basically all available:

2. Write the system image to the U disk.

 

Guess you like

Origin blog.csdn.net/qqliuzhitong/article/details/114302520