LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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

Reply
 
Search this Thread
Old 08-24-2013, 12:52 AM   #1
1sweetwater!
Member
 
Registered: Nov 2011
Location: South Central Montana USA
Distribution: Debian derivitives switched to Mint from Ubuntu but play with them all time and brain permitting...
Posts: 175

Rep: Reputation: Disabled
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
 
Old 08-24-2013, 04:15 AM   #2
Doc CPU
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 999

Rep: Reputation: 294Reputation: 294Reputation: 294
Hi there,

Quote:
Originally Posted by 1sweetwater! View Post
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?

[X] Doc CPU
 
Old 08-26-2013, 02:25 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,406

Rep: Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397Reputation: 1397
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.
 
Old 08-26-2013, 03:02 PM   #4
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,354

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
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.
 
Old 08-26-2013, 05:40 PM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,712

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
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.

http://www.dallagnese.fr/computers-i...-virtualbox-4/

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.

Last edited by yancek; 08-26-2013 at 05:44 PM.
 
Old 08-26-2013, 07:12 PM   #6
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,208
Blog Entries: 4

Rep: Reputation: 764Reputation: 764Reputation: 764Reputation: 764Reputation: 764Reputation: 764Reputation: 764
Choose a Virtual CD/DVD disk file... and point it at the ISO.

Boot the appliance and press F12 then CDRom and go.
Attached Images
File Type: png 3.png (207.2 KB, 7 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Install Linux Mint-KDE on USB stick mickeyboa Linux Mint 5 05-29-2013 08:12 PM
Linux mint 13 running well in Virtual Box future_computer Linux Mint 3 09-17-2012 08:06 PM
disable bluetooth stick in Linux for virtual box guest chewbo Linux - Virtualization and Cloud 4 06-03-2012 04:46 AM
Auto login on virtual console Mint 9 XFCE Drwfan54 Linux Mint 0 11-02-2011 12:43 AM
How do I install the drivers for my USB ports in my virtual box? natattack Linux - Newbie 8 09-22-2008 06:58 PM


All times are GMT -5. The time now is 04:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration