LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-25-2012, 11:33 AM   #1
NozeDive
LQ Newbie
 
Registered: Nov 2012
Distribution: Backtrack mostly, but also Ubuntu, Mint, Fedora/RHEL
Posts: 11

Rep: Reputation: Disabled
Question General theory and questions on running a second OS as a loop device


I'm posting in the newbie section because, even though I've been a casual user of Linux since roughly 2002, I still qualify as a newb (but hopefully not a n00b!).

I'm going to switch my laptop over to a Linux distro, (probably Mint, but I'm also going to check out OpenSUSE) that I'll dual boot with Windows. I'll only leave Windows on there for family members, I'm trying to 'take the plunge', as it were, and use only Linux.

My questions relate to loop devices. I'll have a Linux distro on my machine for casual everyday use, but for school (majoring in information systems security) I need to use Backtrack a few days a week. I'd like to be able to switch between my "daily use Linux" and Backtrack without having to reboot my computer each time. Please correct me if I am wrong, but as I understand it, I can run two instances of the same, or different, distributions of Linux at the same time.

I can accomplish this on my Android phone using a preconfigured ARM distro of Backtrack, and some scripting software that basically writes and modifies the BASH script used to create and run the loop. I then connect to it using either SSH or VNC. (for info on that, here's the code for Linux on Android via SourceForge http://sourceforge.net/p/linuxonandr...4565f520/tree/)

What I'm asking for is not a line by line process of how to do this, but for some one to kindly point me in the right direction for me to find the instructions for this on my own. Google has actually confused me a bit more than I already was on this! I'm a firm believer in the whole "teach a man to fish" thing, and believe that with a nudge in the right direction, I'll be good to go.

Also, if anyone has personal experience with running two instances of Linux on one machine at the same time via a loop device or similar, please tell me about it. DO you connect to that wtih SSH or VNC, or is there another way to do it? Did you enjoy it? Was it difficult or cumbersome? Is there a better way?

Thanks in advance for your help everyone!
 
Old 11-25-2012, 01:28 PM   #2
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
What you are searching for is linux on linux with chroot ex:http://www.linux.org/article/view/ch...current-linux-, http://en.gentoo-wiki.com/wiki/Chroot_from_a_livecd.
Another option is virtualbox.
succes.
 
1 members found this post helpful.
Old 11-25-2012, 01:36 PM   #3
NozeDive
LQ Newbie
 
Registered: Nov 2012
Distribution: Backtrack mostly, but also Ubuntu, Mint, Fedora/RHEL
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by whizje View Post
What you are searching for is linux on linux with chroot ex:http://www.linux.org/article/view/ch...current-linux-, http://en.gentoo-wiki.com/wiki/Chroot_from_a_livecd.
Another option is virtualbox.
succes.
AH! Yes! Thank you so much whizje! This is exactly what I'm looking for!

I've considered using VirtualBox for this, since I've been using it, as well as VMWare, to run virtual machines. I'm hoping that Linux on Linux will run a little smoother, but time will tell.

THANK YOU! =D

I'll check into this as soon as I'm able - probably not until Wednesday :-( - and I'll post back here about how it worked.
 
Old 12-08-2012, 11:35 AM   #4
NozeDive
LQ Newbie
 
Registered: Nov 2012
Distribution: Backtrack mostly, but also Ubuntu, Mint, Fedora/RHEL
Posts: 11

Original Poster
Rep: Reputation: Disabled
Sorry it has taken so long to get back, but I'd like to state that the advice that whizje has given me has worked! I used the links he provided, along with the instructions at http://blog.pfuender.net/archives/134 to set up a parallel Linux!

I've run into a few bugs that I have to work out, but for the most part, so far so good!

Thanks again!
 
  


Reply



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
Linux Device Drivers - From Theory to Practice? crazyjimbo Programming 4 07-27-2006 08:08 AM
Quick questions on some theory JoshR Debian 10 07-03-2005 09:24 PM
DNS theory questions iainr Linux - Networking 3 01-21-2005 11:39 AM
Setting up groups general theory plan9 Linux - General 2 06-09-2004 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 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
Open Source Consulting | Domain Registration