I've been experiencing a really frustrating #linux thing recently, where my computer crashes and refuses to reboot bc it crashed at the reboot, something abt
'ystemd Freezing Execution'
at boot..
very rarely, it'll boot again, bit this is frustrating and i'm not sure how to fix short of a reinstall, which I don't want to do this time for several reasons.

Help me sr linux nerds!
wtf is happening???

@FOSSingularity What flavor of Linux? Ubuntu, Fedora, something else?

@jjdavis Ubuntu 22.04, I'd post some kind of screenshot if I could, but yeah

@FOSSingularity Unfortunately one distinct possibility is the hard drive is starting to fail (e.g. askubuntu.com/questions/141931). If you have some way of backing up the computer, or at least your /home directory, to an external disk or USB stick, then that's probably prudent.

@falken @FOSSingularity If you do have a bootable Ubuntu USB stick (ubuntu.com/tutorials/create-a-) then you can try a last-ditch attempt to repair the disk, though I've never had great results with that. Anyway (I'm trying not to be all Reply Guy and still get the info right, it's a little fiddly):

- boot the computer off of the USB stick and open a terminal window (You may have to search for 'terminal' or such to find one, I don't think there will be a terminal icon on the desktop by default)
- I don't remember if you're root by default; it won't hurt to run 'sudo -i' in that terminal window, just in case
- in the terminal run 'lsblk' and see if you can identify the (real) disk on your computer -- it's /dev/sdd now but may be called something different after rebooting. lsblk shows the size of the filesystem so you can probably guess which one it is
- if it's, say /dev/sda then try running 'fsck -y /dev/sda' in the terminal window and hope for the best!
Even if that does work I'd try to back up any files you need ASAP.

@jjdavis @FOSSingularity last time I saw similar, and it was a solid state disk, it mounted OK either in an external enclosure or from live USB, but would die till power off as soon tried to write to it, hence boot issue. But still, time to test ya backups :-\

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.