Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Read only /
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Risar
n00b
n00b


Joined: 14 Apr 2018
Posts: 3

PostPosted: Sat Apr 14, 2018 9:30 pm    Post subject: [SOLVED] Read only / Reply with quote

Just finished my install: openrc, grub2 w/efi and 4.16 kernel. XFS / and /home.

Everything looks good, but this is my first Gentoo install in ~10 years and it is coming up as read-only (/). I can -o remount,rw on / and that works with no errors. /etc/fstab entries look fine, and when I mount them (eg mount /boot) its all good.

My /etc/init.d/root entry looks correct and shows up in rc-update correct. This feels like an openrc (.34.11) issue, but I'm not sure how to debug it from here?


Last edited by Risar on Sat Apr 14, 2018 10:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43213
Location: 56N 3W

PostPosted: Sat Apr 14, 2018 9:56 pm    Post subject: Reply with quote

Risar,

Welcome back.

Read dmesg. Root will stay read only if rootfsck fails for whatever reason.
dmesg will contain hints.

Did you install sys-fs/xfsprogs ?
I suspect that's the package needed to support rootfsck.

The root entry in fstab is not used to mount root but its read to determine the root filesystem type.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Risar
n00b
n00b


Joined: 14 Apr 2018
Posts: 3

PostPosted: Sat Apr 14, 2018 10:34 pm    Post subject: Reply with quote

xfsprogs (4.14) are installed and the kernel shows XFS as an entry in /proc/filesystems. xfs_info returns correct data on /

I don't see anything in dmesg about mounts of any type failing, and no entries for rootfsck (?). I've tried using the label, partition and uuid for / and re-running grub config. No luck on that front.

dmesg: http://dpaste.com/0SZJXDG
fstab: http://dpaste.com/2K136YJ

Looks like /etc/init.d/root handles the rootfsck (?), when I run a 'restart' on root, hostname and localmount out of the /etc/runlevels/boot/ directory they all complete fine.
Back to top
View user's profile Send private message
Risar
n00b
n00b


Joined: 14 Apr 2018
Posts: 3

PostPosted: Sat Apr 14, 2018 10:41 pm    Post subject: Reply with quote

Solved -> Kernel was missing TMPFS, this was resulting in some random issues with things like /dev/shm.

No real log entries on this, just stepping through stuff manually and started digging into errors.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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