Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Run Linux Xubuntu from USB while in Windows? (Like a VM)

Oct 7, 2009 11:39AM PDT

If any of you have read my previous questions you know that I have Linux Xubuntu installed on my flash drive so I can have my own operating system wherever I go.

Well now I was wondering if their was a way I could run the OS on my flash drive in a virtual machine while on my desktop so I don't have to restart the computer? I use VirtualBox for my virtual machines but I can't find any way to do it on there, or at least not an easy way to do it.

My computer:
CPU: AMD Phenom 9950 Quad-Core at 2.6Ghz
RAM: 5GB at 800Mhz (2x 2GB OCZ, 1x 1GB Kingston)
HDD: (System)WD VelociRaptor 150GB, 10k RPM, 16MB Cache
(Cache)Deskstar, 80GB, 7.2k RPM
(Media)WD Caviar Black, 1TB, 7.2k RPM, 32MB Cache
Flash Drive: GeekSquad 8GB formatted to ext2 with Linux Xubuntu 9.04 (note this is not a LiveUSB it is installed as an actual operating system with the grub boot-loader and everything installed on the flash drive)

Figure that should be enough info but if you need more just ask.

Discussion is locked

- Collapse -
use a front end
Oct 8, 2009 8:40AM PDT

vbox or qemu+kqemu
run either with basic command of : binary -hd1 \path\to\image -m (amount of memory to be used) -soundhw (choose emulated sound card) [-cdrom \path\to\available\media drive id f you need to use such] -boot [a,c,d]

- Collapse -
Could you explain more?
Oct 8, 2009 9:50AM PDT

I also forgot to mention my computer is running Windows 7 64bit in my first post.

- Collapse -
Searched and found something to help you.
Oct 8, 2009 11:24AM PDT

TRy virtualbox and see about that. You should be able to boot from the device.

- Collapse -
I'm not exactly understanding what you're saying,
Oct 8, 2009 7:04PM PDT

I've looked through VirtualBox from top to bottom and can't find anything about booting from USB.

- Collapse -
yah
Oct 9, 2009 2:59AM PDT