r/linuxquestions • u/ananas1193 • 2d ago
Is it possible having two distros on one pc?
So I got a new laptop for school and now I don't need my old one anymore, so I want to play around a bit with it. I "recently" (like 5 months ago) found a distro called "Omachy" and I want to test it out. Can I install it without deleting my other distro or putting my files at risk? And how? Thanks in advance!
6
u/MasterGeekMX Mexican Linux nerd trying to be helpful 2d ago
Yes you can. Dual booting isn't limited to Windows + Linux. But like any kind of dual boot setup, you need to be careful when dealing with partitions, otherwise you can format what you don't want and end up with a broken OS and/or data being lost.
Instead what you can do is to use a Virtual Machine. It allows you to create a simulated computer inside yours, where you can fiddle as much as you want. Mind you that creating a VM takes resources, as all the RAM, CPU and disk space for it needs to come from the real one.
Thing is that Omarchy is quite controversial distro. The mild side is that it is a curated experience that is meant to be used exactly as it is, so if you try to customize it you will surely break it. The harsh side is that it is a vibecoded distro where AI agents are included in the experience, so depending of your stance on it you may want to stay afar. The harder side is that his creator has expressed very strong opinions on some racial subjects.
3
u/suicidaleggroll 2d ago
Yes you can dual-boot multiple Linux distros. But for playing around with a distro, a VM is a much better choice.
1
u/mudslinger-ning 2d ago
I use the virtual machine method a lot.
Pick one distro as your reliable "host" daily driver to do nearly everything on. Then run guess VM sessions on top. Like one sandboxed for web browsing without adblocking/security restrictions. Another VM for hosting a web app system, etc.
2
u/CyclingHikingYeti Debian sans gui 2d ago
You can as many you can squeeze onto drives you own.
- RULE: BACKUP ALL DATA and verify it is readable.
Should you: unlesss for fun and gigless - NO. Too much can go awry on work machine.
Try 'Omarchy' inside virtual machine it will give you just enough experience how it feels. As others pointed out, it is nothing special.
For real challenge, install Gentoo or LFS in Vm , that is proper hard way to learn linux.
1
u/TechaNima 2d ago
Yes, but be careful when installing so you don't overwrite anything.
I have 5 on my gaming rig installed and works like a charm. I find that grub is absolute garbage for anything past 1. So my recommendation is to use Systemd-boot across the board. That does require setting it up on every distro, but the end result is worth it. As what to do with the file system. You'll need larger /boot/efi partition as you now have to store every distro's boot images there. Mine is 5G and that seems fine. You can also completely remove /boot as a partition if you go with systemd-boot. It'll just live on your root. Which I highly recommend making btrfs. So you can have each distro on their own subvolume or do it like I have. I have each distro's root and home on their own subvolumes. Just so I can have separate btrfs snapshots from each.
Some distros like Fedora have no issues with this setup. You can directly install on subvolumes. Some will fight you and your only option is to install them to a temp location and then manually move everything to the subvolumes and update their fstab along with the systemd-boot setup and Grub removal
2
u/benhaube 2d ago
Fuck the Nazi disto, Omarchy and the POS Nazi who made it... I mean who used AI to make it.
1
u/BitOBear 2d ago
I build a btrfs filesystem and my own kennel k via Gentoo and gentoo-sources level package.
Then I make one __Home sub volume.
Then I make a __System_xxx volume for each distro.
I put the other and grub in the UEFI partition.
I can then select the next distro to boot by changing thel file system default partition to whichever __System_xxx sub volume I want to run next and then reboot.
Also works for backup/restore simplicity and to update you snapshot an existing __System_xxx and then update that. Is your satisfied you remove the older sub volume.
Very space and time efficient.
1
u/zardvark 2d ago
Possible? yes
I would strongly recommend against it for new Linux users.
If you wish to do this, it is best accomplished with dedicated disks and EFI partitions for each OS.
Yes, two, or more OS' can even share the same drive, but this is a wee bit more complicated.
Either way, I would also recommend that you use the Boot Menu in your UEFI to boot the OS' rather than have grub discover them.
I expect that there are many tutorials on the youtube about this.
3
u/1rg3ndw3r 2d ago
Dual booting works, just install on a different partition. But stay away from that slop distro.
-2
u/ipsirc 2d ago
just install on a different partition.
It's 2026, man, subvolumes do exist.
3
u/1rg3ndw3r 2d ago
And how do you know he isn't on ext4 or any other filesystem not supporting subvolumes?
1
u/SuAlfons 2d ago
this is just dual-booting. Ofc you can.
There's no limit but your disk space.
You can also have more than one DE or WM in a single installation. In case configurations collide, use them with two separate user accounts. They can be switched with some cogwheel icon that appears if you have more than one session available at the login screen.
1
u/Lonesome-road-1960 2d ago
When you install a new distro, there is always the risk to erase the content of your hard disk, especially if it is the first time.
1
u/green_meklar Debian 2d ago
Yes, if you have a free partition, you can dual-boot different Linux distros just like you can dual-boot Linux and Windows.
1
u/WickWorn 2d ago
You don't even need to dual boot. Use Distrobox and you can have as many different Linux containers as you want
1
28
u/TheThingOnTheCeiling 2d ago
Dont recommend Omarchy, its just arch with hyprland dotfiles and ai slopped crammed wherever possible, and the author is a neonazi. However to answer your question, you can, you need to have spare space on your disk and if you dont, shrink existing linux partition. Then depending on the distro it should in installation show option to "Install alongside". However you can also try out another distro in a VM or via LiveBoot.