Ubuntu locks up

Kyle899

New Member
Joined
Nov 30, 2025
Messages
1
Reaction score
0
Credits
15
I have an install of ubuntu that will boot but locks up after about 1 minute. I have LVM raid on this which is why I'm trying to rescue this install. The computer has been in a closet for a few years, I have been moving and stuff. It is 18.04 LTS. I have done a memory test and it ran fine and all checked good. I have now installed ubuntu on a live usb and had it running for a good hour with no issues, so does not seem like it is a hardware issue. I think my best bet at this point is if I can recover that from the live usb. Is that possible? Or is there a way to do a selective boot since it seems to be a software issue?
 


Ubuntu 18.04 reached end of life in May 2023

time to upgrade.

Locking up may be because of heat?...accumulated dust?

What do you need to recover ?
I think my best bet at this point is if I can recover that from the live usb.
Recover what ?

More detail, please
 
18.04 LTS reached its end of life earlier this year, so a fresh installation of the latest LTS is recommended.
can recover that from the live usb. Is that possible
I presume you mean personal files & folders [picture music games etc] I have done it on many occasions [but if you have encrypted anything it may be different,[I don't encrypt]
I have a large USB3 external drive which i can use for capture the basics are
connect the external drive and the live ISO and boot the ISO to test mode, open the file manager at the bottom of the list it will have several entries volume XXX, volume YYY USB 32GB USB 500 GB, where the 32 gb is the iso and the 500gb is the external drive, now you check to see on the volume entries which has your home folder on it open it and find what you want to save, then keeping that page open a second file manager for the storage drive [ctrl +left click on the icon] and You can drag and drop your folders/files from one to the other.
 
Last edited:
You can definitely do a consistency check on the RAID LVM and filesystems from the live USB, and also mount it read-only to recover data from it as exampled by @Brickwizard. I would be careful to try "recover/dist-upgrade the 18.04 install" this way, that can go wrong easily.
 
Hmm...

If we look at the root of the problem, which is that it's rebooting after a minute of activity, I wonder if there's an issue with the CPU getting too hot and shutting off. You did do a RAM check, but I'm not sure how hard that pegs the CPU. If it's a light enough load on the CPU, it may not be getting too hot for the thermal protections to kick in.
 
You did do a RAM check, but I'm not sure how hard that pegs the CPU.
The memtest stresses the CPU, but the Ubuntu live probably has sensors installed - so they can stress it even more and look at the temperatures. It can also be a shutdown due to excess power draw, which should be highest at boot when the HDD spin up to assemble the RAID. That's something that is not happening from the live ISO boot.
 
It would be helpful if you install inxi
Code:
sudo apt install inxi
Then once installed run the command in a terminal
Code:
inxi -Fxxzr
And post the output here. That will tell us a lot.
I'm not sure is ubuntu 18 came with Inxi already installed or not.
Heat could certainly be the cause. for this behavior. But as already mentioned 18 is end of life and should be upgraded.
 
The memtest stresses the CPU, but the Ubuntu live probably has sensors installed - so they can stress it even more and look at the temperatures. It can also be a shutdown due to excess power draw, which should be highest at boot when the HDD spin up to assemble the RAID. That's something that is not happening from the live ISO boot.

That's where I'm leaning, but I don't have enough information to state it conclusively. I'm not sure how to get good information in just 60 seconds. Perhaps they can try a very lightweight distro with sensors installed. They could also take the cover off and make sure everything is cleaned and well-connected.
 
 
Ditto on that. I can give you a hand, Ray, if you give me a list.

Chris
 
Perhaps they can try a very lightweight distro with sensors installed.
The OP said they had Ubuntu live ISO running for hours without issue, that's why I suggested to consistency check the filesystems from it. AFAIK they could simply install lm_sensors while that is running. Then execute sensors or watch -n 1 sensorsand see how it fares.

(edit: the live ISO may actually show the raid devices, but it certainly won't do a filesystem check on them automatically - that's something that may happen and fail on booting the real system.)
 
Last edited:


Follow Linux.org

Members online

No members online now.

Latest posts

Top