You are not logged in.

#1 2021-06-16 17:32:38

toni
Member
Registered: 2011-10-15
Posts: 437

Arch linux not booting after shutdown laptop once X freezes

Hi all!

Currently I have problems when I plug/unplug AC power adapter, X freezes, a black screen is presented with a white cursor blinking at the top left of the screen.
So I have shutdown my laptop by pressing the power button.

Now Arch linux does not boot and also I cannot access to emergency console.

See images attached.

Screenshot 1
Screenshot 2

I have peform following steps to try to solve this but without success:

1.- Using an Arch LiveCD I have accessed to console
2.- Mount lvm partitions and mount boot partition
3.- Perform arch-chroot on mounted directory
4.- Type in passwd root command in order to change root password
5.- exit arch-root
6.- unmount partitions previously mounted on step 2
7.- reboot

And it continues with the same error messages at boot:

Screenshot 3
Screenshot 4

Please, could anyone help me?

Thanks in advance.

Last edited by toni (2021-06-16 19:23:17)

Offline

#2 2021-06-16 20:37:32

seth
Member
Registered: 2012-09-03
Posts: 50,964

Re: Arch linux not booting after shutdown laptop once X freezes

There's a critical blk_update_request error on the 3rd screenshot (but the line is unreadably blurred)
=> what is the UUID (complare "lsblk -f", doesn't seem to be the root device) and check filesystem (which one?) and disk status w/ eg. grml (I'm not sure the arch iso ships smartctl)

Elaborate on the hardware (SSD or HDD, vendor, model, age - see the smatctl output) and filesystem

Online

#3 2021-06-16 23:43:00

toni
Member
Registered: 2011-10-15
Posts: 437

Re: Arch linux not booting after shutdown laptop once X freezes

seth wrote:

There's a critical blk_update_request error on the 3rd screenshot (but the line is unreadably blurred)
=> what is the UUID (complare "lsblk -f", doesn't seem to be the root device) and check filesystem (which one?) and disk status w/ eg. grml (I'm not sure the arch iso ships smartctl)

Elaborate on the hardware (SSD or HDD, vendor, model, age - see the smatctl output) and filesystem

The output for lsblk -f command is below (/dev/sdc is an external hdd drive connected through USB to my laptop and this is where Arch Linux resides):

Screenshot #5 for lsblk -f command

Regarding  the critical blk_update_request error on the 3rd screenshot, it is the same error message shown after getting LiveCD prompt and when doing a journalctl -xb. See below images:

Screenshot #6 - Error shown on LiveCD prompt
Screenshot #7 - Journalctl -xb output

I have passed a short test using smartctl and the result is passed. But I have observed drive contains some bad sectors.

Is there any way to check the drive or repair partition? Through LiveCD I have tried to perform and fsck -a and fsck -r /dev/sdc but it does not work.....

Offline

#4 2021-06-17 05:48:32

seth
Member
Registered: 2012-09-03
Posts: 50,964

Re: Arch linux not booting after shutdown laptop once X freezes

But I have observed drive contains some bad sectors.

Massive. Red. Flag.
Post the output of smartctl.

https://wiki.archlinux.org/title/Badblocks
Secure all the important data on the drive first (not the OS and not your porn collection, but family pictures, thesis drafts, … stuff that isn't currently copied elsewhere. Ok, and maybe the porn.)

Online

Board footer

Powered by FluxBB