IRC channel logs

2026-03-12.log

back to list of logs

<sam_>I'm currently trying to wrangle the init steps (first just getting the basic way working, then making OpenRC work)
<sam_>I land in the single user console because it fails to fsck, ok, fine
<sam_>it complains that mtab doesn't exist, but it does, and it says (please hold as I transcribe):
<sam_>"ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /usr/dev/hd0s1 is mounted", "/sbin/fsck.ext2: Permission denied while trying to open /usr/dev/hd0s1", ...
<sam_>the perms on hd0s1 are 0644
<sam_>is that right?
<youpi>no
<youpi>but it's also very surprising that you have /usr/dev instead of /dev
<youpi>which distribution is that?
<youpi>do you have a /etc/mtab?
<youpi>normally it points to /proc/mounts
<sam_>atm the layout I'm going for is typical usr-merged one (so /sbin -> /usr/ and so on), and I added in a symlink from /dev -> /usr/dev when hacking a while earlier for reasons I don't recall (can try drop that)
<sam_>porting gentoo
<sam_>yeah, I do have one (and it points there)
<youpi>and do you have /proc/mounts?
<youpi>(cool for porting gentoo !)
<youpi>so the perms on hd0s1 and friends should be 0640
<sam_>it's going pretty well! i'm excited and quite keen. my plan is to have it land properly once everything works
<youpi>is perhaps your /dev symlink not 777 ?
<sam_>re /proc/mounts: "yes", but only on 2nd attempt because it doesn't mount the proc translator on first attempt
<sam_>let me check
<gnucode>well I wasn't able to mount the usb stick.