Silly question like, if airootfs is mentioned at all, is it even in a chroot?

|
JF049 2022-09-16 23:46:02
The_h3rmann 2022-09-16 23:41:53
The problem starts when I install grub. I use this command `grub-install –target=x86-efi –bootloader-id=grub_uefi –recheck` but I get fail to get canonical path of airootfs

You haven’t told grub-install where is the mount point of EFI partition

The_h3rmann 2022-09-16 23:46:07
The_h3rmann 2022-09-16 23:41:53
The problem starts when I install grub. I use this command `grub-install –target=x86-efi –bootloader-id=grub_uefi –recheck` but I get fail to get canonical path of airootfs

before install grub I do mount /dev/sda2 /boot/efi and install efibootmgr, dosfstools os-prober mtools

JF049 2022-09-16 23:47:10
JF049 2022-09-16 23:46:02
You haven’t told grub-install where is the mount point of EFI partition

–efi-directory=/efi, for example

The_h3rmann 2022-09-16 23:48:11
in my case –efi-directory=/boot/efi ??
JF049 2022-09-16 23:48:33
Also, the target is –target=x86_64-efi, not what you’ve tried to set. Arch Linux does not support x86 32-bit architecture anymore
JF049 2022-09-16 23:48:56
The_h3rmann 2022-09-16 23:48:11
in my case –efi-directory=/boot/efi ??

If it’s mounted there, then it is.

C0rn3j 2022-09-16 23:50:58
The_h3rmann 2022-09-16 23:41:53
The problem starts when I install grub. I use this command `grub-install –target=x86-efi –bootloader-id=grub_uefi –recheck` but I get fail to get canonical path of airootfs

Try again but this time follow the Wiki.

JF049 2022-09-16 23:52:11
This article, to be specific, yea: https://wiki.archlinux.org/title/GRUB#Installation
The_h3rmann 2022-09-16 23:53:28
JF049 2022-09-16 23:47:10
–efi-directory=/efi, for example

same error

The_h3rmann 2022-09-16 23:55:39
partition efi is /dev/sda2 in my case
C0rn3j 2022-09-16 23:56:52
The_h3rmann 2022-09-16 23:53:28
same error

Show the full command

unboundvariable 2022-09-17 00:02:29
silly question like, if airootfs is mentioned at all, is it even in a chroot?
The_h3rmann 2022-09-17 00:08:30
C0rn3j 2022-09-16 23:56:52
Show the full command

grub-install –target=x86_64-efi –efi-directory=/boot/EFI/ –bootloader-id=grub_uefi –recheck

C0rn3j 2022-09-17 00:14:33
The_h3rmann 2022-09-17 00:08:30
grub-install –target=x86_64-efi –efi-directory=/boot/EFI/ –bootloader-id=grub_uefi –recheck

and you’re chrooted?

The_h3rmann 2022-09-17 00:14:42
C0rn3j 2022-09-17 00:14:33
and you’re chrooted?

yep

C0rn3j 2022-09-17 00:15:16
The_h3rmann 2022-09-17 00:14:42
yep

lsblk -o +fstype

The_h3rmann 2022-09-17 00:18:57
C0rn3j 2022-09-17 00:15:16
lsblk -o +fstype

archlinuxgroup-615641.jpg

C0rn3j 2022-09-17 00:19:43
What makes you think you’re chrooted?
Ларек с нардами 2022-09-17 00:20:09
The_h3rmann 2022-09-17 00:18:57
archlinuxgroup-615641.jpg

Mount efi partition correctly

il_muflone 2022-09-17 00:20:19
C0rn3j 2022-09-17 00:19:43
archlinuxgroup-615641.jpg
What makes you think you’re chrooted?

It was already told him but…

Ларек с нардами 2022-09-17 00:20:48
The_h3rmann 2022-09-17 00:18:57
archlinuxgroup-615641.jpg

You should mount sda2 to /mnt/boot/efi

C0rn3j 2022-09-17 00:21:01
Ларек с нардами 2022-09-17 00:20:09
archlinuxgroup-615641.jpg
Mount efi partition correctly

And use recommended mountpoints.
And create ESP according to minimum recommended values.
And stop following random garbage tutorials, where all of these mistakes originate from.

The_h3rmann 2022-09-17 00:24:19
C0rn3j 2022-09-17 00:19:43
archlinuxgroup-615641.jpg
What makes you think you’re chrooted?

I do arch-chroot /mnt

Ларек с нардами 2022-09-17 00:31:37
The_h3rmann 2022-09-17 00:24:19
archlinuxgroup-615641.jpg
I do arch-chroot /mnt

before arch-chroot fix mount points

The_h3rmann 2022-09-17 00:49:35
Ларек с нардами 2022-09-17 00:31:37
archlinuxgroup-615641.jpg
before arch-chroot fix mount points

failed to get canonical path of /mnt/boot/EFI :S

erfan_sta 2022-09-17 00:50:38
gnome 43 released but in arch is 42!
Ларек с нардами 2022-09-17 00:50:48
The_h3rmann 2022-09-17 00:49:35
archlinuxgroup-615641.jpg
failed to get canonical path of /mnt/boot/EFI :S

Have you created “efi” directory inside /mnt/boot ?

The_h3rmann 2022-09-17 00:52:17
Ларек с нардами 2022-09-17 00:50:48
archlinuxgroup-615641.jpg
Have you created “efi” directory inside /mnt/boot ?

I do, before chroot, mount –mkdir /dev/sda2 /mnt/boot/EFI

Ларек с нардами 2022-09-17 00:52:49
The_h3rmann 2022-09-17 00:52:17
archlinuxgroup-615641.jpg
I do, before chroot, mount –mkdir /dev/sda2 /mnt/boot/EFI

show output
lsblk -f

The_h3rmann 2022-09-17 00:56:36
Ларек с нардами 2022-09-17 00:52:49
archlinuxgroup-615641.jpg
show output
lsblk -f

archlinuxgroup-615654.jpg

Ларек с нардами 2022-09-17 00:57:41
The_h3rmann 2022-09-17 00:56:36
archlinuxgroup-615654.jpg

leave chroot, type: exit

Ларек с нардами 2022-09-17 00:57:52
and then mount
il_muflone 2022-09-17 01:10:25
erfan_sta 2022-09-17 00:50:38
archlinuxgroup-615654.jpg
gnome 43 released but in arch is 42!

When it was released?

erfan_sta 2022-09-17 01:11:52
il_muflone 2022-09-17 01:10:25
archlinuxgroup-615654.jpg
When it was released?

fedora 37 beta use it and somebody on youtube install that on arch too

jonathn 2022-09-17 01:12:39
43 hasn’t been released yet. RC2 was released the other day, final is due out Tues-Thurs next week.
|