You are not logged in.

#1 2024-12-29 18:27:49

Brolupyr777
Member
Registered: 2024-12-08
Posts: 16

[SOLVED] Failed to mount /boot

After following this post:
https://bbs.archlinux.org/viewtopic.php?id=269588

I am was able to fix the issue of the /boot partition failing to boot.
The temporary solution I had was running "mkinitcpio -P" on arch-chroot.
A good reference is that my "boot" partition was actually mounted on /boot/efi, which I think might be linked towards the issue. However, the issue started to show up after a failed pacman update, which also might be the issue here.

Here is the output of "journalctl -xb" prior to following the post and disabling the partition.
https://www.codedump.xyz/yml/Z3GTzBznFl21J2vl

I believe I am no longer using the partition, but would like to fix this issue permanently.

Once again the "boot partition" was mounted on /boot/efi, but fstab is showing it as just" /boot"

# UUID=32ccdd74-ba8e-4a7a-a5c9-cf0219fced5a
/dev/sda3               /             ext4          rw,relatime    0 1

# UUID=C859-16F3
#/dev/sda1               /boot         vfat          rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro    0 2

# UUID=15965612-d9ea-4ad2-be63-2cde0af969e2
/dev/sda2               none          swap          defaults      0 0

Thank you for your time!

Last edited by Brolupyr777 (2024-12-30 04:28:35)

Offline

#2 2024-12-29 21:18:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Failed to mount /boot

BOOT_IMAGE=/boot/vmlinuz-linux

You're not bvooting from a boot partition, mounting anything to /boot is wrong.

Once again the "boot partition" was mounted on /boot/efi, but fstab is showing it as just" /boot"

is incredibly unlikely with that fstab…

Chances are, you had mounted sda1 into /boot, installed kernel and initramfs there, ended up booting a dated kernel, lacked the matching version in /lib/modules and when installing/generating kernel and initramfs from the chroot "forgot" to mount sda1 into /boot what luckily intalled everything into the /boot directory on sda3.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

On a formal note, please use [code][/code] tags and NEVER! use "-x" w/ journalctl, it just adds irrelvant and silly noise.

Offline

#3 2024-12-29 21:40:35

Brolupyr777
Member
Registered: 2024-12-08
Posts: 16

Re: [SOLVED] Failed to mount /boot

seth wrote:

You're not bvooting from a boot partition, mounting anything to /boot is wrong.

So should I then get rid of the boot partition all together?

Offline

#4 2024-12-29 21:44:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,669

Re: [SOLVED] Failed to mount /boot

The boot partition entry, yes.
If sda1 is your ESP, wiping it will get you into trouble, but it would got into /efi or /boot/efi, https://wiki.archlinux.org/title/EFI_sy … unt_points
You can also use sda1 as your boot partition (and ESP) if it's of sufficient size, but will have to update your bootloader config accordingly.

Offline

#5 2024-12-30 04:28:13

Brolupyr777
Member
Registered: 2024-12-08
Posts: 16

Re: [SOLVED] Failed to mount /boot

Alright, thank you so much for your help!

Offline

Board footer

Powered by FluxBB