You are not logged in.

#1 2023-09-18 18:30:29

b42
Member
Registered: 2023-07-20
Posts: 160

[SOLVED]system does not boot

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

#2 2023-09-18 18:59:08

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED]system does not boot

Sounds like you missed adding "/mnt/" to the path on using genfstab.

Offline

#3 2023-09-18 19:08:17

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

Strike0 wrote:

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

#4 2023-09-18 19:48:04

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED]system does not boot

Ok. lsblk -f will not show you UUIDs in a chroot, you can use blkid for it.

Offline

#5 2023-09-18 20:07:18

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

any ideas what might have gone wrong?

Offline

#6 2023-09-18 20:22:20

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

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

#7 2023-09-18 20:33:44

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

yes, the fact that I appended the fstab is correct.

Here is the output of lsblk -f before chroot:
XjTXBS3

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

#8 2023-09-18 20:39:39

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

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

#9 2023-09-18 21:05:58

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

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

#10 2023-09-18 21:09:13

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

No, "mount /dev/sda1 /mnt/boot; ls -lR /mnt/boot"

Offline

#11 2023-09-18 21:14:54

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

Offline

#12 2023-09-18 21:29:46

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

Looks all sane - do you have secure boot enabled?

Offline

#13 2023-09-18 21:30:09

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

no, my pc does not even support it

Offline

#14 2023-09-18 21:33:56

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

Is is an UEFI system, though?

fdisk -l /dev/sda

Offline

#15 2023-09-18 21:41:38

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

correct

Offline

#16 2023-09-18 21:58:26

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

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

#17 2023-09-19 08:26:07

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED]system does not boot

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

#18 2023-09-19 08:46:25

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

seth wrote:

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

#19 2023-09-19 09:00:09

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

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

#20 2023-09-19 09:14:26

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

fdisk -l /dev/sda

http://0x0.st/HOOP.txt

grub cmd set:
https://ibb.co/fC0ZZxV
https://ibb.co/Zz6W1j8

Last edited by b42 (2023-09-19 09:25:23)

Offline

#21 2023-09-19 09:34:38

seth
Member
Registered: 2012-09-03
Posts: 53,421

Re: [SOLVED]system does not boot

As Strike0 suggested, the partition type is wrong.

Offline

#22 2023-09-19 10:21:35

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

you mean sda1 right? But I am sure I set it as FAT32

Offline

#23 2023-09-19 10:25:02

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED]system does not boot

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

#24 2023-09-19 10:26:07

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

I see. I am left with reinstalling it all again right?

Offline

#25 2023-09-19 10:27:55

b42
Member
Registered: 2023-07-20
Posts: 160

Re: [SOLVED]system does not boot

seth wrote:

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

Board footer

Powered by FluxBB