You are not logged in.

#1 2019-10-21 19:10:03

chrisdb
Member
From: Belgium
Registered: 2018-05-16
Posts: 155

[SOLVED] GRUB dual boot - first time not working

Hello,

During the arch-chroot process of the installation I always try to enable dual boot with Windows using the following commands:

pacman -S os-prober grub efibootmgr 
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader=arch
os-prober
grub-mkconfig -o /boot/grub/grub.cfg

After this I get the following output:

/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
Generating  grub configuration file ...  
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
Done

But when I reboot my system, I've only got the option to choose arch.

The strange thing is that if I start the live ISO and perform the same action again in arch-chroot, it does work.

Why doesn't this work during the initial installation in arch-chroot?

Last edited by chrisdb (2019-10-23 19:20:39)


Failure is success in progress.
A.E.

Offline

#2 2019-10-21 19:12:20

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: [SOLVED] GRUB dual boot - first time not working

Offline

#3 2019-10-21 21:38:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: [SOLVED] GRUB dual boot - first time not working

Not an installation issue, moving to Apps and DEs.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2019-10-23 19:20:06

chrisdb
Member
From: Belgium
Registered: 2018-05-16
Posts: 155

Re: [SOLVED] GRUB dual boot - first time not working

Installing 'which' solved my issue smile

Btw the reason why it worked after reboot was because I installed xfce4-session afterwards  and the 'which' package is a dependency


Failure is success in progress.
A.E.

Offline

Board footer

Powered by FluxBB