LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2009, 02:48 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Is it possible to switch between two different Linux OS's w/ same kernel w/o reboot?


I have a laptop with a fairly low battery life, I am running slackware 12.2, and am in the process of making a second install that is completely trimmed down to remove almost everything but the web browser and a couple apps, so that I can run it from ram and shut down the hard disk to maximize battery life as much as possible. If the two slackwares run the same kernel, is there some advanced program out there that will allow me to boot into the ramdisk slackware, and if I should want to switch into a full install, wipe the first slackware off the ram and restart from the second without a full reboot?
 
Old 01-12-2009, 04:39 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
What about setting up your own runlevel ?. Just "init ?" between them in need.
 
Old 01-12-2009, 05:10 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by syg00 View Post
What about setting up your own runlevel ?. Just "init ?" between them in need.
This is the best idea.

Just using a smaller install won't give you a faster system. So I don't know what the point is.

If you want to load more or less things, that's what runlevels are for. If you want a slicker desktop, you can use a login manager to set up as many different types of sessions as you wish. If you want to load a portion of your install in ram, you can do it regardless of the runlevel you are running, hence that portion will always be "accelerated", or whatever you intended.

If you really want to implement your idea for whatever reason (I can't think of any valid one when disk space is not a constrain which is the case) then I guess you could change to runlevel 1, mount /sys /proc and /dev -obind wherever, and then chroot. That will not unload whatever is on your memory though. So your only and dubious "benefit" will be that you will have a lot more of ram wasted if you decide to enter "the big distro".

Last edited by i92guboj; 01-12-2009 at 05:12 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
Why I have to reboot my comp each and every day, after switch on SUSE 11.0 riba43 SUSE / openSUSE 18 08-27-2008 12:55 PM
SAN Volumes Go away with switch reboot nitrohuffer2001 Linux - Hardware 3 12-16-2006 09:07 PM
eth0 and eth1 switch places on reboot? slayer17 Linux - Networking 8 12-14-2005 09:33 PM
thread switch results in kernel stack switch superstition Linux - General 1 05-18-2005 12:48 AM
2 video modes, can i switch without reboot? true_atlantis Linux - Hardware 4 05-30-2004 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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