this post was submitted on 24 Feb 2025
16 points (76.7% liked)

Linux

50548 readers
1286 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So I installed Ubuntu on a HP laptop, I was upgrading to a new version and the installation got stucked. I rebooted the PC and now it tells me that something went wrong, if I get to the login screen It enters a loop. I think that I'm entering the right username but It gives me login incorrect, I know the password is correct. So what do I do now? I'll appreciate any help you can give me.

all 10 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 day ago

If you didnt encrypt the drive you can spin up a live usb transfer your files to an external hardrive and reinstall?

[–] [email protected] 32 points 4 days ago (2 children)

My suggestion would be to use an Ubuntu installer ISO to get access to your broken system so you can backup anything important and then reinstall Ubuntu. It will just be faster than trying to salvage a broken upgrade

[–] [email protected] 12 points 4 days ago (1 children)

Ah, the ancient ritual persists.

[–] [email protected] 1 points 3 days ago

Sometimes blowing everything up is easier. And more fun!

[–] [email protected] 4 points 4 days ago

Adding that this would work even if OP uses full disk encryption, as it's encrypted with a passphrase; just double-click the drive in the file manager and enter the encryption passphrase when prompted (NOT a sudo password!)

[–] [email protected] 17 points 4 days ago (1 children)

Can you switch to console? Try ctrl+alt+F2 when the system is booted up and log in to that.

I suppose some package update was interrupted or crashed. You can attempt to re-run what's missing with 'sudo apt-get install' and 'sudo dpkg-reconfigure -a'. And, assuming your console access works, you can at least check log files on what's wrong, but for that I don't think any generic 'read /var/log/syslog' file is too helpful as there's a ton of stuff and with things like journalctl it's pretty difficult to navigate around if you don't know what you're looking for.

And also, more details would be helpful. What you mean by 'enters a loop', what it actually says that went wrong and so on.

[–] [email protected] 2 points 3 days ago

This is good info OP, this is the basics of how you fix it

[–] [email protected] 9 points 4 days ago

I had a similar issue a few years back and I fixed it by entering TTY2 by pressing Ctrl+Alt+F2 and figuring out what broke via the terminal. My issue was that xorg couldn't start because some dependencies broke after installing an update.

[–] [email protected] -3 points 4 days ago

Bad advice, my apologies. But, I've had great success with LLMs to tackle such problems. Be cautious. However, if you've got no time to waste, then it might be your best option.