1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE topic
|
---|
3 | PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
4 | <topic xml:lang="en-us" id="vboximg-mount-steps">
|
---|
5 | <title>Mounting a Virtual Disk Image</title>
|
---|
6 |
|
---|
7 | <body>
|
---|
8 | <p>
|
---|
9 | The following steps show how to use the
|
---|
10 | <userinput>vboximg-mount</userinput> command to mount a partition of
|
---|
11 | a virtual disk image on the host OS.
|
---|
12 | </p>
|
---|
13 | <ol>
|
---|
14 | <li>
|
---|
15 | <p>
|
---|
16 | Create a mount point on the host OS. For example:
|
---|
17 | </p>
|
---|
18 | <pre xml:space="preserve">$ mkdir macos_sysdisk</pre>
|
---|
19 | </li>
|
---|
20 | <li>
|
---|
21 | <p>
|
---|
22 | Show partition information about the virtual disk image.
|
---|
23 | </p>
|
---|
24 | <pre xml:space="preserve">$ vboximg-mount --image=<varname>uuid</varname> --list</pre>
|
---|
25 | <p>
|
---|
26 | where <varname>uuid</varname> is the UUID of the
|
---|
27 | disk image.
|
---|
28 | </p>
|
---|
29 | </li>
|
---|
30 | <li>
|
---|
31 | <p>
|
---|
32 | Use <userinput>vboximg-mount</userinput> to perform a FUSE mount
|
---|
33 | of a partition on the virtual disk image. For example:
|
---|
34 | </p>
|
---|
35 | <pre xml:space="preserve">$ vboximg-mount --image=<varname>uuid</varname> -p 2 macos_sysdisk</pre>
|
---|
36 | <p>
|
---|
37 | where <varname>uuid</varname> is the UUID for the
|
---|
38 | disk image.
|
---|
39 | </p>
|
---|
40 | <p>
|
---|
41 | In this example, partition 2 is mounted on the
|
---|
42 | <filepath>macos_sysdisk</filepath> mount point. The mount
|
---|
43 | includes all snapshots for the disk image.
|
---|
44 | </p>
|
---|
45 | </li>
|
---|
46 | <li>
|
---|
47 | <p>
|
---|
48 | Use the host OS to mount the <codeph>vhdd</codeph> device
|
---|
49 | node. The FUSE-mounted device node represents the virtual
|
---|
50 | disk image.
|
---|
51 | </p>
|
---|
52 | <pre xml:space="preserve">$ ls macos_sysdisk
|
---|
53 | macOS High Sierra 10.13.vdi vhdd
|
---|
54 | $ sudo mount macos_sysdisk/vhdd /mnt</pre>
|
---|
55 | </li>
|
---|
56 | </ol>
|
---|
57 | </body>
|
---|
58 |
|
---|
59 | </topic>
|
---|