Virtualize a USB stick

This is for discussing general topics about how to use VirtualBox.
Post Reply
kristion
Posts: 1
Joined: 10. Jan 2011, 12:50
Primary OS: Mac OS X Leopard
VBox Version: OSE Mandriva
Guest OSses: win xp pro

Virtualize a USB stick

Post by kristion »

Hi there,
Big up for VirtualBox, it is so easy to setup and so very fast... I am amazed.
My question:
I have a USB stick with a bootable linux on it. I'd like to have a virtual disk of it on which to boot in VirtualBox, how do I do that? Thanks for advice.
(BTW, I tried installing "plop" to boot on the stick with VB and just succeeded in not being to be able to boot my linuxbox any longer)
I have as well a working bootable CD-ROM of the same linux config, which works nicely with VB, but then I can not save configs from one boot to the next.

To sum it up: I'd be happy to copy this linux config onto a virtual drive and boot on it.

Thanks, regards, Ch.M. (1st post)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Virtualize a USB stick

Post by mpack »

Basic procedure, may need to be tailored: use disk imaging app similar to dd to create a raw image of your USB stick. Then use "VBoxManage convertfromraw" to convert this to a VDI file. Create a new VM around the VDI.
Post Reply