You are not logged in.

#1 2019-02-17 17:24:56

erbridge
Member
Registered: 2014-08-02
Posts: 5

Unable to boot after power failure during package upgrade

I am having issues booting after power failure during

pacman -Syu

My initial thought was that the issue was caused by a Linux update that was interrupted, but booting into the Arch ISO, mounting the root partition, and lsing the moint point hangs with some I/O errors, so I couldn't get the point of rebuilding the image. Any ideas of how to diagnose this? Is this a dead SSD?

The error during normal boot is

ERROR: device '/dev/sda2' not found. Skipping fsck.

EDIT: I should add that the boot partition is on the same disk, and appears to be working fine.

Last edited by erbridge (2019-02-17 17:37:27)

Offline

#2 2019-02-17 18:43:09

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: Unable to boot after power failure during package upgrade

Please post the output of dmesg containing the IO errors and the output of a S.M.A.R.T test if the device supports it.
If not just `smartctl -a /dev/$device` either in code blocks or to a pastebin.

Last edited by loqs (2019-02-17 18:43:17)

Offline

#3 2019-02-17 21:43:00

erbridge
Member
Registered: 2014-08-02
Posts: 5

Re: Unable to boot after power failure during package upgrade

The SMART self test seems to have passed: https://ptpb.pw/OUOj

I can't get input to work in the emergency shell (this has always been an issue), so can't get the dmesg from that, but from the Arch ISO:

$ fdisk -l

Output: https://ptpb.pw/Gc9O

$ mount /dev/sda2 /mnt
$ fdisk -l

The second fdisk call hangs. The output of dmesg a few minutes later: https://ptpb.pw/5PoI

Offline

#4 2019-02-17 22:40:34

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Unable to boot after power failure during package upgrade

Linux version 4.13.9-1-ARCH

https://bugzilla.redhat.com/show_bug.cgi?id=1531966#c6 but please try w/ a recent kernel/iso.

Offline

Board footer

Powered by FluxBB