In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to burn ISO and NRG images to DVD on the Linux command line. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
Burn .ISO image file to DVD
To burn the .iso image to DVD, we will use the growisofs tool:
# growisofs-dvd-compat-speed=4-Z / dev/dvd1=WindowsXPProfessionalSP3Original.iso
In the command line above, the "- dvd-compat" option provides maximum media compatibility with DVD-ROM/-Video. In the context of a write-once DVD+R or DVD-R, records cannot be added (disk closed).
The "- Z / dev/dvd1=filename.iso" option means that we burn .iso files to the media selected in the device menu (/ dev/dvd1).
The "- speed=N" parameter specifies the burning speed of the DVD burner, which is directly related to the ability of the driver itself. "- speed=8" will be burned at 8x, "- speed=16" at 16x, and so on. Without this parameter, growisofs will burn at the lowest speed by default, which in this case is 4x. You can choose the appropriate burning speed according to the available speed and disk type of your burner.
You can use this tutorial to find out the device name of your DVD burner and the write speed it supports.
When the burning process is complete, the disk will eject automatically.
Convert NRG image to ISO format
Because ISO is widely used, burning .iso mirroring to CD/DVD is very easy. 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 nrg2iso as a tool. It is an open source program that converts images created by Nero Burning Rom to standard .iso (ISO9660) files.
Install nrg2iso on Debian and its derivatives:
# aptitude install nrg2iso
Install nrg2iso on a Red Hat-based distribution:
# yum install nrg2iso
On CentOS/RHEL, you need to enable the Repoforge repository before installing it through yum.
After installing the nrg2iso package, use the following command to convert the .nrg image to .iso format:
# nrg2iso filename.nrg filename.iso
After the conversion is complete, an .iso file appears in the current directory:
Check the integrity of the burned media
At this point, you can check the integrity of the burned media by comparing the checksum of the burned DVD with the md5 checksum of the original .iso file. If the two are the same, you can rest assured, because the burning 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, for regular checksum comparison, the content of the .iso file is different from that of the burning media.
On the other hand, if you have burned an iso image that is not converted from a .nrg file, you can use the following command to check the integrity of the data recorded in DVD. Replace "/ dev/dvd1" with your device name.
# md5sum filename.iso; dd if=/dev/dvd1 bs=2048 count=$ (($(stat-c "% s" filename.iso) / 2048)) | md5sum
The first part of the command calculates the md5 checksum of the .iso file, while the second part reads the disk contents in / dev/dvd1 and then pipes them to the md5sum tool. "bs=2048" means that the dd command will check in 2048 byte blocks because the original iso file is divided into 2048 units.
The above is how to burn ISO and NRG images to DVD on the Linux command line. have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.