Changeset 36106 in vbox for trunk/doc/manual/en_US
- Timestamp:
- Feb 28, 2011 6:20:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_AdvancedTopics.xml
r36094 r36106 662 662 663 663 <para>Just like with regular disk images, this does not automatically 664 register the newly created image in the internal registry of hard 665 disks. If you want this done automatically, add 666 <code>-register</code>: <screen>VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk 667 -rawdisk /dev/sda -register</screen>After registering, you can assign 668 the newly created image to a virtual machine with e.g. <screen>VBoxManage storageattach WindowsXP --storagectl "IDE Controller" 664 attach the newly created image to a virtual machine. This can be done 665 e.g. <screen>VBoxManage storageattach WindowsXP --storagectl "IDE Controller" 669 666 --port 0 --device 0 --type hdd --medium /path/to/file.vmdk</screen>When 670 667 this is done the selected virtual machine will boot from the specified … … 745 742 MBR will be stored inside the image, not on the host disk.</para> 746 743 747 <para>For each of the above variants, you can register the resulting 748 image for immediate use in VirtualBox by adding 749 <computeroutput>-register</computeroutput> to the respective command 750 line. The image will then immediately appear in the list of registered 751 disk images. An example is<screen>VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk 752 -rawdisk /dev/sda -partitions 1,5 -relative -register</screen> which 753 creates an image referring to individual partitions, and registers it 754 when the image is successfully created.</para> 744 <para>The created image can be attached to a storage controller in 745 a VM configuration as usual.</para> 755 746 </sect3> 756 747 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.