You are not logged in.

#1 2019-02-18 10:46:22

Yann
Member
Registered: 2017-11-23
Posts: 235

[SOLVED] GRUB not detecting others systems

Hi everyone,

I just got a Dell Vostro 5581. I installed 4.20.8-arch1-1 with i3 4.16.1. Everything is up to date and works like a charm. The system is encrypted on a LUKS partition except for the /boot partition. I have a GPT disk with a ESP and want everything to be installed in UEFI mode.
For some reasons I need to have Manjaro in dual boot of it (just in case of critical system issue).
I want to be able to choose the os at boot.. For that I customized GRUB. However, I can not get the Manjaro entry in the arch grub conf.
os-prober is installed and detects directly Manjaro:

sudo os-prober
> Manjaro Linux (18.0.2):ManjaroLinux:linux

Moreover,

sudo grub-mkconfig -o /boot/grub/grub.cfg

only shows my linux and linux-lts arch system.

There are 2 different folders in the ESP, I guess one for arch and one for Manjaro:

ls /boot/efi/EFI
BOOT/BOOTX64.EFI
Manjaro/bootx64.efi

I read that there are issues with lvm but can not fix that.

I would like to have a GRUB in UEFI mode, I guess I have to follow the steps in the archWiki.

Does someone have an idea? Any recommendation?

Thanks for your time.

Last edited by Yann (2019-02-20 09:46:37)


all different - all equal

Offline

#2 2019-02-18 11:44:21

bugsmanagement
Member
Registered: 2017-04-21
Posts: 201

Re: [SOLVED] GRUB not detecting others systems

Hello there,

First and foremost, why aren't you using your UEFI bios to select which OS to boot into? Nevertheless, you can simply opt to writing your own custom grub configuration here https://wiki.archlinux.org/index.php/GR … m_grub.cfg, which is relatively easy. Lastly, without the the output of 'grub-mkconfig', it's a bit improbable to determine where the problem may lay.

Regards

Offline

#3 2019-02-18 11:58:23

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [SOLVED] GRUB not detecting others systems

Hi bugsmanagement,
thanks for your reply.

the output of grub-mkconfig:

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
done

ok, so it not a big deal to edit manually the grub.cfg?

What do you mean by:

bugsmanagement wrote:

why aren't you using your UEFI bios to select which OS to boot into

If I go in the UEFI, I can not pick any partition, I can just pick the entire SDD.. Could you explain more?
Thanks fro your time.


all different - all equal

Offline

#4 2019-02-18 12:03:22

bugsmanagement
Member
Registered: 2017-04-21
Posts: 201

Re: [SOLVED] GRUB not detecting others systems

Yann wrote:

ok, so it not a big deal to edit manually the grub.cfg?

Right, you can include your grub.cfg here within [ code ] tags if you like for someone to verify the syntax is correct

Yann wrote:

If I go in the UEFI, I can not pick any partition, I can just pick the entire SDD.. Could you explain more?
Thanks fro your time.

Most UEFI BIOSes offer a separate boot menu, you would have to check with mobo documentation how to access it if you so choose. On my AsRock MOBO, it's F8. Others is F9, DEL, BACKSPACE, etc.

Offline

#5 2019-02-18 13:24:41

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [SOLVED] GRUB not detecting others systems

ok.

Yes, I have it pressing F12 (if we are talking about the same thing). However, in this part or directly in the UEFI I can just select the SSD (containing the ESP) but can not access to the different .efi files in the ESP.


all different - all equal

Offline

#6 2019-02-18 13:29:24

bugsmanagement
Member
Registered: 2017-04-21
Posts: 201

Re: [SOLVED] GRUB not detecting others systems

Strange, your BIOS may not be supporting it or you are not booting in UEFI (Booting in BIOS Legacy instead). However, you can select to implement the alternative solution.

Offline

#7 2019-02-18 13:32:19

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [SOLVED] GRUB not detecting others systems

I am pretty aware of this. It is (I think) in UEFI mode, legacy BIOS is well disabled.
Yes, it only shows the SSD. It's a Dell (1.6 firmware UEFI version). I am going to investigate if it's normal..


all different - all equal

Offline

#8 2019-02-18 13:36:39

bugsmanagement
Member
Registered: 2017-04-21
Posts: 201

Re: [SOLVED] GRUB not detecting others systems

Alright, if you like to check, when you boot into ArchLinux, check for efivars. See https://wiki.archlinux.org/index.php/Un … _variables. While researching, I also found this https://wiki.archlinux.org/index.php/Un … mware_menu, this might be useful to you.

Offline

#9 2019-02-20 09:45:36

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [SOLVED] GRUB not detecting others systems

Very sorry for the late answer. Made lots of improvements.
So, I succeeded to add the UEFI entry, I made a wrong manip every time I tried. So now I have my arch and manjaro entries in UEFI with F12, very clean.
Moreover, I succeeded to add the manjaro entry in the arch grub. I forgot that I set "GRUB_DISABLE_OS_PROBER=true" in my /etc/default/grub conf file. So it did not try to detect anything.

Thanks for your time!


all different - all equal

Offline

Board footer

Powered by FluxBB