Centos uses the dd command to create a USB flash drive wodim to burn the disc, centoswodim

Source: Internet
Author: User

Centos uses the dd command to create a USB flash drive wodim to burn the disc, centoswodim
Format the USB flash disk first: Use fdisk-l to view the USB flash disk to the mount point, for example,/dev/sdb1. Unmount the USB flash disk and run the format command mkfs. vfat/dev/sdb1.

Then re-mount the USB flash drive to create the boot disk

# dd if = / ntfs / linux_all / sys / CentOS-7.0-1406-x86_64-DVD.iso of = / dev / sdb
Note that it is / dev / sdb not /dev/sdb1.If the test occurs: isolinux.bin missing or corrupt error

At this time, you can open a new terminal and run the same dd command to the user: # while killall -USR1 dd; do sleep 5; done
At this time, the burning progress can be displayed in the dd command to the terminal:
3618528 + 0 records in
3618528 + 0 records out
1852686336 bytes (1.9 GB) copied, 392.471 s, 4.7 MB / s
3673141 + 0 records in
3673141 + 0 records out
1880648192 bytes (1.9 GB) copied, 397.562 s, 4.7 MB / s
3726407 + 0 records in
3726407 + 0 records out
1907920384 bytes (1.9 GB) copied, 402.54 s, 4.7 MB / s
3779793 + 0 records in






dd command:
dd is a very useful command under Linux / UNIX. Its function is to copy a file with a block of a specified size and perform the specified conversion while copying.
parameter
1.if = file name: input the file name, the default is standard input. The source file is specified. <if = inputfile>
3.ibs = bytes: read bytes bytes at a time, that is, specify a block size as bytes bytes.
obs = bytes: output bytes bytes at a time, that is, specify a block size as bytes bytes.
bs = bytes: At the same time set the block size of reading / output to bytes bytes.
4.cbs = bytes: Convert bytes bytes at a time, that is, specify the conversion buffer size.
5.skip = blocks: Skip blocks from the beginning of the input file and then start copying.
6.seek = blocks: Skip blocks blocks from the beginning of the output file and then start copying.
Note: It is usually only effective when the output file is a disk or tape, that is, it is effective when backing up to disk or tape.
7.count = blocks: only copies blocks, the block size is equal to the number of bytes specified by ibs.
8.conv = conversion: Convert the file with the specified parameters.
ascii: convert ebcdic to ascii
ebcdic: convert ascii to ebcdic
ibm: convert ascii to alternateebcdic
block: Convert each line to a length of cbs, fill in the insufficient part with spaces
unblock: Make the length of each line be cbs, fill in the insufficient part with spaces
lcase: Convert uppercase characters to lowercase characters
ucase: Convert lowercase characters to uppercase characters
swab: swap every pair of input bytes
noerror: do not stop when an error occurs
notrunc: Do not truncate the output file
sync: fill each input block to ibs bytes, and fill in the insufficient parts with NUL characters.


Use wodim to burn a disc: View the information of the optical drive:

wodim --devices
wodim: Overview of accessible drives (1 found):
-------------------------------------------------- -----------------------
 0 dev = '/ dev / scd0' rwrw--: 'HL-DT-ST' 'DVDRAM GT31N'
-------------------------------------------------- -----------------------
Perform burning
wodim -sao -v speed = 1 dev = / dev / scd0 /ntfs/linux_all/sys/CentOS-7.0-1406-x86_64-DVD.iso

-v verbose
-eject automatically eject the disc after burning
speed = 1 dev = 0,3,0: 1M speed burn to dev = / dev / scd0

How to burn CD boot disk
Under win8, right click the ISO file, there should be "burn image file" option. Just follow the prompts. If it does not work, find a burning software, such as a CD burning master, etc., and select "Burn Image File". Originally your win7ISO file is the image file of the bootable installation. If you add other things, you may not be able to start it and you cannot install it.
 
Do I need special software to burn CDs and make U disk boot disks? ?

Of course, it is a CD-ROM, as long as the CD-ROM can be installed on a computer with a CD-ROM drive. .

U disk is not necessarily driven by every computer. .
There are four kinds of booting methods for u disk, which is too complicated

When using the bootable USB flash drive, the damage to the USB drive is quite large. . .

Installing the system is even bigger. High-speed data reading and writing to the U disk for a long time, okay?

The CD is only a few cents. . . Cheap and convenient, you ca n’t burn anymore after burning, of course, it ’s safe.

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.