It is said “A man’s home is his castle” … but can you share your Home in Linux with 3 or 4 other Distros, and with those – even with ones from different families?
What advantages are there to be gained from doing so, if any?
What disadvantages?
BACKGROUND
Well Known Member and friend @CptCharis had a Thread here https://linux.org/threads/i3-wm-distros-are-not-booting-as-live-usb.25777/ , in which, near its conclusion he asked
Well, multibooting is my specialty, but like Stan @atanere
Nor had I.
Now, I have, and I will share with you.
TEST ENVIRONMENT
My main rig (have 3 others) is in the garage. It is a Dell Inspiron 5770 laptop, with a 2 TB HDD /dev/sda, and a 256 GB SSD /dev/sdb. It is added to by a 4TB Western Digital mains-powered USB-connected HDD /dev/sdc.
Specifications are as shown in the Spoiler.
Prior to starting this exercise around 11/11, I had on the Dell
During the course of this exercise,
There, I said
FORM A PLAN, BUT BE FLEXIBLE
It is said that if we fail to plan, we plan to fail.
That is true.
But also, I have found that if you make your plan too rigid, you may also be destined to fail.
So be flexible in your planning, roll with the punches, and be prepared to adapt to changing circumstances. Your plan should be a living, evolving creature.
In my case, I was going to use 3 Distros only for starters.
Chakra I ended up scrubbing. While Arch-based originally, it forked away from Arch, and from the AUR (Arch User Repository, which is community-driven), and I did not think I had the time to go on a new learning curve … perhaps another time.
I substituted Arcolinux Xfce for it. An Arch-based Distro I have used before and quite like.
I also added Ubuntu 18.04 ‘Bionic Beaver’ with the GNOME DE, besides Linux Mint, and we will see why as we go along.
DISCLAIMER
Prior to this exercise, my standard installation of a UEFI distro comprised one new partition for Root / and one shared partition for the ESP. No swap, no separate boot. The ESP was typically 100 MiB.
Under the new regime on my internal 2 TB HDD, /dev/sda, I am still using one “new” / partition, a shared ESP, and one shared Home (partition now, no longer a folder). No swap, shared or otherwise.
If someone has a better idea for doing what I have done – I can believe it . Share with us.
Let’s get our hands dirty!
Chris Turner
wizardfromoz
BTW - Spoiler - the screenshot below, from GParted, shows my internal 2 TB HDD, /dev/sda, at time of writing. 2 Debian-based (Mint and Ubuntu), 1 RPM-based (Fedora) and one Arch-based (Arcolinux), working for the most part smoothly, off the one shared Home partition.
SCREENSHOT 1
I will explain as we go along why the gaps of 20 GiB unallocated space between Distros.
What advantages are there to be gained from doing so, if any?
What disadvantages?
BACKGROUND
Well Known Member and friend @CptCharis had a Thread here https://linux.org/threads/i3-wm-distros-are-not-booting-as-live-usb.25777/ , in which, near its conclusion he asked
Speaking about booting, I have just read for multi booting - up to 3 or 4 distros - with one common /home file and/or partition. Do you have any idea. It sounds like a nice project, specially for learning purposes.
Multibooting is @wizardfromoz's field.
Well, multibooting is my specialty, but like Stan @atanere
...but I choose to let each distro keep it's own /home folder inside of it's / partition. You can indeed make a /home partition that can be shared between the different distros, but it's just not how I have gone with it before.
Nor had I.
Now, I have, and I will share with you.
TEST ENVIRONMENT
My main rig (have 3 others) is in the garage. It is a Dell Inspiron 5770 laptop, with a 2 TB HDD /dev/sda, and a 256 GB SSD /dev/sdb. It is added to by a 4TB Western Digital mains-powered USB-connected HDD /dev/sdc.
Specifications are as shown in the Spoiler.
[chris@localhost ~]$ inxi -Fxz
System:
Host: localhost.localdomain Kernel: 5.3.7-301.fc31.x86_64 x86_64 bits: 64
compiler: gcc v: 9.2.1 Desktop: Cinnamon 4.2.4
Distro: Fedora release 31 (Thirty One)
Machine:
Type: Laptop System: Dell product: Inspiron 5770 v: N/A serial: <filter>
Mobo: Dell model: 0XH3XD v: A00 serial: <filter> UEFI: Dell v: 1.1.8
date: 08/15/2018
Battery:
ID-1: BAT0 charge: 38.3 Wh condition: 38.3/42.0 Wh (91%)
model: SMP DELL Y3F7Y6B status: Full
CPU:
Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 31999
Speed: 800 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 801 2: 800
3: 801 4: 800 5: 800 6: 800 7: 800 8: 801
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0
Display: x11 server: Fedora Project X.org 1.20.5 driver: ati,modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
v: 4.5 Mesa 19.2.4 direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell
driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.3.7-301.fc31.x86_64
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
driver: r8169 v: kernel port: d000 bus ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Dell driver: ath10k_pci v: kernel port: d000 bus ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-7:5
Drives:
Local Storage: total: 2.05 TiB used: 9.64 GiB (0.5%)
ID-1: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB
ID-2: /dev/sdb vendor: Micron model: 1100 SATA 256GB size: 238.47 GiB
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 bus ID: 00:17.0
Partition:
ID-1: / size: 19.56 GiB used: 7.81 GiB (39.9%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 58.81 GiB used: 1.81 GiB (3.1%) fs: ext4 dev: /dev/sda3
Sensors:
System Temperatures: cpu: 53.0 C mobo: 50.0 C sodimm: 49.0 C gpu: amdgpu
temp: 25 C
Fan Speeds (RPM): cpu: 0
Info:
Processes: 266 Uptime: 1h 05m Memory: 15.54 GiB used: 2.51 GiB (16.1%)
Init: systemd runlevel: 5 Compilers: gcc: 9.2.1 Shell: bash v: 5.0.7
inxi: 3.0.36
System:
Host: localhost.localdomain Kernel: 5.3.7-301.fc31.x86_64 x86_64 bits: 64
compiler: gcc v: 9.2.1 Desktop: Cinnamon 4.2.4
Distro: Fedora release 31 (Thirty One)
Machine:
Type: Laptop System: Dell product: Inspiron 5770 v: N/A serial: <filter>
Mobo: Dell model: 0XH3XD v: A00 serial: <filter> UEFI: Dell v: 1.1.8
date: 08/15/2018
Battery:
ID-1: BAT0 charge: 38.3 Wh condition: 38.3/42.0 Wh (91%)
model: SMP DELL Y3F7Y6B status: Full
CPU:
Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 31999
Speed: 800 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 801 2: 800
3: 801 4: 800 5: 800 6: 800 7: 800 8: 801
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0
Display: x11 server: Fedora Project X.org 1.20.5 driver: ati,modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
v: 4.5 Mesa 19.2.4 direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell
driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.3.7-301.fc31.x86_64
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
driver: r8169 v: kernel port: d000 bus ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Dell driver: ath10k_pci v: kernel port: d000 bus ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-7:5
Drives:
Local Storage: total: 2.05 TiB used: 9.64 GiB (0.5%)
ID-1: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB
ID-2: /dev/sdb vendor: Micron model: 1100 SATA 256GB size: 238.47 GiB
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 bus ID: 00:17.0
Partition:
ID-1: / size: 19.56 GiB used: 7.81 GiB (39.9%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 58.81 GiB used: 1.81 GiB (3.1%) fs: ext4 dev: /dev/sda3
Sensors:
System Temperatures: cpu: 53.0 C mobo: 50.0 C sodimm: 49.0 C gpu: amdgpu
temp: 25 C
Fan Speeds (RPM): cpu: 0
Info:
Processes: 266 Uptime: 1h 05m Memory: 15.54 GiB used: 2.51 GiB (16.1%)
Init: systemd runlevel: 5 Compilers: gcc: 9.2.1 Shell: bash v: 5.0.7
inxi: 3.0.36
Prior to starting this exercise around 11/11, I had on the Dell
- 3 – 4 Distros only, on the 2 TB HDD, with the drive configured to Legacy (BOIS/MBR) for instructional purposes here
- and also on it a 60 GB partition for Timeshift
- Windows 10 and 9 -10 Linux on the SSD, sharing the same ESP (EFI System Partition)
- and on the WD 4 TB
- 33 - 35 Distros, sharing one discrete ESP, plus a 500 GB partition for Timeshift for the UEFI Distros on both the SSD and WD HDD
During the course of this exercise,
- I blew away the contents of the SSD, Windows and all
- replaced that with Arch-based Manjaro Xfce and Debian-based Peppermint 10
- left the contents of the WD HDD as is, and
- have since installed 4 Distros from 3 Families sharing the same Home partition, on the internal SATA HDD
- built a discrete partition for Timeshift for that drive
There, I said
I have LM 19.2 'Tina' MATE on a Live stick with Persistence, ready to install, and I have Chakra (Arch-based originally, but forked from Arch) downloaded and will burn soon.
FORM A PLAN, BUT BE FLEXIBLE
It is said that if we fail to plan, we plan to fail.
That is true.
But also, I have found that if you make your plan too rigid, you may also be destined to fail.
So be flexible in your planning, roll with the punches, and be prepared to adapt to changing circumstances. Your plan should be a living, evolving creature.
In my case, I was going to use 3 Distros only for starters.
Chakra I ended up scrubbing. While Arch-based originally, it forked away from Arch, and from the AUR (Arch User Repository, which is community-driven), and I did not think I had the time to go on a new learning curve … perhaps another time.
I substituted Arcolinux Xfce for it. An Arch-based Distro I have used before and quite like.
I also added Ubuntu 18.04 ‘Bionic Beaver’ with the GNOME DE, besides Linux Mint, and we will see why as we go along.
DISCLAIMER
Prior to this exercise, my standard installation of a UEFI distro comprised one new partition for Root / and one shared partition for the ESP. No swap, no separate boot. The ESP was typically 100 MiB.
Under the new regime on my internal 2 TB HDD, /dev/sda, I am still using one “new” / partition, a shared ESP, and one shared Home (partition now, no longer a folder). No swap, shared or otherwise.
If someone has a better idea for doing what I have done – I can believe it . Share with us.
Let’s get our hands dirty!
Chris Turner
wizardfromoz
BTW - Spoiler - the screenshot below, from GParted, shows my internal 2 TB HDD, /dev/sda, at time of writing. 2 Debian-based (Mint and Ubuntu), 1 RPM-based (Fedora) and one Arch-based (Arcolinux), working for the most part smoothly, off the one shared Home partition.
SCREENSHOT 1
I will explain as we go along why the gaps of 20 GiB unallocated space between Distros.
Last edited: