- Download VirtualBox and install it.
- Open command prompt and type text to create raw vmdk.
>VBoxManage.exe internalcommands createrawvmdk -filename "D:\USB.vmdk" -rawdisk \\.\PhysicalDrive1 -register
Comment: PhysicalDrive#. Sharp is the position number of USB hard disk . You can find in "Computer Management" window.(Right click my computer icon. Select "Management" to open "Computer Management" window.)
output: Successful create the raw vmdk file. The output will be:
Sun VirtualBox Command Line Management Interface Version 3.1.4
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.
RAW host disk access VMDK file D:\USB.vmdk created successfully. - Start a new machine in Sun VirtualBox. Press Ctrl+S to open setting dialog. Select storage tab and change the IDE primary Master to the previous create raw vmdk file.
Reference
http://agnipulse.com/2009/07/boot-your-usb-drive-in-virtualbox/
http://gordon168.tw/?p=324
沒有留言:
張貼留言