You are not logged in.

#1 2024-05-03 11:11:29

papundekel
Member
Registered: 2024-05-03
Posts: 1

Failed to mount /boot

I updated the kernel and after I rebooted I get this error:

Failed to mount /boot

I tried

mount /dev/sda2 /boot
mount: can't read superblock on /dev/sda2
dmesg
...
FAT-fs (sda2): error, fat_get_cluster: invalid cluster chain (i_pos 1)
FAT-fs (sda2): Filesystem has been set read-only
uname -a
... 6.8.8-arch-1 ...

/boot is empty, I have not installed anything to it unmounted.


I would appreciate any help.

Offline

#2 2024-05-03 12:35:53

mpan
Member
Registered: 2012-08-01
Posts: 1,221
Website

Re: Failed to mount /boot

Hello and welcome to the forum. smile

The error suggests that the file allocation table is damaged. Either because a single invalid value or because the entire partition has been zeroed.

If that’s only the boot partition for Arch (or ESP used by Arch only), it didn’t contain anything of value. So there is no point in recovering the data. Instead start from scratch. Repeat the installation instructions for setting up the boot loader, optionally including formatting ESP if needed. To repeat images creation, from the chrooted system run `mkinitcpio -P`.

The second part is less pleasant: why was it damaged in the first place? If you experienced power failure or other kind of unclean exit earlier, that may be the cause. But, if not, consider checking if your drive is fine.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2024-05-03 13:26:02

Wild Penguin
Member
Registered: 2015-03-19
Posts: 331

Re: Failed to mount /boot

Since he can boot, there must be an intact ESP somewhere?

Post the output of lsblk, blkid (as root) and /etc/fstab here.

Offline

Board footer

Powered by FluxBB