[SOLVED] Help mounting physical sata drive
Posted: 29. Jul 2009, 01:34
I have gotten pretty far with my research, but I have gotten stuck. I currently am running Ubuntu 9.04 64x from one hard drive, and am attempting to set up a virtual computer to boot from a second hard drive(my old one). I do not need to worry about the drivers, I have the xp installation set up with using a slipstreamed disk that stored all of the drivers on the pc. I will not be accessing the hard drive in the future except through the virtual machine.
Currently I have the code
It is returning the error "Syntax error: Invalid parameter 'GB' so I know that I am placing the wrong name for my hard disk there.
All I need to know is what I should put instead of /dev/320...
EDIT: I forgot to mention that the hardrive that I am trying to emulate is mounted at /media/disk
SOLUTION: I used the command to find the correct name of my disk and the resulting code was,
So simple and beautiful. I love it. 
THANKS!
Currently I have the code
Code: Select all
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/Machines/MYolddisk.vmdk -rawdisk /dev/320.1 GB Media -registerAll I need to know is what I should put instead of /dev/320...
EDIT: I forgot to mention that the hardrive that I am trying to emulate is mounted at /media/disk
SOLUTION: I used the
Code: Select all
sudo fdisk -lCode: Select all
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/Machines/MYolddisk.vmdk -rawdisk /dev/sdb1 -registerTHANKS!