Discussion:
Virtualbox - booting off usb
Nevyn
2010-11-28 22:07:30 UTC
Permalink
Hi,

I just thought I'd write up a few notes on how to boot from a usb disk
(despite not having usb support). I'll get this onto the wiki at some
point (when I figure out an appropriate place to put it).

Plug in usb drive, have a look at what group owns it (assuming that
the disk is going to be /dev/sdb):
ls -l /dev/sdb

Add yourself to that group (I think it's disk in Ubuntu but I can't
vouch for other distributions) -
usermod -aG disk nevyn

Create a link from the usb disk to virtualbox:
VBoxManage internalcommands createrawvmdk -filename
~/.VirtualBox/HardDisks/usbdisk.vmdk -rawdisk /dev/sdb -register
From the gui, select the vm you want to boot the usb device in and go
into settings, storage. Add a hard disk. Make sure that the hard disk
that's added is the one created above (usbdisk.vmdk).

When you boot up the machine, hit F12 and you should be able to select
your boot device (secondary ide).

Regards,
Nevyn
http://nevsramblings.blogspot.com/

_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug

Loading...