1, use df-h , check the current disk
[Email protected] ~/$DF-hfilesystem Size used Avail use%mounted on/DEV/SDA1 119G 79G 34G -% /None4.0K0 4.0K0%/sys/fs/Cgroupudev7.8G 12K7.8G1% /Devtmpfs1.6G1.1M 1.6G1% /Runnone5.0M 0 5.0M 0%/run/Locknone7.9G1.5M 7.9G1%/run/Shmnone 100M3.7M97M4%/run/user
2. After inserting the U-disk, use df -H to check.
[Email protected] ~/$DF-hfilesystem Size used Avail use%mounted on/DEV/SDA1 119G 79G 34G -% /None4.0K0 4.0K0%/sys/fs/Cgroupudev7.8G 12K7.8G1% /Devtmpfs1.6G1.1M 1.6G1% /Runnone5.0M 0 5.0M 0%/run/Locknone7.9G1.5M 7.9G1%/run/Shmnone 100M3.7M97M4%/run/User/dev/sdb12.0G0.0G2.0G0%/media/user/label
3, if your U disk is divided into multiple partitions, you need all umount, [email protected] ~ $ sudo umount /dev/sdb1
4. Use the DD command to write the image to the partition you just found, note: Do not write the partition number.
sudo DD if=/home/jack/ubuntu. 16.04. ISO of=/dev/sdb bs=4m
Tip: You can observe the operation at another terminal.
1 sudo kill -usr1 $ (pgrep ^DD)
Explain: Watch watch command run, kill command sends a signal,-USR1 is a DD-only signal, it receives the signal, it will show the progress of burning.
5. When the burn is finished, run:
Sync
The command is to check if the burn is complete, and when sync is over, you can safely unplug the U-disk.
Use the DD command to write the image file to the U disk under Linux