I have been chasing my tail on this for a few days and I could really use some help.
I have a Centos 7.6.1810 (core) system that has started booting to read-only.
I think this may stem from a fstab mistake, but I can't get back to the file to look at it or try to correct it.
On login I get a " -- myusername: /home/myusername: change directory failed: No such file or directory -- Logging in with home = "/"
/var/boot.log indicates "Failed to mount /"
If someone would point me in the right direction, I would really appreciate it.
System booting in read-only
Re: System booting in read-only
Boot up, become root, run mount -o remount,rw / and then fix fstab and reboot.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: System booting in read-only
And, as one 'user with a green username' often suggests: After you change fstab, and BEFORE you reboot, try a mount -a to catch the errors while you can still edit/fix them.
Heh - can't tell you how many times ... until that advice
Heh - can't tell you how many times ... until that advice
Re: System booting in read-only
Thanks for the help.
According to the output from the mount command , fstab doesn't have an entry for / "can't find / in fstab"
cat /etc/fstab comes back with no output.
I salvaged a copy of the fstab from a known good copy of the server, but how can I replace fstab if I'm stuck in a readonly state? Boot from live CD, decrpyt the boot volume and then edit, I guess?
According to the output from the mount command , fstab doesn't have an entry for / "can't find / in fstab"
cat /etc/fstab comes back with no output.
I salvaged a copy of the fstab from a known good copy of the server, but how can I replace fstab if I'm stuck in a readonly state? Boot from live CD, decrpyt the boot volume and then edit, I guess?
Re: System booting in read-only
See my previous post.how can I replace fstab if I'm stuck in a readonly state?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke