grub install command in terminal..does not work

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dduran1210
Level 2
Level 2
Posts: 91
Joined: Thu Nov 15, 2012 11:47 am

grub install command in terminal..does not work

Post by dduran1210 »

in mint 20.2 cinn...i tried to run the command : sudo grub-install /dev/sda

and get this error message: grub-install: error: cannot find EFI directory.

in gparted i created an EFI directory . but i STILL get this error message.

how do i fix this ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: grub install command in terminal..does not work

Post by deepakdeshp »

What problem are you facing? This will be useful.

https://help.ubuntu.com/community/UEFI
Paste output of command

Code: Select all

 sudo parted -l
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: grub install command in terminal..does not work

Post by Moonstone Man »

dduran1210 wrote: Sun Aug 01, 2021 8:12 pm how do i fix this ?
You don't, yet. You need to tell us what instructions you are following, and what problem you are trying to solve, eg why you are trying to install grub, why you needed to create an EFI partition and so on. You also need to post the output of inxi -Fxz from a terminal and enclose it in code tags [code]output.here[/code]. You'll see the code tags icon </> when you reply.
Locked

Return to “Installation & Boot”