Create linux system disks (optical disks and USB flash disks) in linux
Cdrecord
First, cdrecord-scanbus outputs the device list and ID (my current time is 5, 0, 0)
Then use cdrecord-v dev = 5, 0, 0-eject ubuntu-16.04.2-desktop-amd64.iso to burn, during which it is best not to change the computer and other disc pop-up (supplemental learning recorder ).
OK!
The parameters are as follows:
-V outputs as much verification information as possible
-After the eject is burned, the disc is displayed.
Speed = 8 specifies the speed of the recorder (generally -- speed is not required, because cdrecord automatically detects the optimal burning speed)
Dev = 5, 0, 0 (or/dev/cdwriter) Burn the device (you can view it under/dev)
Driveropts = burnfree enable burn protection technology that prevents Cache Usage
Use mkiso and cdrecord to burn data files to the disc (the data file cannot be engraved once it is burned. If you see it, please help me solve it)
Dd: Create a USB flash drive
First use sudo fdisk-l or df to find the U disk file, sdb1
Detach a USB flash drive,Umount/dev/sdb1 or sudo eject/media/lixn/Fedora-WS-Live-24-1-2/(ubuntu default mount point/media/lixn/, fedora default mount point/run/media/lixn /)
Dd: dd if =/dev/mmcblk0 of =/dev/sda bs = 1024
Bs = 1 M is the block size. The value behind the block is large, and the write speed is relatively small, but it is not infinite. Someone should choose 2 M, 4 M. Note: After executing the command, waiting for firing. Press enter to exit the dd command before you can safely remove it.
After dd, the size of the USB flash disk is only as large as that of the iso file and needs to be formatted. (Dd does not know what will happen in the USB flash drive partition)
The parameters are as follows:
If = input file
Of = output file
Bs = bytes: At the same time, set the size of the read/output block to bytes (ibs = bytes: one read to bytes at a time, that is, specify a block size to bytes, obs = bytes: bytes are output at a time)
I don't know what other parameters are, but I think it should be nice by default.
Note: There is no problem in using UltraISO to create windows and ubuntu system CDs and USB flash disks under win, but sometimes the production of fedora is not guided. The fedora official website has a burning tool under win, however, my computer cannot be installed. If the Red Hat and centos are used, it seems that there is no problem with UltralSO.
Similarly, to create a winows System in linux, you must first write a command to guide the system, and then dd. (Cdrecord has not been tried)