Skip to main content
added 197 characters in body
Source Link
jdwolf
  • 5.3k
  • 1
  • 16
  • 29

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work first try the following to see if it is mounted elsewhere.

mount | grep /dev/sda6[efi device] 

If neither of those work do:

mount /dev/sda4[efi device] /mnt 

Now run:

grub-install --efi-directory=[efi dir] grub-mkconfig -o /boot/grub/grub.cfg 

where [efi dir] is either /boot/efi or /mnt and [efi device] is the device with the EFI system partition. If you don't know use the command lsblk -o NAME,PARTTYPE,MOUNTPOINT | grep -i "C12A7328-F81F-11D2-BA4B-00A0C93EC93B"

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work first try the following to see if it is mounted elsewhere.

mount | grep /dev/sda6 

If neither of those work do:

mount /dev/sda4 /mnt 

Now run:

grub-install --efi-directory=[efi dir] grub-mkconfig -o /boot/grub/grub.cfg 

where [efi dir] is either /boot/efi or /mnt

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work first try the following to see if it is mounted elsewhere.

mount | grep /dev/[efi device] 

If neither of those work do:

mount /dev/[efi device] /mnt 

Now run:

grub-install --efi-directory=[efi dir] grub-mkconfig -o /boot/grub/grub.cfg 

where [efi dir] is either /boot/efi or /mnt and [efi device] is the device with the EFI system partition. If you don't know use the command lsblk -o NAME,PARTTYPE,MOUNTPOINT | grep -i "C12A7328-F81F-11D2-BA4B-00A0C93EC93B"

Lets fix this up
Source Link
jdwolf
  • 5.3k
  • 1
  • 16
  • 29

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work first try the following to see if it is mounted elsewhere.

mount | grep /dev/sda6 

To see if its amounted elsewhere. If neither of those work do:

mount /dev/sda6sda4 /mnt 

Now run:

grub-install --efi-directory=/mnt/efidirectory=[efi dir] grub-mkconfig -o /boot/grub/grub.cfg 

where [efi dir] is either /boot/efi or /mnt

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work try

mount | grep /dev/sda6 

To see if its amounted elsewhere. If neither do:

mount /dev/sda6 /mnt 

Now run:

grub-install --efi-directory=/mnt/efi grub-mkconfig -o /boot/grub/grub.cfg 

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work first try the following to see if it is mounted elsewhere.

mount | grep /dev/sda6 

If neither of those work do:

mount /dev/sda4 /mnt 

Now run:

grub-install --efi-directory=[efi dir] grub-mkconfig -o /boot/grub/grub.cfg 

where [efi dir] is either /boot/efi or /mnt

Rollback to Revision 1 - Edit approval overridden by post owner or moderator
Source Link
jdwolf
  • 5.3k
  • 1
  • 16
  • 29

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work try

mount | grep /dev/sda6 

To see if it'sits amounted elsewhere. If it isn't mounted anyehwere, you should mount it manually. Since you know that your EFI is in sda2, runneither do:

mkdir /mnt/efi mount /dev/sda2sda6 /mnt/efi 

If you don't know where the EFI is, you can run fdisk -l.

Now run:

grub-install --efi-directory=/mnt/efi grub-mkconfig -o /boot/grub/grub.cfg 

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work try

mount | grep /dev/sda6 

To see if it's amounted elsewhere. If it isn't mounted anyehwere, you should mount it manually. Since you know that your EFI is in sda2, run:

mkdir /mnt/efi mount /dev/sda2 /mnt/efi 

If you don't know where the EFI is, you can run fdisk -l.

Now run:

grub-install --efi-directory=/mnt/efi grub-mkconfig -o /boot/grub/grub.cfg 

When you run grub-install by default it assumes the EFI system is mounted as /boot/efi

It depends on your distribution where EFI system is mounted and on some distributions it isn't mounted after boot.

First check if /boot/efi is mounted with

mount | grep /boot/efi 

If that doesn't work try

mount | grep /dev/sda6 

To see if its amounted elsewhere. If neither do:

mount /dev/sda6 /mnt 

Now run:

grub-install --efi-directory=/mnt/efi grub-mkconfig -o /boot/grub/grub.cfg 
Completed with instructions to manually mount the EFI directory if necessary
Source Link
Loading
Source Link
jdwolf
  • 5.3k
  • 1
  • 16
  • 29
Loading