Skip to content

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.

0 points23 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
d8torp

Author

1
posts
10
comments
0
media
View profile

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.

9 points

But will have a mixture of gtk and Qt apps. I fear my mate install may lose its lightning fast status.

-2 points

Why don't you just install KDE and then select your Desktop Environment when you login ?

7 points

Most people seem to avoid installing two different DEs on same install.

-3 points

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.

1 points

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

6 points
unknown author

Deleted before we saved it.

3 points

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.

2 points

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!

1 points

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.

1 points

As I see it, you would need 5 partitions totally:

  • boot partition that your BIOS boots into, with GRUB or whatever bootloader of your choice in there offering you a choice of both systems;
  • swap partition, used by whatever your laptop is running right now;
  • root partition of first system;
  • home partition of first system;
  • root partition of second system;
  • home partition of second system.

Although you could probably also use home partition 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 boot is 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 run grub-install onto 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 fstab that mounts /boot, swap and respective /, /home partitions, as well as /other and /other/home partitions to access your second system's stuff in the first one.

I don't know how viable this is with systemd-boot though, 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. :D

-1 points

Sharing a boot partition like you describe between two Arch installs is going to be bad news when it comes to kernel updates.

6 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.