Ubuntu 24.04 System Can't Recover!

I had been told my Ubuntu 24.04 package manager was a complete mess and that I should do a clean install of the operating system. Before I could find how to save everything I didn’t want to lose, the computer stopped working. Now, when I turn on the power, I get a screen that shows an image of a monitor with an unhappy face and the text: ‘Oh no! Something has gone wrong. A problem has occurred and the system can’t recover. Please contact a system administrator.’ I can’t do anything with this screen: the keyboard does nothing and there’s no mouse cursor.

I contacted a local organisation that helps people with computer problems and they told me it would be too much trouble finding the problem and seeing if it could be fixed, and instead just gave me another laptop that they installed Ubuntu on. I’ve been getting this old ThinkPad set up and it’s okay, but I can’t believe I’ve wrecked the other machine beyond repair. I can open a terminal with the keyboard, but I don’t know what to do in there to see just how messed up I’ve made it, and whether I can do anything about it. Ideally I’d like to save some files before abandoning it, but if I can’t do that I’d like to at least be able to install a new OS.

I suspect it was while trying to learn how to run commands that I messed everything up. I’m really leery of mucking around in the terminal and making things worse. Is there a simple and straightforward diagnostic and hopefully a way to recover at least some functionality? I had Timeshift on there if that makes a difference. Any suggestions for an inexperienced user would be greatly appreciated.

Thank you.

2 Likes

To recover files, I would boot a live linux on a USB drive, mount your disk, and copy the files you want to save onto maybe another USB drive.

You say you have Timeshift. Can you wind it back to where your system was before you upset it?

Failing that, yes, a fresh install is the easiest way to fix the problem.

6 Likes

Can you take the old disk out and put it in a external drive to allow you access to get to the disk ?

More details i can provide if needed.

2 Likes

I have a device for that, the only thing, you will have to have is another Linux PC to open the disk and retrieve the files!!!

3 Likes

Thats just what I was thinking of suggesting

1 Like

@nevj @callpaul.eu @4dandl4 When I insert a USB drive I see nothing different on that error screen. How can I wind back Timeshift? I don’t know the correct terminology to describe the issue. There’s no start screen, no login screen, no graphical user interface at all. I’ve never tried opening the laptop. I’d rather avoid digging into the hardware until sure there was no less invasive alternative. Would it require extensive knowledge of working in terminals to be able to see in there what has gone wrong, and possibly to perform any actions that could make the computer usable again? At this point, I’m prepared to give up all my files as lost, but I’m still hoping the computer can be made to work with a new system. If the only answer is to remove the HDD, would replacing it with a new one allow me to boot up another OS from a USB drive?

1 Like

Is it a live linux on the usb drive?
Does the usb drIve boot?
Does anything appear on the screen?

2 Likes

Just before Neville continues

When you switch on the computer can you try to get into the bios ?

Pressing F2 or f10 as it starts should take you there, then to the boot options and change the boot order to start on usb

If not sure when you get to the bios take a photo and upload it so we can guide more

2 Likes

@frankp

Does the PC do a post-up screen @ boot?

2 Likes

@nevj @callpaul.eu @4dandl4 I pressed the power button, then F2, and saw nothing. Then I pressed F10 – still nothing. Then I pressed F10 many times in rapid succession, just to see if anything would happen. After several seconds, many lines of text appeared on the screen, then many more lines which scrolled out of sight faster than I could try to read. When that finished the screen went dark. After many more seconds, the ‘Oh no’ screen came on. F2 or F10 seem to do nothing there. I inserted the same USB stick, with Ventoy, that was used to install Ubuntu 24.04 before, but saw nothing else. There’s no sign of the BIOS screen. I appreciate all the helpful suggestions. Maybe I’m not following directions correctly. Any more ideas? Many thanks.

1 Like

What make and model is your computer

Some bios need different key to enter

1 Like

On my ancient HP ProBook, I have to multiply hit ESC after powering up to get the initial menu.

1 Like

That sounds to me like the Power On Self Test (POST) is finding an error.
What do others think?
If so, there might be defective hardware.

1 Like

Try pressing Ctrl-c during this text-scrolling. Maybe it stops so that you can read something.

After this “Oh no!”, is there any console available? Try Ctrl-Alt-F1.

Edit: I just got this:

4 Likes

Although that may work if the system is trying to start

If afterwards its needed to replace install need to get to the bios to mount the usb to do more

But if done early could get into the stat up process before ubuntu loads and run checks or advanced start.

Thinking of fsck etc

I have to redact that… @abu 's link says that it has reached the stage where Ubuntu boots and has an error with the Display Manager (gdm).
The normal way to deal with DM problem is to use a live flash drive, mount the internal disk root file partition, find the gdm binary, and temporarily rename it. Then logout of the live system, boot, and it should boot to a console login.

2 Likes