DMG Extract installation files

Source: Internet
Author: User

Open the original DMG file, select the installation file, press the right mouse button, select Show Package Contents

<ignore_js_op>
Follow the path, always find INSTALLESD.DMG, double-click to open it
<ignore_js_op>

After mounting into the INSTALLESD packages directory, you will see all the installation packages, take the system basic package as an example, to extract the kernel, driver files
Choose to use the Unarchiver to open and need to install the software beforehand.

<ignore_js_op>

Unzip to a directory, open the terminal program, in my environment, for example, the path of decompression is/volumes/raid/pkg,
The resulting directory is/volumes/raid/pkg/basesystembinaries/


In the terminal:
$ sudo-s
# cd/volumes/raid/pkg/basesystembinaries/
# ls
Bom PackageInfo Payload

Where payload is the compressed package of the installation file, it is a cpio+bz2 packaging format


To unzip it, use the following command:
# mkdir Dest
# CD Dest
# Bzcat. /payload | Cpio-idm

If you want to see a list of its files
# Bzcat. /payload | Cpio-it

To extract the kernel files separately:

DMG Extract installation files

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.