You are not logged in.

#1 2021-08-13 11:22:59

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

[SOLVED]grub not detected by my laptop

After installing archlinux according to the wiki and rebooting grub is not appearing at all. I get the message please install an OS.

I installed efibootmgr and I  ran

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

  and also

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

both grub commands finished with no error reported

my laptop model is HP Pavilion x360 Convertible 14-dw1xxx

I don't know the output of what command I should add so just tell me and I will edit the post.

secure boot is disabled

Last edited by aggressive-support35 (2021-08-13 12:53:30)

Offline

#2 2021-08-13 11:41:00

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED]grub not detected by my laptop

You do have a properly marked EFI system partition mounted at /boot, right? Just a fat32 partition is not enough.

https://wiki.archlinux.org/title/EFI_sy … _partition

If you already have that, ensure that 1: your EFI system partition is correctly mounted at /boot when you run grub-install, and that 2: your motherboard BIOS is correctly configured to boot from the EFI

Offline

#3 2021-08-13 11:46:43

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

Re: [SOLVED]grub not detected by my laptop

I have a efi partion. I set the type to efi in fdisk by pressing t selecting the number and id 1 for EFI.

My partition is mounted at boot correctly.

Offline

#4 2021-08-13 11:54:56

kalix
Member
Registered: 2020-03-06
Posts: 19

Re: [SOLVED]grub not detected by my laptop

Hello!

I was wondering.  Have you went into the BIOS and tried to see if you could edit the EFI vars in there?

Also can you post the output of fdisk -L  so we can see what the layout looks like ??

Offline

#5 2021-08-13 12:21:31

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

Re: [SOLVED]grub not detected by my laptop

this is the output to fdisk -l

Disk /dev/nvme0n1: 476.94 GiB, 51211019052 bytes, 1000215216 sectors
Disk model: INTEL SSDPEKNW512GBH
Units: Sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes/ 512 bytes
Disklabel type: gpt
Disk identifier: 4468619B-F0DE-E44B-8F5D-284FD4409486

Device                        Start                    End            Sectors            Size            Type
/dev/nvme0n1p1        2048            1026047         1024000            500M            EFI System
/dev/nvme0n1p2  1026048      1000215182     999189135            476.5G          Linux filesystem

Offline

#6 2021-08-13 12:29:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: [SOLVED]grub not detected by my laptop

What's

efibootmgr -uv

as mentioned some UEFIs only allow adding NVRAM entries via their own interface, another thing you could try is reinstalling grub but add the --removable parameter to the command so that the fallback path is populated.

Offline

#7 2021-08-13 12:46:09

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

Re: [SOLVED]grub not detected by my laptop

BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002, 0001
Boot0001* USB Drive (UEFI) - SanDisk Cruezer 8.01        PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/CDROM(1,0x175800,0x2a298)
Boot0002* USB Drive (UEFI) - SanDisk Cruezer 8.01        PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,MBR,0x46a6eddb,0x175800,0x21000)

Offline

#8 2021-08-13 12:50:57

aggressive-support35
Member
Registered: 2021-04-16
Posts: 36

Re: [SOLVED]grub not detected by my laptop

The solution was to add --removable in the grub-install thank you a lot

Last edited by aggressive-support35 (2021-08-13 12:52:46)

Offline

Board footer

Powered by FluxBB