-
Notifications
You must be signed in to change notification settings - Fork 2
Virtualbox setup to compile android
rngadam edited this page Apr 19, 2011
·
2 revisions
-
Install Ubuntu as dual boot
-
Install VirtualBox on Windows
-
Create new VirtualBox virtual machine "ExistingPartition"
-
Run the following in a Windows "Run as Administrator" command-line:
VBoxManage internalcommands createrawvmdk -filename c:\Users\rngadam\UbuntuVirtualBox.vmdk -raw disk \.\PhysicalDrive0
-
Add new disk mapping to existing virtual machine:
VBoxManage storageattach ExistingPartition --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium c:\Users\rngadam\UbuntuVirtualBox.vmdk
Install the guest additions by mounting manually:
mkdir -p /media/dvd; mount /dev/dvd1 /media/dvd; sh /media/dvd/VBoxLinuxAdditions.run
Add your guest Linux users to group vboxfs
addgroup rngadam vboxfs
(need to re-login into X)