LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 02-26-2016, 10:41 PM   #1
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2
Posts: 121

Rep: Reputation: 29
Changing to another Linux system without rebooting


Is it possible to "boot" to another system, say from Slackware to Ubuntu, without going
through a complete system reboot?

I seem to remember something about this from 17 or 18 years ago, but it's too vague to
recall.
 
Old 02-26-2016, 10:42 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,015
Blog Entries: 13

Rep: Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028Reputation: 3028
As far as I know, no.
 
Old 02-27-2016, 02:48 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,853

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
kexec would let you do that.
 
Old 02-27-2016, 02:51 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,411

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
No, kexec allows you to re-boot a different kernel.

The OP is potentially talking of changing from (for example) a SYSV init to a systemd based system. That would be interesting.
 
Old 02-27-2016, 03:09 AM   #5
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 619

Rep: Reputation: Disabled
Quote:
Originally Posted by worsel View Post
Is it possible to "boot" to another system, say from Slackware to Ubuntu, without going
through a complete system reboot?
You could always skip the need to boot into another system and just run bedrock linux where you could do more than one distro at once as if it were just one system.

http://bedrocklinux.org/
 
1 members found this post helpful.
Old 02-27-2016, 03:53 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,331

Rep: Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359Reputation: 2359
Or you could run one of the systems in a virtual machine, if you have enough RAM.
 
Old 02-27-2016, 05:50 AM   #7
aus9
LQ Guru
 
Registered: Oct 2003
Distribution: Fedora 25 Gnome (Wayland)
Posts: 5,132

Rep: Reputation: Disabled
why not chroot, boot distro one and chroot into distro two?
 
Old 02-27-2016, 07:03 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,411

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
Probably right - especially in the time-frame mentioned.
Took the OP too literally.
 
Old 02-27-2016, 04:06 PM   #9
slackerDude
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Rep: Reputation: Disabled
Maybe he's thinking of dosexec or dosboot or something that I used back in the early 90s to boot a linux kernel from a dos command prompt?
 
Old 02-27-2016, 11:38 PM   #10
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2
Posts: 121

Original Poster
Rep: Reputation: 29
Thanks for the replies. They confirmed what I thought:
chroot or virtual machine are the only ways.
 
Old 02-28-2016, 07:13 AM   #11
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 258

Rep: Reputation: 43
But isn't intel doing something like that currently with its prototype android phone - the same kernel powers both android and debian. Here.
 
Old 02-28-2016, 09:45 AM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,390
Blog Entries: 15

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
It still reloading the entire OS kernel space and userland for each kernel tool set. Android is based on Linux, but technically, it's not the same userland and each system handles the kernel and drivers differently. All this does is use a hypervisor to unload the userland and then reload the kernel without actually powering down the phone to reload the entire firmware image.
 
Old 02-28-2016, 09:59 AM   #13
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 619

Rep: Reputation: Disabled
Quote:
Originally Posted by worsel View Post
Thanks for the replies. They confirmed what I thought:
chroot or virtual machine are the only ways.
At the risk of repeating myself, there is still bedrock...
 
Old 02-28-2016, 07:56 PM   #14
slackerDude
LQ Newbie
 
Registered: Jan 2016
Posts: 27

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
At the risk of repeating myself, there is still bedrock...
It does sound interesting. However, a quick perusal also seems like it might be more trouble than it's worth, and feel a little schizophrenic - you're never sure what distribution you're in... Also seems maybe not yet ready for prime-time?

Have you used it? Anyone else? Comments?
 
Old 02-28-2016, 09:44 PM   #15
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,411

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
Quote:
Originally Posted by slackerDude View Post
Have you used it?
I was about to ask the same.
I looked at it some time back, but don't recall ever getting to the stage of actually installing it. It appealed to me in that I always have several (stand-alone) disparate systems. But there is potentially a lot of setup - and scope for confusion. But it happens I have a laptop now available that may serve as an appropriate sacrificial lamb ....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rebooting linux but not system startup! massy Linux - General 1 08-13-2014 08:07 AM
Linux system Rebooting Loop juna11 Linux - General 1 04-23-2013 01:03 PM
Problem in Rebooting linux system from a web page amit_1 Linux - Software 19 05-14-2012 02:41 AM
Changing without rebooting coolb Linux - General 3 07-14-2006 10:12 AM


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