[SOLVED] Is it possible to install Mint xfce to virtual box from USB stick?
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian derivitives switched to Mint from Ubuntu but play with them all time and brain permitting...
Posts: 252
Rep:
Is it possible to install Mint xfce to virtual box from USB stick?
I ran out of DVDs and am tring to figger out how to install Mint 15 XFCE in Virual Box using a USB flash drive. Aint found it on the net yet so here I iz.
Just doesn't seem possible in my mind.
Rig: Gigabyte MB with A4 3300 & 8gb pc1300 1tb hard drive and dvd burner.....Thanx %)SW
I ran out of DVDs and am tring to figger out how to install Mint 15 XFCE in Virual Box using a USB flash drive. Aint found it on the net yet so here I iz.
Just doesn't seem possible in my mind.
if you've got a bootable USB, you must've created it somehow, so I assume you have the ISO image file somewhere.
So ... why not simply mount that ISO in VirtualBox?
Virtual machines have a way to simply use an ISO file as Doc CPU points out. You download some iso image and use it like you'd use a normal real cd/dvd.
I guess it could be possible to boot from a usb device or maybe even a shared folder in a VM. It would not be easy for a newbie.
Some iso's are actually hybrid and can be mounted like a normal virtual disk but still complex.
I'd also suggest that you consider a pre-made virtual system. Some distro's offer them and as well as some other sites.
There are also bootable floppies for many distro's still and network boot media.
Doing some odd tricks like grub4dos or such to boot to an ISO directly may also work. All of it is complex.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
As has been pointed out if you have a .iso file then your easiest solution is to boot the VM from that -- there's no need to burn to a real drive when you're using .iso files with VirtualBox.
You can, however, boot from USB in VirtualBox by creating a virtual hard drive pointing at the real USB stick -- I can't find the Linux instructions I found but the principal is given here in this Windows example: http://www.pendrivelinux.com/boot-a-...in-virtualbox/
I found it good for playing with a real instance of Puppy that I wanted to use with persistence in real machines and the VM.
I did this earlier today using the suggestions at the link below. It has instructions for windows and Linux. It didn't work as easily as it was supposed to and unfortunately, I didn't keep good notes. One thing to be careful of is to make sure you get the right drive, in the example it is /dev/sdb which may not be the case. I had to run the command as root even though it was created in a /home/user directory. Also I was not able to access the usb.vmdk file in VBox which was in the .VirtualBox directory. There is a link on that page to the source where the person who wrote it obtained the info for an earlier version of VBox.
As stated above, if you just want to install one distribution, it is a lot easier to just boot the iso file. If you have a number of distributions on a flash drive, this method would work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.