Use the DD command to write the image file to the U disk under Linux

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.