You are not logged in.
I am getting the above error.
This solution did not work for me.
https://bbs.archlinux.org/viewtopic.php?id=286980
Applying it I get this error:
[demo@archlinux ~]$ sudo mount /dev/sda2 /boot
[sudo] password for demo:
[demo@archlinux ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 58.6G 0 disk
|-sda1 8:1 1 10M 0 part
|-sda2 8:2 1 500M 0 part /boot
`-sda3 8:3 1 58.1G 0 part
nvme0n1 259:0 0 931.5G 0 disk
|-nvme0n1p1 259:1 0 529M 0 part
|-nvme0n1p2 259:2 0 499M 0 part /boot/efi
|-nvme0n1p3 259:3 0 16M 0 part
|-nvme0n1p4 259:4 0 267.9G 0 part
|-nvme0n1p5 259:5 0 1.1G 0 part
|-nvme0n1p6 259:6 0 961M 0 part
|-nvme0n1p7 259:7 0 3M 0 part
|-nvme0n1p8 259:8 0 325G 0 part
|-nvme0n1p9 259:9 0 64.6G 0 part /
|-nvme0n1p10 259:10 0 2G 0 part
|-nvme0n1p11 259:11 0 163G 0 part
|-nvme0n1p12 259:12 0 90G 0 part
`-nvme0n1p13 259:13 0 16G 0 part
[demo@archlinux ~]$ grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
Installing for x86_64-efi platform.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda2.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda2.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda2.
grub-install: error: disk `hostdisk//dev/sda2' not found.
Last edited by MAYBL8 (2025-01-28 14:24:43)
Online
If /boot is your ESP, what is /boot/efi?
Offline
If /boot is your ESP, what is /boot/efi?
My ESP is /boot/efi
That is why I didn't understand how those instructions were supposed to work.
How can I fix this error?
The error is from trying to boot from a bootable USB install of Arch.
Online
read the instructions on the grub wiki page again. The command you gave for the ESP is wrong.
Offline
Either you guys are not understanding my issue or I don't understand what I need to do.
I am going to mark this solved and just remake the bootable USB.
That seems like the easier solution.
Thanks for trying to help.
Online