You are not logged in.

#1 2023-03-27 08:11:54

vautrin
Member
Registered: 2023-03-27
Posts: 3

[SOLVED] Cannot access arch partition after failed kernel update

Hello everyone,

I'm facing an issue while trying to access my arch linux partition after an aborted kernel update. My laptop battery died during the installation process, and ever since then, I haven't been able to access my arch partition. I have tried several solutions, but none of them seem to be working.

When I turn on my laptop, it only shows the "Reboot into firmware interface" option, and nothing else. I tried chrooting into my arch partition, reinstalling the kernel from the pacman cache, and reinstalling GRUB, but it still doesn't work.

However, I can see the bootloader-id in my boot device options, but when I select it, it says "error: disk cryptouuid not found."

Can anyone please suggest a solution to this problem?

Thank you !

Last edited by vautrin (2023-04-12 21:34:38)

Offline

#2 2023-03-27 23:06:56

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] Cannot access arch partition after failed kernel update

when you say "aborted kernel update" are you referring to a full system update (pacman -Syu) ?
if so, how far did the update get ? and what was the list of packages in the update ?

Offline

#3 2023-03-27 23:10:18

vautrin
Member
Registered: 2023-03-27
Posts: 3

Re: [SOLVED] Cannot access arch partition after failed kernel update

jonno2002 wrote:

when you say "aborted kernel update" are you referring to a full system update (pacman -Syu) ?

Yes, it was updating the kernel + some packages.

jonno2002 wrote:

if so, how far did the update get ? and what was the list of packages in the update ?

Downloading was done, it was during the installation phase.
I really don't remember any of the packages...

Offline

#4 2023-03-28 03:04:54

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] Cannot access arch partition after failed kernel update

have a read of this: https://wiki.archlinux.org/title/Pacman … an_upgrade
if you get stuck ask back here

Offline

#5 2023-04-12 21:27:28

vautrin
Member
Registered: 2023-03-27
Posts: 3

Re: [SOLVED] Cannot access arch partition after failed kernel update

jonno2002 wrote:

have a read of this: https://wiki.archlinux.org/title/Pacman … an_upgrade
if you get stuck ask back here

Hey, sorry for the late response. I just managed to fix my issue. Turns out the problem was with systemd-boot, not GRUB!

Here's what I did to resolve it:

_ Mounted my root partition with /dev/sdX to /mnt.
_ Mounted my /boot partition with /dev/sdaY to /mnt/boot.
_ Chrooted into my Arch Linux installation with arch-chroot /mnt.
_ Installed the linux and mkinitcpio packages using pacman -S linux and pacman -S mkinitcpio.
_ Regenerated the initramfs with mkinitcpio -P.
_ Updated the systemd-boot configuration with bootctl --path=/boot update.

And voila, the problem was resolved! Thanks!

Offline

Board footer

Powered by FluxBB