Create image files under Linux

Source: Internet
Author: User

First: How to make an ISO image:
Make the/dev/cdrom directory a mirror with the name/root/rh1.iso
Method 1:dd If=/dev/cdrom Of=/root/rh1.iso
Method 2: #cat/dev/cdrom >;/root/1.iso
Method 3:mkisofs-r-O Myiso.iso/dev/cdrom
Method 4:cp-r/home/user Name.iso
After the ISO image is generated, it can be burned with a DVD from Linux and burned to a DVD disc.

Second: How to burn VCD and DVD

Now DVD burner has become the standard PC, so we must be familiar with the burning software. Under Windows, the most famous is the number of Nero, the latest Nero9 on Amazon to sell 47.95 euros, and the installation of files more than 1G, the speed of course is also very slow, it is a mental malaise. Nero also has a Linux version, but it's also not free. So it's not worth mentioning. Linux has a lot of useful and free burning software, such as the Gnomebaker under the professional k3b,gnome under KDE and the Nautilus integrated burning function, and so on. But today is about command-line-based burning software, Cdrecord and Growisofs. The former is used to burn CDs, which can burn DVDs. The advantages of these software are, of course, ultra-small, ultra-fast, the disadvantage of course, there is no beautiful interface, but also need to manually enter some commands. It depends on how you choose. Here's the basic usage. Install them first:
debian:# apt-get Install cdrtools dvd+rw-toolsgentoo:# emerge Cdrtools dvd+rw-tools if you want to make an ISO image, you can use mkisofs:$ Mkisofs-v labelname-j-jcharset=utf8-r-o/home/yourimage.iso/home/your-data-dir plus parameter J for better compatibility with Windows; If you want to make a startup disk, You can add the parameter g, the parameter o is followed by the input file, and the parameter r is related to the file's permissions. In this way, the "/home/your-data-dir" directory was made into Yourimage.iso. To burn a CD, you need to use the Cdrecord, first find your burning device: # Cdrecord-scanbus then you will see a message similar to the following scsibus1000:
1000,0,0 100000) ' Tsstcorp ' cd/dvdw ts-h552u ' US04 ' Removablecd-rom
1000,1,0 100001) *
1000,2,0 100002) *
1000,3,0 100003) *
1000,4,0 100004) *
1000,5,0 100005) *
1000,6,0 100006) *
1000,7,0 100007) * Where 1000,0,0 is my recorder, then: # cdrecord-v-dev=1000,0,0/home/yourimage.iso plus parameter v to display the burn process. The parameter dev is followed by the burning device you just found, and the last side is the one you want to burn, so it's done. If you want to erase the disc, you can use the blank parameter: # Cdrecord Blank=type where the type of blank can be all or fast. Select all to erase the entire disc, which takes a long time. Fast for quick erase disc, just wipe out Pma,toc and pregap (do not know what these represent) burning DVD, need to use is growisofs, it is actually a front end of mkisofs, use is automatically call Mkisofs, So do not need to do before burning the ISO file: # growisofs-dvd-compat-z/dev/dvdrw-v labelname-r-j-jcharset=utf8/home/your-data-dir have found, Its parameters are essentially consistent with mkisofs. Parameter-dvd-compat will end the disc so that the disc cannot be attached (invalid for DVD-RW), this option will provide more media compatibility with the DVD-ROM drive. The parameter-Z is used for the initial burn session, which can be replaced by-M with the function of appending some data to an existing DVD-RW. Note again: In this case of DVD+RW, parameter-dvd-compat will not prevent you from adding data. This parameter is followed by a burn device, usually a/dev/dvdrw.

Create image files under Linux

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.