Dual boot Trisquel 8.0 and Kubunut 20.04

6 replies [Last post]

I am a member!

Joined: 09/20/2012

I'd like to install Kubuntu next to Trisquel 8.0. I tried but failed because after installation, the bootloader failed. Is it true that I have to intall Kubuntu on a separate partition, leave the boot flag on my Trisquel partition and change Trisquel's grub so that it recognizes Kubuntu? If so, how do I do this? Which information do you need?

Here is some output:

sudo gparted -l

Modell: ATA WDC WD5000LPLX-0 (scsi)
Festplatte /dev/sda: 500GB
Sektorgröße (logisch/physisch): 512B/4096B
Partitionstabelle: msdos

Nummer Anfang Ende Größe Typ Dateisystem Flags
1 1049kB 92,0GB 92,0GB primary ext4 boot
3 92,0GB 108GB 16,1GB primary linux-swap(v1)
2 108GB 333GB 224GB primary ext4
4 333GB 500GB 168GB extended

sudo fdisk -l

Medium /dev/sda: 465,8 GiB, 500107862016 Bytes, 976773168 Sektoren
Einheiten: sectors von 1 * 512 = 512 Bytes
Sektorengröße (logisch/physisch): 512 Bytes / 4096 Bytes
I/O Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Typ der Medienbezeichnung: dos
Medienkennung: 0x000a0b95

Gerät Boot Start Ende Sektoren Größe Id Typ
/dev/sda1 * 2048 179689547 179687500 85,7G 83 Linux
/dev/sda2 211148800 649482983 438334184 209G 83 Linux
/dev/sda3 179691520 211148799 31457280 15G 82 Linux Swap / Solaris
/dev/sda4 649484286 976771071 327286786 156,1G 5 Erweiterte

Die Partition 4 beginnt nicht im Bereich der physischen Sektoren.
Die Einträge der Partitionstabelle stimmen nicht mit der Reihenfolge der Medien überein.

Thanks in advance, any help is appreciated!


Magic Banana

I am a member!

I am a translator!

Joined: 07/24/2010

See https://help.ubuntu.com/community/Grub2/Installing#Fixing_a_Broken_System

I would use chroot. Notice that the instructions for that technique are too detailed: you probably use neither software RAID, nor LVM, nor bcache, etc.

Notice that Kubuntu includes proprietary software, which is bad for your freedoms.

Joined: 05/01/2018

Normally, I'd like to allow the second distribution to modify the bootloader, so it automatically detects the first distribution.

Please note that official Ubuntu installation media now come with non-free software (other than firmware) as well. If you need a system newer than Trisquel and uses KDE, you can try Debian (testing) Installer. Do not load non-free firmware and do not enable contrib/non-free repository and you should have a free/libre installation. During installation, you have an opportunity to select desktop environment.


I am a member!

Joined: 09/20/2012

Thank you for your help! I solved the issue the following way:
1. Installed Kubunut on two logical partititions sda5 and sda6 within the extended sda4 partition.
2. Ran the command "sudo update-grub" in Trisquel.

Yes, I chose the option not to load non-free firmware during installation and so far, it is fine. However Kubunut can make use of my built-in wireless and bluetooth adaptors. So I guess it's not completely FSF-free although more practical for me in everyday use.

Thanks again, anatom

Joined: 05/01/2018

If it is possible to replace your internal wireless adapter with an Atheros ath5k/ath9k (but not Qualcomm Atheros ath10k/ath11k), replace it.

Please note that non-free firmware in PCI/e NICs (either wired or wireless) is extremely dangerous, because they have DMA capability.

Joined: 12/01/2016

Congratulations, anatom! Hey, your configuration is identical to mine as mine is also duo of Trisquel and Kubuntu. It is rare to see another person with same configuration to me.

Joined: 05/01/2018

Kubuntu is probably the worst KDE-based distribution. Like Ubuntu and its other spins, its official installation media now come with non-free software by default.

I tried several distributions featuring KDE Plasma desktop environment, and found that most of them looked essentially the same. Since I don't need non-free software/firmware, I picked Debian (testing) Installer.