You are not logged in.

#1 2020-09-20 23:58:16

Skayote
Member
Registered: 2020-09-20
Posts: 2

First time installing, got an error while installing grub

"grub-install: error: cannot find a GRUB drive for [drive]/[root partition]. Check your device.map."

Is there a way to install a grub drive for said partition from here or no?
Assistance may be required, and greatly appreciated here.

Offline

#2 2020-09-20 23:59:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: First time installing, got an error while installing grub

Please post the complete command used and any other output that came with that error message.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-09-21 00:14:42

Skayote
Member
Registered: 2020-09-20
Posts: 2

Re: First time installing, got an error while installing grub

Trilby wrote:

Please post the complete command used and any other output that came with that error message.

the command was "grub-install --target=i386-pc /[drive]/[root]"


The full error was in the original post.

Offline

#4 2020-09-21 00:18:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: First time installing, got an error while installing grub

And what is [drive]/[root]?  Post the actual command and the output from `lsblk`.  That command should specify a device, not a partition.

Last edited by Trilby (2020-09-21 00:19:41)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2020-09-21 00:33:43

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

Re: First time installing, got an error while installing grub

You aren't disclosing any sensitive information by stating your actual drive letters.

Mod note: Moving to NC

Offline

#6 2020-09-21 02:47:03

AYAYA_Clap
Member
Registered: 2020-09-21
Posts: 1

Re: First time installing, got an error while installing grub

You can try " grub-install --target=x86_64-efi --efi-directory=/YOUR BOOT PARTITION --bootloader-id=GRUB "

Offline

#7 2020-09-21 02:56:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: First time installing, got an error while installing grub

AYAYA_Clap wrote:

You can try " grub-install --target=x86_64-efi --efi-directory=/YOUR BOOT PARTITION --bootloader-id=GRUB "

Except that makes no sense if it's a BIOS system, which the OP's command suggests.

Offline

Board footer

Powered by FluxBB