LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-08-2020, 06:32 PM   #76
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by colorpurple21859 View Post
Most of the items I look at to figure out what is wrong you have already posted.
ok no problem just an idea that come to my head.

http://onehammer.com/IMG_20200207_212649.jpg

Actually the way it behaves- first it flashes that top line, "/dev/sd3 clean", then goes to the purple screen, then goes back to terminal and prints the prompt under it that line.
 
Old 02-08-2020, 06:32 PM   #77
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
I have one more idea
boot the live iso, mount /dev/sda3 to /mnt and sda1 to /mnt/boot/efi
run the mount --bind commands and chroot into the system, edit your /etc/resolv.conf so you don't get resolve error.
run
apt-get update
 
Old 02-08-2020, 06:35 PM   #78
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
what happens if you type systemctl default
 
Old 02-08-2020, 06:40 PM   #79
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Woa! systemctl default makes the screen go black and flash lines of text all over and then the session dies!

Ok did you mean to try that after I bind and chroot?
 
Old 02-08-2020, 06:41 PM   #80
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
at the emergency prompt login and run
Code:
dmesg |less
post the last several lines of code.
and
Code:
journalctl -xb

Last edited by colorpurple21859; 02-08-2020 at 06:45 PM.
 
Old 02-08-2020, 06:49 PM   #81
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
Ok did you mean to try that after I bind and chroot?
no, at the emergency prompt
 
Old 02-08-2020, 06:51 PM   #82
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Code:
ubuntu@ubuntu:~$ ls /mnt
bin    etc             lib         mnt   run   swapfile.bak                      usr
boot   home            lib64       opt   sbin  sys                               var
cdrom  initrd.img      lost+found  proc  snap  tmp                               vmlinuz
dev    initrd.img.old  media       root  srv   ubuntu-18.04.3-desktop-amd64.iso
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot/efi
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /dev/pts /mnt/dev/pts
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo mount --bind /run /mnt/run
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# echo "nameserver 2.2.2.2" >> /etc/resolv.conf
root@ubuntu:/# apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [851 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [641 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [297 kB]        
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [294 kB] 
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB] 
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB]   
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB]    
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [30.0 kB] 
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [7888 B]  
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [204 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2464 B]
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [451 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2464 B]
Get:24 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4028 B]
Get:25 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [4028 B]
Get:26 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [8284 B]
Fetched 3800 kB in 1s (2806 kB/s)                                        
Reading package lists... Done
root@ubuntu:/#
 
Old 02-08-2020, 06:55 PM   #83
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Ok I'll go back in and try the dmesg |less thing. Anything else before I go back in?

Oh you want journalctl -xb I just noticed your edit. it's 60 pages long- I've got an idea- since I'll be root I can write the output to disk rather than take some stupid screencaps, right? So:

dmesg > /dout.txt
journalctl -xb > /jout.txt

Right?

well if that won't work I can journalcrtl -xb | tail -50

Last edited by Rotwang2; 02-08-2020 at 07:03 PM.
 
Old 02-08-2020, 07:10 PM   #84
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
well anyway here I go
 
Old 02-08-2020, 07:23 PM   #85
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
in the chroot what happens if you run apt-get upgrade
 
Old 02-08-2020, 07:25 PM   #86
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
I have a feeling this has something to do with how systemd mounts things, which I'm not very familiar with yet.
 
Old 02-08-2020, 07:32 PM   #87
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
http://onehammer.com/jo.txt

http://onehammer.com/dm.txt

and systemctl default had the same behavior as exit.
 
Old 02-08-2020, 07:42 PM   #88
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
There is something wrong with the home partition filesystem
Code:
/dev/sda2: Inode 3204 extent block passes checks, but checksum does not match extent
Feb 08 20:12:24 lenovo systemd-fsck[669]:         (logical block 8192, physical block 226119680, len 434)
Feb 08 20:12:24 lenovo systemd-fsck[669]: /dev/sda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Feb 08 20:12:24 lenovo systemd-fsck[669]:         (i.e., without -a or -p options)
Feb 08 20:12:24 lenovo systemd-fsck[669]: fsck failed with exit status 4.
Feb 08 20:12:24 lenovo systemd-fsck[669]: Running request emergency.target/start/replace
Feb 08 20:12:24 lenovo systemd[1]: systemd-fsck@dev-disk-by\x2duuid-121...8df282c.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 20:12:24 lenovo systemd[1]: systemd-fsck@dev-disk-by\x2duuid-121...8df282c.service: Failed with result 'exit-code'.
Feb 08 20:12:24 lenovo systemd[1]: Failed to start File System Check on /dev/disk/by-uuid/12179cca-865d-4412-a13d-58d818df282c.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-121...8df282c.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support-- 
-- Unit home.mount has failed.
]

Last edited by colorpurple21859; 02-08-2020 at 07:59 PM.
 
Old 02-08-2020, 07:46 PM   #89
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
It was working fine in the old install. Everything was until I tried to reinstall python.

Also I can see it and change it fine here in live iso.

Do you want me to run SMART tests on the drive?

Actually even if the home partition was a little corrupt that wouldn't stop boot right?
 
Old 02-08-2020, 07:52 PM   #90
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
Actually even if the home partition was a little corrupt that wouldn't stop boot right?
Not according to the journalctl ouput. Boot the live iso and open a terminal
Code:
fsck /dev/sda2
 
  


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
How do I reinstall Grub and Efi (or Uefi) on my external HDD after I accidentally deleted the partition. Choklit Linux - Software 4 12-24-2019 03:42 PM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
[SOLVED] Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration ironQiu Slackware 4 02-09-2015 06:21 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Can I delete and reinstall Ubuntu 8.04 and keep a home partition? win_to_lin_migrant Ubuntu 4 01-18-2009 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:25 AM.

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