Re: Boot an existing XP (Physical HD) install with VirtualBox
Originally Posted by
eZtaR
I get the following error
Code:
eztar@eztar-laptop:~$ VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/WindowsXP.vmdk -rawdisk /dev/sda1 -partitions 2 -mbr ~/.VirtualBox/WindowsXP.mbr -relative -register
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
ERROR: VMDK: cannot go backwards for partition data in '/home/eztar/.VirtualBox/WindowsXP.vmdk'
Error code VERR_INVALID_PARAMETER at /home/vbox/vbox-1.6.2/src/VBox/Devices/Storage/VmdkHDDCore.cpp(2527) in function int vmdkCreateRawImage(VMDKIMAGE*, VBOXHDDRAW*, uint64_t)
Error while creating the raw disk VMDK: VERR_INVALID_PARAMETER
eZtaR, you received the error message because you typed in /dev/sda1 rather than /dev/sda which basically means you asked for the second partition in the first partition of your Hard drive! To change which partition you use, do it in the "-partitions" option.
Focus on how it can be rather than how it could've been.
Bookmarks