Ubuntu upgrade from 20 to 22 made the computer unbootable. Recovery process?
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu upgrade from 20 to 22 made the computer unbootable. Recovery process?
I had 20.xx running really well and decided to uprade to 22.xx latest-greatest, ran the upgrade command and sometime after the machine froze, or almost froze - would not accept my login password at the lock screen. I left it disconnected from the monitor and external power overnight but did not force shutdown. The next day I get the "Oh no. Something has gone wrong and your system cannot recover, contact your systems administrator".
I have a live version of Ubuntu 22 on a flash, trying to boot off of it. What is the key to boot of the flash? I see it's F12 but it's not responding properly, I am not seeing boot options. F2 to get into BIOS is protected by a password. (Which I don't need to go into anyway) I got this machine with Ubuntu per-installed.
Distribution: Ubuntu based stuff for the most part
Posts: 1,173
Rep:
Have you tired booting into the recovery kernel from the grub menu? That should get you into a basic text prompt where you might be able to run some commands.
Well, the easy way ... since you backed up all the data you wanted to save 'before' you upgraded... right? Therefore just install 22.04 and copy over your data from one of your recent backups. Done. That is my way of 'fixing' upgrade problems, as upgrades are known to fail now and then! I believe one of the first steps mentioned is 'backing' up your data before upgrading. Where you 'may' run into problems is if secure boot is enabled, and you can't disable it in BIOS because it needs a password to get there .... catch 22. Someone more knowledgeable may get into this conversation and help you out.
You haven't indicated any attempt I can see to use text-mode shell prompts to use installed system. At the Grub menu, strike the E key and append a space and a 3 to the linu line, then proceed with the boot. With any luck, you'll find yourself with 5 or 6 shell prompts available (via Alt-F[1-6]) on which you can login to collect and examine logs to try and determine what went wrong, and attempt repair. "Oh no. Something has gone wrong" generally means something has gone wrong the the X window system that GDM and/or Gnome cannot cope with.
Have you tired booting into the recovery kernel from the grub menu? That should get you into a basic text prompt where you might be able to run some commands.
I am there. Looking at various log files in /var/log. Thus far nothing jumps at me.
Well, the easy way ... since you backed up all the data you wanted to save 'before' you upgraded... right? Therefore just install 22.04 and copy over your data from one of your recent backups. Done. That is my way of 'fixing' upgrade problems, as upgrades are known to fail now and then! I believe one of the first steps mentioned is 'backing' up your data before upgrading. Where you 'may' run into problems is if secure boot is enabled, and you can't disable it in BIOS because it needs a password to get there .... catch 22. Someone more knowledgeable may get into this conversation and help you out.
Yes, I have the secure boot enabled and I can't disable it in BIOS because I do not have the password.
How do I unscrew the X problem? The filesystem is fine, but X Windows got screwed up.
I resolved the problem, from the safe mode, chose the option to repair the filesystem (whatever it's actually called). Then ran the update command from the shell (without xorg). Then rebooted.
It's back.
I am on Ubuntu 22 latest-greatest.
I followed the official procedure here and it hang in the middle of the process. I don't know what happened. The screen locked, and it would not accept the password. I left it in that state overnight, it did not progress anywhere beyond that locked and inaccessible screen, then did a reboot and it was hosed.
It hosed the X-server as it turns out. I could get into the single user mode but every attempt to startx would end up with a stuck mode. They need to do a reality check before starting startx with a bad config file or some defective files or whatever.
and the upgrade should not have hosed X to begin with.
There is a bug they need to address. Looks like multiple bugs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.