Dual arch install (mate arch+ KDE arch)
Hi, I have a disk partitioned with /boot, /, /home and swap where I have arch installed with mate DE. Boot manager is systemd-boot installed in /boot. I was wondering what is the best way to install a second copy of arch (to install install KDE separately from mate)? I will set a new partition for the root system but can I share the partition where /boot is or will I mess everything? I was thinking I could install grub at /boot/efi but I'm not sure if that's the best way. There's not much info about this dual arch install around.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- d8torp
24 comments
Your display manager should give you an option to select desktop environment which warrants no need to do any weird "dual install". All the graphics on your machine are just services running which interact with your machine files. Installing two won't mess up anything at all, it just means you have more packages installed and your display manager can pick which services to start when you are logging in depending on which desktop environment you want to use.
But will have a mixture of gtk and Qt apps. I fear my mate install may lose its lightning fast status.
Wait, does this actually matter? In my experience, qt and gtk are generally the same speed
Why don't you just install KDE and then select your Desktop Environment when you login ?
Most people seem to avoid installing two different DEs on same install.
Really?! What? Actually?
why would you not do that? Oo
That's a lie. I've never installed the same distro twice because of this reason or saw anyone recommend that in almost 20 years of using this OS.
Why
The real question in the Linux world is: why not?
Because it's overly complicated and completely unnecessary.
If you actually want to do this instead of the much simpler, less space consuming DE switching method.
Use a bind mount to mount different kernels/subdirectories of your EFI if you want to reuse systemd-boot, as it happens someone on the boards had the same idea: https://bbs.archlinux.org/viewtopic.php?id=249287
Thanks for the link and feedback!
Deleted before we saved it.
i think you can only use two subvolumes in a btrfs filesystem, only /home can be a partition or subvolume, and kde_system and mate_system two subvolumes configured at boot. it would work as two systems (upgrade independet), with two entries in grub and only /home shared (or not). using a /boot partition for two systems is a bad idea, because one upgrade will crash the second.
In the end there is one lesson I learnt: never ask anything about Arch Linux. Every question is plain stupid. Most Arch users spend more time blaming your intentions than helping you!!! Still many thanks for all those spending time trying to help!
No one blamed your intentions, I for one can't seem to understand why do you (or anyone for that matter) seem to think that you'd be better off installing Arch twice, just because of wanting to have 2 DEs, as if you'd get any problems from having them installed at the same time.
As I see it, you would need 5 partitions totally:
bootpartition that your BIOS boots into, with GRUB or whatever bootloader of your choice in there offering you a choice of both systems;swappartition, used by whatever your laptop is running right now;rootpartition of first system;homepartition of first system;rootpartition of second system;homepartition of second system.Although you could probably also use
homepartition for both systems, but if you really need separation, this might not be preferable as both Mate and KDE Plasma would put their configs and stuff into there.As far as I know, you could just add 2 more partitions, either with help of a second HDD or by resizing your current partitions down to make more space to put new ones in, and then install your system completely into the new 2 partitions assuming your
bootis already set up. Sure, you probably would want to install packages related to your bootloader, but, for example for GRUB, you wouldn't need to rungrub-installonto the boot partition, because the bootloader is already installed - you'd just need to refresh its configuration to give you a choice of your both OSes.Then, each of the 2 systems could have a
fstabthat mounts/boot,swapand respective/,/homepartitions, as well as/otherand/other/homepartitions to access your second system's stuff in the first one.I don't know how viable this is with
systemd-bootthough, or if that bootloader even supports giving a choice of 2 systems. Overall, I don't think it's really wise to have 2 very similar but separate systems installed on one machine just to separate desktop environments. It would be much less hassle to simply have both installed on your one system, in my opinion! I have 2 desktop environments and like 4 unrelated window managers installed on my system in total, and, despite my system weighting a ton, everything works just fine. :DSharing a boot partition like you describe between two Arch installs is going to be bad news when it comes to kernel updates.
Well thanks for the info. I always use just one /home but with different users. The only problem would be for the root user which is in fact shared, I guess.
As for the rest I believe it being difficult to have systemd-boot manage both. But once I tried a Manjaro install as a second system and it worked ok, if using grub for this second install. Otherwise it messes the /boot partition.