LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bedrock Linux (https://www.linuxquestions.org/questions/bedrock-linux-118/)
-   -   Changing to another Linux system without rebooting (https://www.linuxquestions.org/questions/bedrock-linux-118/changing-to-another-linux-system-without-rebooting-4175573374/)

worsel 02-26-2016 10:41 PM

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.

frankbell 02-26-2016 10:42 PM

As far as I know, no.

gnashley 02-27-2016 02:48 AM

kexec would let you do that.

syg00 02-27-2016 02:51 AM

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.

orbea 02-27-2016 03:09 AM

Quote:

Originally Posted by worsel (Post 5506948)
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/

Didier Spaier 02-27-2016 03:53 AM

Or you could run one of the systems in a virtual machine, if you have enough RAM.

aus9 02-27-2016 05:50 AM

why not chroot, boot distro one and chroot into distro two?

syg00 02-27-2016 07:03 AM

Probably right - especially in the time-frame mentioned.
Took the OP too literally.

slackerDude 02-27-2016 04:06 PM

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?

worsel 02-27-2016 11:38 PM

Thanks for the replies. They confirmed what I thought:
chroot or virtual machine are the only ways.

veeall 02-28-2016 07:13 AM

But isn't intel doing something like that currently with its prototype android phone - the same kernel powers both android and debian. Here.

ReaperX7 02-28-2016 09:45 AM

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.

orbea 02-28-2016 09:59 AM

Quote:

Originally Posted by worsel (Post 5507377)
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...

slackerDude 02-28-2016 07:56 PM

Quote:

Originally Posted by orbea (Post 5507481)
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?

syg00 02-28-2016 09:44 PM

Quote:

Originally Posted by slackerDude (Post 5507702)
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 .... :p


All times are GMT -5. The time now is 03:11 AM.