LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 01: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, 03:39 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
What about setting up your own runlevel ?. Just "init ?" between them in need.
 
Old 01-12-2009, 04: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 04: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 11:55 AM
SAN Volumes Go away with switch reboot nitrohuffer2001 Linux - Hardware 3 12-16-2006 08:07 PM
eth0 and eth1 switch places on reboot? slayer17 Linux - Networking 8 12-14-2005 08:33 PM
thread switch results in kernel stack switch superstition Linux - General 1 05-17-2005 11:48 PM
2 video modes, can i switch without reboot? true_atlantis Linux - Hardware 4 05-30-2004 02:00 PM

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

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

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