You are not logged in.
Hello,
I am very, very new to Arch Linux, yet I already managed to screw up my kernel.
I have Arch installed on a separate nvme-drive in my machine and after the last pacman kernel - update I somehow managed to trip up the kernel.
After selecting the Arch distro - in grub I was greeted with the following message:
Loading Linux linux error: invalid cluster 0
Loading initial ramdisk error you need to load the kernel firstAfter some digging I was able to successfully mount the filesystem with the live-usb stick and got the internet to work.
However after attempting to reinstall the kernel using:
sudo pacman -S linuxI get an error:
install: cannot create regular file '/boot/vmlinuz-linux': Read-only file system
error: command failed to execute correctlyThis is strange since the root-user should have permissions to r/w after mounting right?
Any suggestions would be helpful Thank you.
Last edited by baconStrips (2022-09-30 23:02:07)
Offline
I somehow managed to trip up the kernel.
HOW?
Also:
* Is grub from installed Arch, or from other OS?
* What is the filesystem for /boot? is it the same partition as /?
* Did you try to fsck the filesystem?
Offline
I was able to successfully mount the filesystem with the live-usb stick
Also check the dmesg/journal for IO errors leading to a ro re-mount and https://wiki.archlinux.org/title/SMART
Offline
Thank you @astralc and @seth, for the quick response.
fsck-ing the filesystem after mounting it was the way to go - there was a faulty sector that was updated.
Thanks!
Offline