When we are working on a Linux system, we need to burn the image file to a DVD, so what should we do? The following small series for everyone to introduce how to burn image files from the Linux command line to the DVD, let's learn together.
The two most common image file formats are ISO (.iso is the file extension) and NRG (.nrg is the file extension). The ISO format is a global standard created by ISO (International Standards Organization) and is therefore supported by most operating systems, which provides high portability. On the other hand, the NRG format is a proprietary format developed by Nero AG, a popular disk mirroring and burning software company.
How to answer the following from the Linux command line or .nrg burn .iso image to DVD.
Burning .ISO image files to DVD
To burn .iso image files to DVD, we will use the growisofs tool:
# growisofs -dvd-compat -speed= 4 -Z /dev/dvd1=WindowsXPProfessionalSP3Original.iso
In the above command line, the “-dvd-compat” option provides maximum media compatibility with DVD-ROM/-Video. In the context of a write-once DVD+R or DVD-R, it is not possible to add a record (turning off the disk).
“-Z /dev/dvd1=filename.iso” The option means that we burn the .iso file to the media selected in the device menu (/dev/dvd1).
“-speed=N” The parameter specifies the burning speed of the DVD burner, which is directly related to the ability to drive itself. “-speed=8” will be burned in 8x, “-speed=16” will be burned in 16x, and so on. Without this parameter, growisofs will be burned by default at the lowest speed, here 4x. You can choose the right burning speed based on the available speed and disk type of your recorder.
You can use this tutorial to find out the device name of your DVD burner and the write speed it supports. After
burning process is complete, the disk will automatically pop up.
Converting NRG images to ISO format
Since ISO is widely used, burning .iso images to CD/DVD is very simple. However, to burn a .nrg image you first need to convert it to .iso format.
To convert a .nrg image file to .iso format, you can use the nrg2iso tool. It is an open source program that converts images created by Nero Burning Rom to standard .iso (ISO9660) files.
Installing nrg2iso on Debian and its derivatives:
# aptitude install nrg2iso
Installing nrg2iso on a Red Hat-based distribution:
# Yum install nrg2iso
On CentOS/RHEL, you need to enable the Repoforge repository first, then install it via yum.
After installing nrg2iso package, using the following command to convert the image to .nrg .iso format:
# nrg2iso filename.nrg filename.iso
Conversion When finished, there will be a .iso file in the current directory:
integrity
check the burn media
check on this, you can burn a DVD Compare with the md5 checksum of the original .iso file to check the integrity of the recorded media. If the two are the same, you can rest assured that the recording is successful.
However, when you use nrg2iso to convert .nrg images to .iso format, you need to understand that the size of the .iso file created by nrg2iso is not a multiple of 2048 (usually, the size of the .iso file is Its multiple). Therefore, the conventional checksum comparison is different from the content of the .iso file and the burning medium.
On the other hand, if you have already burned an .iso image that was not converted from a .nrg file, you can use the following command to check the integrity of the data recorded to the DVD. Replace “/dev/dvd1” for your device name.
# md5sum filename.iso; dd if=/dev/dvd1 bs=2048 count=$(($(stat -c “%s” filename.iso) /2048))
selinux is a Linux security subsystem, is a mandatory access control security module, then how to sh
In the Ubuntu system, in addition to starting the deb installation package through
Some users prefer to use the command line, but on the Linux system of the command l
We all know that most Linux system operations need to be completed using commands, but the commands
Linux startup sshd service error can not load host how to do?
Linux bash shell vulnerability detection and repair method
Linux cancels the cp command to overwrite the file prompt method
What should I do if Unix cannot find the apue.h file?
How to use the Linux system swap and zram swap?
Linux Logo Command Line Tool Installation and Use
Linux how to use the Xsnow command to display the snow effect on the desktop
How to use the expr command in Linux system
Linux how to use the ss command to view the socket status
Linux system disable ping command skills
Win7 batch rename file + let the system display camera icon can shoot and record
The certification for Win8.1 application will be completed within 5 days.
Xp system boot prompt page file is too small fault cause and solution
Implementing Remote Shutdown in Windows XP
Win9 technology preview version details exposure win9 new version screenshot
How does Win10 add administrator privileges to local accounts?