You are not logged in.

#1 2022-11-22 04:20:46

a3k
Member
From: Egypt
Registered: 2022-11-22
Posts: 4
Website

[SOLVED] Can't boot after update failure

Hi, I was updating and my pc froze while timeshift was taking a backup. So I had to restart it after waiting for long time with no change.
But I found this message "Reboot into firmware interface".

I'm using arch + BTRFS + systemd-boot

I have my live arch iso ready to fix it hopefully.

What info should I give? And what should I do next?

Last edited by a3k (2022-11-22 12:34:14)


i7-7700 - 16GB dual channel DDR4 RAM - Nvidia GTX 1050 - 128 GB SSD + 1TB HDD - Gigabyte b250m
Archlinux - BtrFS - KDE plasma

Offline

#2 2022-11-22 06:59:15

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [SOLVED] Can't boot after update failure

Welcome to the forums.

Boot into the ISO, mount your partitions and check or post pacman.log to see what was done and at what point the update got interrupted. If you can arch-chroot into the system and run pacman -Syu, that would be ideal. However, this may not work, so you may need to run pacman without chrooting. But I'd try the chroot first. You may also need to reinstall your kernel as this is a likely cause of your not booting.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-11-22 09:00:10

a3k
Member
From: Egypt
Registered: 2022-11-22
Posts: 4
Website

Re: [SOLVED] Can't boot after update failure

cfr wrote:

Boot into the ISO, mount your partitions and check or post pacman.log to see what was done and at what point the update got interrupted.

Not much information
"Running pacman -Syyu"
"Synchronizing package list",
"Starting full system upgrade".
That's it!

cfr wrote:

If you can arch-chroot into the system and run pacman -Syu, that would be ideal. However, this may not work, so you may need to run pacman without chrooting. But I'd try the chroot first.

Using arch-chroot gives me error
"couldn't determine cachedir mount point /var/cache/pacman/pkg"
"Failed to commit transaction (not enough free disk space) "

I confirm "/var/cache/pacman/pkg" exists using "ls"


i7-7700 - 16GB dual channel DDR4 RAM - Nvidia GTX 1050 - 128 GB SSD + 1TB HDD - Gigabyte b250m
Archlinux - BtrFS - KDE plasma

Offline

#4 2022-11-22 09:03:25

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] Can't boot after update failure

Boot into live envirnoment, mount partitions, go with (ouside chroot):

# pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-11-22 09:49:13

a3k
Member
From: Egypt
Registered: 2022-11-22
Posts: 4
Website

Re: [SOLVED] Can't boot after update failure

d.ALT wrote:

Boot into live envirnoment, mount partitions, go with (ouside chroot):

# pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu

This works but I got a new error with btrfs-autosnap so I removed it and ran the command again and it updated everything

Now the same og issue still exist!

When I try to boot, I have no option but to reboot to firmware setup screen


i7-7700 - 16GB dual channel DDR4 RAM - Nvidia GTX 1050 - 128 GB SSD + 1TB HDD - Gigabyte b250m
Archlinux - BtrFS - KDE plasma

Offline

#6 2022-11-22 11:11:36

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

Re: [SOLVED] Can't boot after update failure

The bootloader or kernel isn't present in the ESP  - you'll have to make sure to explicitly fix that (which depends on how you actually configured the boot process, eg. grub or systemd-boot or whatever)

Offline

#7 2022-11-22 12:33:16

a3k
Member
From: Egypt
Registered: 2022-11-22
Posts: 4
Website

Re: [SOLVED] Can't boot after update failure

Thanks everybody, I was able to fix this problem by chrooting into my root partition, Ran `bootctl install` and `bootctl update` then Commented out `CheckSpace` in `/etc/pacman.conf` which was causing all pacman operations to fail due to not enough space error, then I reinstalled the kernel, after a reboot, the bootloader showed up again, I launched TTY mode by appending 3 to the boot options, and reinstalled `nvidia-470xx-dkms` then rebooted and now I'm writing this from my PC.

I love Arch BTW smile


i7-7700 - 16GB dual channel DDR4 RAM - Nvidia GTX 1050 - 128 GB SSD + 1TB HDD - Gigabyte b250m
Archlinux - BtrFS - KDE plasma

Offline

Board footer

Powered by FluxBB