LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2013, 03:02 PM   #1
JoshQuake
LQ Newbie
 
Registered: Nov 2013
Posts: 12

Rep: Reputation: Disabled
Install Linux to USB and Work on it in Virtual Machine?


I'm new to Linux and need documentation, so is it possible to install a bootable ArchLinux OS to USB and work on it inside a virtual machine so I can still use my PC to follow instructions? I'm later wanting to be able to use it on a different PC.

EDIT: Still having issues. Read below.

Last edited by JoshQuake; 11-24-2013 at 11:43 PM.
 
Old 11-24-2013, 03:58 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can do that if you'd like or you can just install virtualbox & install & run it froń within your eberuday machine. Just google virtualbox
 
Old 11-24-2013, 04:48 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Please let us know how you solved your situation so others wil benefit from it.
 
Old 11-24-2013, 04:56 PM   #4
JoshQuake
LQ Newbie
 
Registered: Nov 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
From duplicate Thread:
Quote:
Originally Posted by 273 View Post
It is possible in VirtualBox but you've got to set up the USB drive as a raw disk as it's not really supported. I think this link explains it OK:
http://www.dallagnese.fr/computers-i...-virtualbox-4/
I've done it with some success for a similar reason to you.
Quote:
Originally Posted by JoshQuake View Post
Awesome! I'll try it out. Thanks.
The guide worked, though I'm having an unrelated issue. I installed the latest ArchLinux distro, and I used Universal USB Installer to install the OS to the USB, but there is a syslinux version mismatch. How do I correct this?
Error:
http://puu.sh/5sgEP.png

Last edited by JoshQuake; 11-24-2013 at 04:58 PM.
 
Old 11-24-2013, 05:35 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Create your virtual appliance and move it to or create it on the usb. Files are files in this case. What a virtual machine would use is a virtual filesystem which is a file or group of files.

Examples already can be downloaded usually of pre-built virtual machines.
 
Old 11-24-2013, 07:21 PM   #6
JoshQuake
LQ Newbie
 
Registered: Nov 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Create your virtual appliance and move it to or create it on the usb. Files are files in this case. What a virtual machine would use is a virtual filesystem which is a file or group of files.

Examples already can be downloaded usually of pre-built virtual machines.
I got it loading in virtualbox already, but I'm running into an unrelated problem. Universal USB Installer 1.9.5 installs an old version of syslinux (4.07) so it doesn't boot the OS. I've been looking forever but have no idea how to update syslinux to 6.x, or update the installer files so it installs syslinux 6.

EDIT1: Installed ArchLinux in a different way and got syslinux 6.02 installed. Now getting "no configuration file found".

Last edited by JoshQuake; 11-24-2013 at 07:48 PM.
 
Old 11-24-2013, 08:10 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can install from iso image to vbox vhd directly from within your OS, then clone it to usb. Then it will boot directly from grub.
You just have to let vbox know where the iso is. For example: /home/user/Downloads/Debianxxx.iso

Last edited by EDDY1; 11-24-2013 at 09:01 PM.
 
Old 11-24-2013, 11:30 PM   #8
JoshQuake
LQ Newbie
 
Registered: Nov 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Okay I thought I did it right, but since nothing I'm doing is staying after a reboot, I don't think I am. I suspect it has something to do with how my syslinux.cfg is setup. Spent so long just to have it all not save -_-. Please help

Quote:
PROMPT 0
DEFAULT arch

LABEL arch
LINUX /arch/boot/i686/vmlinuz
APPEND archisobasedir=arch archisolabel=ARCH_201311 initrd=/arch/boot/i686/archiso.img

Last edited by JoshQuake; 11-24-2013 at 11:45 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Thread. Sorry JoshQuake Linux - Newbie 3 11-24-2013 04:34 PM
Setup USB Wifi Linux (Virtual Machine) tzr916 Linux - Newbie 2 06-23-2012 12:02 AM
how to install virtual machine in linux gagandch99 Linux - Software 3 06-08-2012 11:13 AM
Linux ubuntu 11.04 does not install on my virtual machine? chanderkant Linux - Newbie 1 05-08-2011 12:48 PM
Install another distribution of Linux as a Virtual Machine in Fedora. bnsouls Ubuntu 2 08-11-2009 06:10 AM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration