LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 04-08-2019, 04:23 PM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Rep: Reputation: Disabled
XFS: Can't log in after booting


I have a Gentoo system installed as a VB guest. I boot it every Sunday to run my weekly "emerge --sync && emerge -uD world && emerge --depclean". I do this because although I am not using Gentoo as my main OS atm, I don't want to lose the Gentoo way of thinking.

I booted it up yesterday and during the bootup process, I saw one red * among a sea of green. Something about it couldn't mount /home. I actually had to reboot the guest a couple of times to figure out what it said. I spent last evening poking around Grub sites convinced that there was a way that I could get in through the grub prompt. This ultimately failed. I did learn through my searching that I could use the Gentoo LiveCD image stored on my hard drive to access the broken system. What file in /var/log should I be looking at the determine my next step? Unfortunately, I did not find anything in /var/log/messages. I've run xfs_repair and the drive will mount when I order it from the command line, but as you know, during bootup one doesn't have access to a command line. What other questions should I be asking that I have not asked previously in this thread? I'm kinda a Gentoo noob. I used it successfully from 2005 to 2015, but I didn't have to do much with it; it just worked. I guess I trusted my luck too much.
 
Old 04-08-2019, 07:09 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
A few random suggestions. Caveat: I don’t know anything about Gentoo idiosyncracies.

Have a second (or first?) look at /etc/fstab to detect anything suspect in the /home line.
Check if the /home disk/LUN/partition is available at the tome of mounitng.
Create a user whose $HOME is not under /home, log in as this user and snoop around.
If your system uses systemd, check the journal for relevant messages (journalctl command).

I also wonder: Can you mount /home from the live DVD without repairing it first? If not: Could there be a problem in the way this machine is stopped, perhaps causing corruptions in the filesystem?
 
Old 04-08-2019, 07:16 PM   #3
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
I don't think the problem is in /etc/fstab, as I don't think it would have mounted when I said "mount /home". It did. This system does not use systemd, so that's not it.

I was just thinking about what I was doing the last time I was successfully logged in. I was rebuilding the kernel! I bet THAT'S causing my current issue! Thank you for your excellent advice!
 
Old 04-08-2019, 07:51 PM   #4
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Rebuilding the kernel repaired the issue.
 
  


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 to log internal-sftp chroot jailed users access log to /var/log/sftp.log file LittleMaster Linux - Server 0 09-04-2018 03:45 PM
[SOLVED] after installation of MySQL could not log into mysql using temporary password in /var/log/mysqld.log User247 Linux - Server 2 12-25-2017 09:31 AM
[SOLVED] Can't log in with GDM (or GUI) but can log in via CLI with no password after updates. anon112 Sabayon 1 09-12-2010 06:12 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

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