You are not logged in.

#1 2022-05-13 06:58:59

geopardo
Member
From: hydracrabbers
Registered: 2021-03-23
Posts: 28

[SOLVED] grub-issue

I have installed a machine, with the same previous procedure. And functional.

However, giving the commands:

# grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck. @
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI

I acknowledge the error:

grub-install: error: /usr/lib/grub/x84_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

It seems that in chroot, there are problems locating directories.
Previously, everything worked.

Anyone have the same problem?
It seems that in chroot, there are problems locating directories.
I don't think now it is necessary to specify with the command:

fdisk -l / dev / sda 

the directory locations. But rather understand, in certain areas of the planet...
Because there is no homogeneity of archlinux packages. https://bbs.archlinux.org/viewtopic.php?id=130138

PS
with the kernel.org video drivers
everything works .. I want to understand not to disturb or offend anyone.
+/- this is the procedure solution.. https://bbs.archlinux.org/viewtopic.php?id=252051

Last edited by geopardo (Today 12:01:21)


Do not write, do not post anything .. _silly game of Romeo and Juliet_
next time, come alone and stop .. hmm  (nice, lovely .. pouting face)
because the pelican turns and moves and makes senseless gestures ..
_(Linus Torvalds says they are ..) they do not exist anymore_ just some pizza eaters..

Offline

#2 2022-05-13 19:15:30

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,190

Re: [SOLVED] grub-issue

How are you entering your chroot?


Ryzen 1800x 8 core/16 thread - 2 x GTX 1070 8Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#3 2022-05-14 05:39:34

geopardo
Member
From: hydracrabbers
Registered: 2021-03-23
Posts: 28

Re: [SOLVED] grub-issue

yep!

mkdir /boot/EFI !1
mount /dev/sda1 /boot/EFI  # Mount FAT32 EFI partition

Do not write, do not post anything .. _silly game of Romeo and Juliet_
next time, come alone and stop .. hmm  (nice, lovely .. pouting face)
because the pelican turns and moves and makes senseless gestures ..
_(Linus Torvalds says they are ..) they do not exist anymore_ just some pizza eaters..

Offline

#4 Today 12:00:53

geopardo
Member
From: hydracrabbers
Registered: 2021-03-23
Posts: 28

Re: [SOLVED] grub-issue

partitioning

# cgdisk /dev/sdx

/dev/sda1 *boot
/dev/sda2 *efi
/dev/sda3 */mnt

then reboot..

# mkfs.ext2 /dev/sda1
# mkfs.fat -F32 /dev/sda2
# mkfs.ext4 /dev/sda3

directory

# mount /dev/sda3 /mnt
# mkdir /mnt/boot
# mkdir /mnt/EFI
# mount /dev/sda1 /mnt/boot
# mount /dev/sda2 /mnt/EFI

grub and packages..

# pacman -S grub efibootmgr efivar dosfstools os-prober
# grub-install --target=x86_64-efi --efi-directory=/EFI

works.. i mark solved..

Last edited by geopardo (Today 12:12:12)


Do not write, do not post anything .. _silly game of Romeo and Juliet_
next time, come alone and stop .. hmm  (nice, lovely .. pouting face)
because the pelican turns and moves and makes senseless gestures ..
_(Linus Torvalds says they are ..) they do not exist anymore_ just some pizza eaters..

Offline

Board footer

Powered by FluxBB