I decided to eliminate W8 and reinstall Manjaro and xubuntu (both xfce versions) in dual boot in a UEFI computer. I can solve that with MBR/GRUB but I am discovering at the same time the world of UEFI but still do not understand. Most of the help I can find is about dual booting with W ans the question is a bit different.
I did install Manjaro with GPT and /boot/efi partition but possibly did something wrong with the instllation of xubuntu; I suppose that I used and marked /boot/efi as requested WITHOUT formatting - as I would for swap - but the computer did reboot with Xubuntu directly (no GRUB-like option).
I did reinstall Manjaro Grub with sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck and sudo update-grub from Manjaro system and came back to my usual GRUB with two options.
After that, I rechecked with gdisk /dev/sda1 and have the surprise to see MBR Only and GPT not present… Not exactly what I did expect…
I did see the option of rEFInd but I fell that my traditional Manjaro GRUB is much nicer. Can you explain and help?
You shouldn’t mix bios and uefi, mbr and gpt. Otherwise you will need to change the mode in the bios every time before booting the other system.
Besides, make sure secure boot is off. Ubuntu is compatible, manjaro is not.
And gdisk /dev/sda gives (I did first mention that GPT was apparently NOT present but this is when I apply gdisk on the parttion /dev/sda1 instead of the disk itself)
GPT fdisk (gdisk) version 220.127.116.11
Partition table scan:
BSD: not present
APM: not present
Found valid GPT with protective MBR; using GPT.
Sorry for this long post and possible lack of follow up also at my side in these days!
Thanks a lot for your suggestions, I consider reinstall this all (if mistaken) but do not know where I did make a mistake!
Have a happy Xmas!
Luks partition is not really problematic, this is just like another system partition that I have to open wit a password at the very beginning; afterwards it is a normal partition. Well I do not think that it is the reason for my problem of mixed MBR/GPT
I am not sure. My system is working as I wanted and this is nice.
Nevertheless I have the impression that something got mixed up with MBR present in gdisk (and I also do not even see GPT in sda1 partition!). As I do not fully understand GPT and EFI, I am not sure of the result.
I would like to make sure that my system is really clean before I reinstall the applications, config and files.
Sorry if it is not clear but this what I tried to explain in the first post when describing the installation process of Manjaro followed by Xubuntu.
In other words, possibly more clear:
I did install Manjaro in UEFI mode (GPT table and /boot/efi) and ended up with no grub or equivalent when launching
I managed to install Ubuntu also in a second partition but still with no Grub or equivalent…
I may have messed up with sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck and sudo update-grub
Yeah, you probably have to read that tutorial on how to ask questions. You are looking for the grub menu.
Edit the grub config with your favorite editor, I use nano:
sudo nano /etc/default/grub
And make sure following is included:
You can obv change the time frame.
Then run sudo update-grub
I should warn you though. If you are using the same partition for 2 linux distributions, both using grub, it could complicate things when running updates unless you make sure one of the systems does NOT ever update grub but you rather do that on ONE of the systems and then let os-prober find the other installation.
Another solution would be to have 2 fat32 partitions, one for each linux installation and then just prioritize whatever system you want in your bios. Both distributions would be startable from grub anyway since os-prober will detect the other.
At the end of the holidays, I would like to conclude on my solution for double booting with a (partly) encrypted system. Very simple in fact, and logical.
If you want to install various system in your computer with one encrypted system partition, you have to make sure to CONCLUDE with the encrypted system as grub-install will identify the other systems and the encrypted one at the same time. All the other will be unable to identify the encrypted system, as it is encrypted!!