Convert the DMG format file to ISO format

Source: Internet
Author: User
Keywords Mirroring nbsp; plus as name
Tags aliyun download example file files html http image

From http://www.aliyun.com/zixun/aggregation/11307.html "> official website (http://vu1tur.eu.org/tools/) Download the software to move the downloaded Perl script file to the appropriate location, for example:/usr/local/bin/

sudo mv dmg2iso.pl/usr/local/bin/

Software use

dmg2iso.pl <filename.dmg> <filename.iso>

Example

dmg2iso.pl DISC1.DMG Disc1.iso

Loading ISO image files

Create a directory as a mount point:

sudo mkdir–p/mnt/iso

Use the following mount (assuming your ISO image file is named Disk1.iso):

sudo mount-o loop disk1.iso/mnt/iso

So you can mount your ISO image files under the/mnt/iso/folder.

Loading NRG Mirror Files

NRG is actually a iso9660 image plus a fixed-length file header, so you can add the offset parameter to the mount:

Create a directory as a mount point:

sudo mkdir–p/mnt/nrg

Use the Mount command as follows:

sudo mount-o loop,offset=307200 image.nrg/mnt/nrg

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.