LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2024, 06:02 AM   #1
Umaidand
LQ Newbie
 
Registered: Apr 2024
Posts: 1

Rep: Reputation: 0
I can't login into my desktop


I run my arch on gnome and was updating the system. The system froze during update, I tried waiting but nothing worked so I used the power button to turn it completely off. When I tried loging in it started giving me :- https://imagebin.ca/v/7zErQblLuBss

Now I went through guides online they said using Ctrl alt f2 etc but that didn't work. Other said to use live iso and use mount and chroot so went and did that, I couldn't do it at first and faced various problems but atlast I successfully did and one command updated the system.

mount /dev/nvme0n1p2/mnt
mount /dev/Nvme0n1p2 /mnt/boot
arch-chroot/mnt
Pacman -Syu

I was trying to use commands to mount and chroot but I couldn't go pass the second command, idk why after trouble shooting I used this command

pacstrap /mnt base linux linux-firmware

And it triggered an update and after the update I tried
Arch-chroot/mnt
And Pacman -Syu

And rebooted and the problem is still there

This is the picture commands I did after trying again
https://imagebin.ca/v/7zF8WaXU0vW4

All of this but the problem at the top still persists
https://imagebin.ca/v/7zErQblLuBss

I have important data on the drive, If I couldn't recover the system I would still want the data from the drive. If you know how to solve this kindly help me or help me to recover my data, thanks.
 
Old 04-21-2024, 07:06 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,535

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
I used the power button to turn it completely off.
Always a bad idea. Try the REISUB method explained at the link below next time.

https://gist.github.com/genyrosk/795...48561966d48ebf

It appears that your update has completed but the system was damaged somehow.

Quote:
All of this but the problem at the top still persists
What does that mean? The top of what? Are you referring to the messages in your image?

Quote:
I have important data on the drive, If I couldn't recover the system I would still want the data from the drive
Does that mean you do not have a backup?

Your update seems to have worked and now you are unable to login, is that the current status?
 
Old 04-21-2024, 01:23 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,140
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
Might want to boot up a live session of gparted and run a check on files in gparted.

I've fixed a couple a boot problems doing this.

Just be sure the partition in question to be checked is unmounted first.

After I did this. Login worked like it should. Won't hurt anything to try this.
File checks are safe when unmounted.

Last edited by rokytnji; 04-21-2024 at 01:25 PM.
 
Old 04-21-2024, 08:10 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I second rokytnji's advice. While in a live session, you might also look at the log files, particularly /var/log/boot.log or equivalent (perhaps messages or syslog). It might give more detail as to what precisely is going wrong.
 
Old 04-21-2024, 09:29 PM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,174

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Try booting the system into recovery mode. This guide has the steps: https://www.linuxtechi.com/boot-arch...e-rescue-mode/
Once you are in you can try running your update again to see if that fixes things.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 09:20 AM
how to disable "last login log" & disable "last login message" when start login. hocheetiong Linux - Newbie 4 02-08-2011 05:35 AM
[SOLVED] unable to login from console f1 to f6. But able to login into GUI in f7. ashwin_cse Red Hat 4 04-22-2010 09:26 AM
Cant login into Hardy...Screen hangs up at login screen linuxlover.chaitanya Ubuntu 5 12-23-2008 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration