LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-02-2006, 01:02 AM   #1
hank43
Member
 
Registered: Nov 2003
Distribution: centos 4.4
Posts: 94

Rep: Reputation: 15
install linux inside linux?


Is it possible to install linux from within a running instance of linux? in other words, say i am currently inside centos and am accessing it with ssh, can i install another linux os on an empty partition? then when i reboot, i have 2 independent operating systems.
 
Old 10-02-2006, 02:27 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well yes and no. It's not impossible, but in most cases it needs that you reboot and then boot from a media that has the installation inside; this would break your ssh connection. In order to have it working, you'd have to have the installation media on your harddrive, and use a desktop-startable installation program (like that of Ubuntu/Kubuntu/Xubuntu's) which would allow you to install the OS using a graphical window on your desktop. Then just make sure the bootloader options are fine and make it restart; the problem then would be, you couldn't get an ssh connection during the boot process, so one of the OSes would be booted depending which one was default, and if it was the new one - without sshd or configurations or normal user accounts - you couldn't login via ssh. This can be prevented by configuring the bootloader to boot the OS of your choice, and before rebooting, edit the configurations of the other Linux so that sshd is started and configure it so that you can login -- and create user accounts, of course.

So, it can be done, but using an ssh connection only it might be tricky for a beginner.
 
  


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
HOw to install linux in linux, (read inside, it's complicated) Sturm105 Linux - Distributions 23 02-28-2006 03:31 PM
Linux Inside fieldyweb Linux - General 10 07-14-2005 10:28 AM
Is this Modem Linux Inside ? jonh_doe_linux Linux - Hardware 3 03-11-2004 12:23 PM
Can yu run linux inside windows? tlewis Linux - Newbie 3 03-01-2004 11:25 PM

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

All times are GMT -5. The time now is 06:38 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