LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, Slackware-from-Scratch
Posts: 241

Rep: Reputation: 45
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, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
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,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

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-15.0
Posts: 11,056

Rep: Reputation: Disabled
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 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

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: 21,120

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

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, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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: 298

Rep: Reputation: 56
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-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

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
Member
 
Registered: Jan 2016
Posts: 157

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: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

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