You are not logged in.

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

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 108

[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 (2022-05-18 12:01:21)


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

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

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

Re: [SOLVED] grub-issue

How are you entering your chroot?


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, 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: Europe
Registered: 2021-03-23
Posts: 108

Re: [SOLVED] grub-issue

yep!

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

Some 'security people are f*cking morons' says Linus Torvalds..

Offline

#4 2022-05-18 12:00:53

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 108

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 (2022-05-18 12:12:12)


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

Board footer

Powered by FluxBB