You are not logged in.
I just did a fresh Arch install and I must have done something wrong with the bootloader.
After the reboot I was not put to GRUB menu, once I chroot
lsblk -f
does not show filesystems or UUIDs
I have onced installed it successfully, wanted to try it again and I could not make it.
Any suggestions where to start to look for a mistake?
Last edited by b42 (2023-10-16 14:17:29)
Offline
Sounds like you missed adding "/mnt/" to the path on using genfstab.
Offline
Sounds like you missed adding "/mnt/" to the path on using genfstab.
I checked /mnt/etc/fstab and there is the appropriate data there.
I ran
genfstab -U /mnt >> /mnt/etc/fstab
again and lsblk -f still does not show neither UUID nor fs.
Offline
Ok. lsblk -f will not show you UUIDs in a chroot, you can use blkid for it.
Offline
any ideas what might have gone wrong?
Offline
Your fstab will not impact grub, but you seem to have shredded it by appending the genfstab output?
What is the output of "lsblk -f" *before* any chroot and how exactly did you install grub?
https://wiki.archlinux.org/title/GRUB
nb. that there's differences between UEFI/BIOS and GPT/MBR setups.
Offline
yes, the fact that I appended the fstab is correct.
Here is the output of lsblk -f before chroot:
To install grub I did:
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
and then
grub-mkconfig -o /boot/grub/grub.cfg
Offline
https://i.ibb.co/ZGCdsWY/PXL-20230918-202719745.jpg
Did you do that from the chroot and did you mount /dev/sda1 into /mnt/boot before?
What are the contents (ls -lR) of sda1 and the /boot directory on sda2/kripted (when not having sda1 mounted there)?
Please don't post screenshots, you can use the tip in the 1st link below to redirect the output into a pastebin service.
Offline
yes,
I was chrooted when I did that, and yes, /dev/sda1 had already been mounted to /mnt/boot
ls -lR /dev/sda1:
https://0x0.st/HOLx.txt
/mnt/boot without sda1 mounted there is empty
Offline
No, "mount /dev/sda1 /mnt/boot; ls -lR /mnt/boot"
Offline
Offline
Looks all sane - do you have secure boot enabled?
Offline
no, my pc does not even support it
Offline
Is is an UEFI system, though?
fdisk -l /dev/sda
Offline
correct
Offline
Next to the fdisk output, in the grub menu of the iso, press "c" and enter "set".
Post that output as well (you'll have to take a photo here, that's ok)
You can also try to re-run grub-install in case anything went wrong there the first time (look out of errors)
Offline
You answer "correct" in #15, but perhaps you did not set partition type "EF00" for /dev/sda1? It should show "EFI system" for fdisk -l /dev/sda
Also have a look into the bios, if it has a "CSM/compatibility mode" set instead of UEFI. The ISO will boot from both, so you can set it to UEFI.
Offline
Next to the fdisk output, in the grub menu of the iso, press "c" and enter "set".
sorry, I did not understand what do you mean by that.
I have already rerun grub install with grub-mkconfig and that did not help
Offline
I "mean post the requested outputs"
I asked for fdisk in #14 (not some recap, I mean the actual, complete output) and pressing "c" in grub gets you the grub commandline.
Enter set, take a photo of the ouptut and post that.
Offline
fdisk -l /dev/sda
grub cmd set:
https://ibb.co/fC0ZZxV
https://ibb.co/Zz6W1j8
Last edited by b42 (2023-09-19 09:25:23)
Offline
As Strike0 suggested, the partition type is wrong.
Offline
you mean sda1 right? But I am sure I set it as FAT32
Offline
It was correct to format it as FAT/FAT32, but the partition TYPE must be EF00 (EFI System Partition).
https://wiki.archlinux.org/title/EFI_sy … _partition
Offline
I see. I am left with reinstalling it all again right?
Offline
As Strike0 suggested, the partition type is wrong.
may I ask where did you find it? Could you elaborate on this matter please?
Last edited by b42 (2023-09-19 10:28:09)
Offline