Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on Dual booting without rebooting

Post

Dual booting without rebooting

+1
−0

Suppose you have two Linux distributions installed in a dual boot situation.

One issue that can happen is when you need to frequently switch. Rebooting is disruptive if you have a bunch of things going on. You also can't copy/paste or move things between them in a second. Yes, you can mount the other distro's drive and access its files through a terminal, but that is not as convenient as running its programs.

Is there a way to run your one of your dual-booted distros from "inside" the other, without having to reboot?

The closest thing I know is to do a chroot into the other distro, for example. However, this has some issues: GUI programs are tricky and I'm not sure if the chroot is safe for everyday use.

I'm not asking for VMs. Part of the goal here is to explore how each distro interacts with my hardware. VMs hide that by creating generic virtual devices.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Theoretically/technically impossible without VMs (3 comments)
Theoretically/technically impossible without VMs
Andreas witnessed the end of the world today‭ wrote 5 months ago · edited 5 months ago

As Linux distributions are entire operating systems, you cannot run them side by side on the same hardware; the OS takes control of the hardware, and the hardware requires this type of software to distribute its resources. So the only way to do it is by either running the distro B in a VM on A, or use another operating system specifically designed to run other OSes side by side on top of it. This will necessarily be in VMs, though. I think there’s a Linux distribution built for this (in the name of security), but I can’t remember the name. I could post this as an answer, but the question seems like an XY problem to me; what you actually want to accomplish, is running only parts of distro B in distro A, natively. That I assume would exclude B’s kernel?

Andreas witnessed the end of the world today‭ wrote 5 months ago · edited 5 months ago

If I’m correct in my assumption about the question, would it be a good idea to split this question into two questions, one asking to literally run two OSes on the same hardware as equal entities (has to be a beginner question) and one for running specific parts of one distro inside another distro (advanced question)?

Andreas witnessed the end of the world today‭ wrote 5 months ago · edited 5 months ago

I guess this is a rather related question over at SE: https://superuser.com/q/333297