You are not logged in.

#1 2024-04-07 14:17:29

ethanx220
Member
Registered: 2024-04-07
Posts: 2

Grub install failed?

I am trying to install arch, and I got to the part where I needed to install a bootloader. I inputted "grub-install /dev/sdb1", only to receive the following error message:

grub-install: warning: disk does not exist, so falling back to partition device /dev/sdb1.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sdb1.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sdb1.
grub-install: error: disk 'hostdisk//dev/sdb1' not found.

I saw online that perhaps inputting "sudo grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="GRUB"" would fix my issues, but I only received a different error message:

grub-install: error: /boot doesn't look like an EFI partition.

I made sure that my boot partition was properly mounted already, any ideas on how to fix this?

Offline

#2 2024-04-07 14:19:33

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,605

Re: Grub install failed?

To start with, you should know if you're installing for BIOS or for UEFI, the Installation Guide tells you to check that and gives different options for each. The GRUB installation instructions are separate, too.

Offline

#3 2024-04-07 14:51:02

ethanx220
Member
Registered: 2024-04-07
Posts: 2

Re: Grub install failed?

I use UEFI, and I followed the install guide for UEFI. My lsblk says /dev/sdb1 (my boot partition) is mounted at /boot/efi, so I think I did it right

Offline

#4 2024-04-07 14:56:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,605

Re: Grub install failed?

Then read the UEFI section of the GRUB wiki page. At the very least, you got the efi-directory wrong. Your first command was for a BIOS system.

Offline

Board footer

Powered by FluxBB