LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-12-2019, 06:36 PM   #1
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Rep: Reputation: Disabled
login won't go to shell


Recently my ext4 fs became partially corrupted. I fixed the problem by running fsck.ext4 from a vm on another pc. Now when I try to login to my Raspberry Pi3 it gets stuck at the random motd. To go further I have to send a ctrl-c. Anyone ever have this problem?
 
Old 03-14-2019, 07:21 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
Quickest solution would be to reflash it, presuming it is on a mSDHC card, otherwise back up your data & reinstall.
 
Old 03-14-2019, 10:48 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310
Quote:
Originally Posted by fatmac View Post
Quickest solution would be to reflash it, presuming it is on a mSDHC card, otherwise back up your data & reinstall.
Yes it's possibly broken. You can login to another terminal whilst that one is hung, and check dmesg and /var/log/{messages,syslog} to see if the Kernel's spitting out disk errors or something. If not, you could use strace -p to see what the hung process is doing on the other terminal.
 
Old 03-14-2019, 02:24 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Have you tried changing the .bashrc (or whichever files) to remove the MOTD and any characters after it?
 
Old 03-15-2019, 07:23 AM   #5
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
login won't go to shell

I figured out what was hanging. In my .profile I had a thing for rclone to mount my OneDrive. That was what was hanging up the login. I commented it out for now.
 
  


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
win32,shell code,shell programming,shell scripting? mr.cracker Linux - Newbie 4 07-12-2013 11:20 PM
Login Shell / Non-Login shell Clarification needed (RHEL 6.3) kingston Linux - Newbie 1 12-07-2012 12:51 AM
Difference between normal shell and login shell Manish Linux - General 7 11-14-2012 08:30 AM
root won't use bash as login shell moob8 Linux - Software 9 10-28-2008 10:15 PM
login won't login linuxcrazyguy Linux From Scratch 3 04-12-2007 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 05:11 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