You are not logged in.

#1 2023-01-28 10:49:14

salimp2009
Member
Registered: 2023-01-28
Posts: 5

[SOLVED] partitions/boot loader not found under UEFI after reboot

Hi
I installed a fresh install following Arch wiki installation guide;
prev there was Windows 11 on my system with  Boot: UEFI ; (there is no Secure boot on my board ; there are TMP settings but disabled)

I followed exactly Arch wiki guide to do partions, formatting, mounting, fstab, after changing root and installing grub and creating grub.cfg  .
After I reboot the screen say "install a bootable media"  and can not see anything I do .
If I go back to live installation all partition seems Ok (fdisk -l) and I mount /mnt and can arch-chroot into the installation I made. I also had to mount /boot again to be able to see the created grub related stuff under /boot. they are all there.

I also tried with archinstall script; it fails if I have UEFI boot in BIOS .
if  change it to Legacy/UEFI then archinstall script can install. But if i do manuall partition I again have the same problem.

I did this installation many times under VM and never had problem. Almost memorized basic Arch install guide now.

Can someone help me ? (I have MSI MAG Z390 board, intel i7-9700k cpu and RTX-2070 gpu )

Some of the basic steps for reference (in case needed);
used fdisk to create partitons ; used  gpt for Partition table
then  created partitions for

/boot, /, /home and a swap partition
boot has EFI  type, root has Linux root, swap has Linux swap, home has Linux home.
Used exactly the Arch installation guide to format ;

mkfs.fat -F32 /boot_efi partition
mkswap /swap_partition   and swapon
mkfs.ext4  /root    & for /home

then mount the starting /mnt
created directories using mkdir for /boot /home and mount them.

then installed base packages;

then generate fstab using genfstab
then chroot /mnt.

i did all locale.gen, conf, localtime , hostname, hosts  and other misc. stuff following wiki.
enabled NetworkManager in systemd

installed grub, efibootmgr os-prober
used grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

Finally
grub-mkconfig -o /boot/grub/grub.cfg
exit
reboot

Last edited by salimp2009 (2023-01-28 16:16:24)

Offline

#2 2023-01-28 11:13:40

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2023-01-28 12:08:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,088

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot

MSI boards are notorious for a broken EFI implementation, you will have to use the linked fallback path.

Offline

#4 2023-01-28 14:48:38

salimp2009
Member
Registered: 2023-01-28
Posts: 5

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot

thank you . I think that is what the archinstall script is doing...i saw during the installation output. I will try those and let you . thank you guys.

# mv esp/EFI/grub esp/EFI/BOOT
# mv esp/EFI/BOOT/grubx64.efi esp/EFI/BOOT/BOOTX64.EFI

grub-install --target=x86_64-efi --efi-directory=esp --removable

Offline

#5 2023-01-28 14:50:05

salimp2009
Member
Registered: 2023-01-28
Posts: 5

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot

V1del wrote:

MSI boards are notorious for a broken EFI implementation, you will have to use the linked fallback path.

I know my hardware is cursed. but thank you both of you. i will try it right now. smile let you know

Offline

#6 2023-01-28 14:59:08

salimp2009
Member
Registered: 2023-01-28
Posts: 5

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot

UPDATE: This worked. THank you so much. I was disappointed in myself how I can screw this . Thank you Arch. I love it . Everybody told me to quit install something else but I wanted to learn and  use Arch.. So happy. smile
thank you . I think that is what the archinstall script is doing...i saw during the installation output. I will try those and let you . thank you guys.

# mv esp/EFI/grub esp/EFI/BOOT
# mv esp/EFI/BOOT/grubx64.efi esp/EFI/BOOT/BOOTX64.EFI

grub-install --target=x86_64-efi --efi-directory=esp --removable

Offline

#7 2023-01-28 15:40:33

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot

Please remember to mark the thread as [SOLVED].
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2023-01-28 16:17:58

salimp2009
Member
Registered: 2023-01-28
Posts: 5

Re: [SOLVED] partitions/boot loader not found under UEFI after reboot

Slithery wrote:

Please remember to mark the thread as [SOLVED].
CoC - How to post

i did it . thank you. I was looking for it. thank you again smile

Offline

Board footer

Powered by FluxBB