[EDIT]
The posts that lead directly to the solution in this thread are: [ 2, 4, 5, 22, 27 ]
Synopsis:
This clarifies oshunluvr's post on " More BTRFS fun: Multibooting to subvolumes on the same partition"
It reconciles that post with booting from EFI ( original post is for MBR ) and shows how to configure grub for both distros.
Note: my solution does not solve for problems arising from kernel updates. Oshunluvr's post on how to create a dedicated grub partition covers that. Mine is an intermediate solution which is easier in the short run but harder in the long run. Mine may help you understand grub a little better, which will make his more elegant solution easier to understand.
[/EDIT]
I've installed single boot distros many times. I tried to set up a dual-Linux boot system and what I ended up with is a 500gb drive with a 30gb Kali partition on sda4 without the ability to boot back into Kubuntu (that I could find). There are a lot of tutorials out there, most of which don't seem to really help.
I'd like to set up my Thinkpad with at least two distros. My main would be Kubuntu 22.04 and then I want to have Kali as a second option.
Some things I have noticed in the system as I have it now:
The parts I succeeded at:
My criteria for success:
What I need help with is the side by side installation of:
Partitions as currently set up:
The posts that lead directly to the solution in this thread are: [ 2, 4, 5, 22, 27 ]
Synopsis:
This clarifies oshunluvr's post on " More BTRFS fun: Multibooting to subvolumes on the same partition"
It reconciles that post with booting from EFI ( original post is for MBR ) and shows how to configure grub for both distros.
Note: my solution does not solve for problems arising from kernel updates. Oshunluvr's post on how to create a dedicated grub partition covers that. Mine is an intermediate solution which is easier in the short run but harder in the long run. Mine may help you understand grub a little better, which will make his more elegant solution easier to understand.
[/EDIT]
I've installed single boot distros many times. I tried to set up a dual-Linux boot system and what I ended up with is a 500gb drive with a 30gb Kali partition on sda4 without the ability to boot back into Kubuntu (that I could find). There are a lot of tutorials out there, most of which don't seem to really help.
I'd like to set up my Thinkpad with at least two distros. My main would be Kubuntu 22.04 and then I want to have Kali as a second option.
Some things I have noticed in the system as I have it now:
- Partition manager (in Kali) shows Kubuntu has no mount point
- Prior to installing Kali it was booting to grub from which I could run Kubuntu
- After installing Kali /boot/grub/grub.cfg shows only Kali
The parts I succeeded at:
- created ESP on sda1
- created swap on sda2 ( for hibernation )
My criteria for success:
- At least two distros
- Each distro on a its own single partition
- All partitions using btrfs
- Each distro has its own home directory (not shared with other distros)
- Each distro having a subvolume for @ and @home
- Ability to boot to any installed distro from boot manager (grub or refind)
What I need help with is the side by side installation of:
- Kubunutu on sda3
- Kali on sda4
Partitions as currently set up:
Comment