Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Did not update, no power outage, does not boot normally
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Fri Jun 13, 2014 8:26 pm    Post subject: Did not update, no power outage, does not boot normally Reply with quote

I ran into a problem today similar to this. The difference in my case is that my machine was shut down normally from Windows. I came back to it the next day, having made no updates to it in any way, and it booted up the way the OP described in the linked thread. Booting into sysresccd and running fsck instantly reports the partition as clean.

I am totally stumped.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jun 14, 2014 5:55 pm    Post subject: Reply with quote

What do you see?
Reboot and use a camera/cell phone and paste photos on a photo site if more convenient.
guessing:
boot the sysresccd, mount the gentoo partitions, enter the chroot, try this http://aplawrence.com/Linux/lostlinuxpassword.html to reset /etc/passwd and /etc/shadow
Code:
wgetpaste /var/log/dmesg
wgetpaste /var/log/rc.log
If not enabled, enable rc_logger="YES" in /etc/rc.conf and check rc.log next boot. post url's returned.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sun Jun 15, 2014 2:23 pm    Post subject: Reply with quote

When I get to a login prompt, it says:

Code:

This is (none) (Linux x86_64 3.10.6-rt-rt3) 13:17:21

(none) login:


My hostname isn't being displayed. I see (none) instead.

I am able to login (for which I use root, normal user login is pointless in this case). There is no password trouble involved.

Nothing unexpected shows up in dmesg, messages or lastlog.

The system mounts / as a read-only fs.

http://unix.stackexchange.com/questions/83634/gentoo-mounting-root-as-read-only-why didn't help. There were a couple of suggestions made by emerging udev for kernel config options, but those didn't help, either.

http://superuser.com/questions/193115/root-file-system-is-mounted-read-only-on-boot-on-gentoo-linux didn't help because root is already in my boot runlevel.

https://forums.gentoo.org/viewtopic-t-946382-start-0.html did not help, although I did try changing noatime to defaults for /.

I noticed a difference between /proc/mounts and /etc/mtab, but grep -v rootfs /proc/mounts > /etc/mtab did not help.

http://serverfault.com/questions/186671/why-is-my-filesystem-being-mounted-read-only-in-linux finally gave me a useful clue. cat /proc/cmdline shows / being mounted ro. But manually changing grub.cfg to rw did not help.

I'm out of ideas on what to look for. I'm also pressed for time, so since the system in question is an install of my Gentoo Studio, I'm going to backup my files and perform a fresh stage 4 GS install. I wish I had more time to figure out what happened.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum