FreeBSD wont load after editing /etc/rc.conf
I recently just installed FreeBSD. I edited the /etc/rc.conf to try and have gdm load automatically at startup. It seems I failed to check my typing and I forgot to add the closing " after typing gdm_enable="YES"
After restarting I am stuck with the message Code:
Loading configuration files. How would I log into it to correct the error? I have a Mepis live cd I could try to use if there isnt a way to do it from the install but I don't know how to access the file from the live cd. Thanks for any help, Joe |
Code:
Loading configuration files. You may also need to remount / with RW: /sbin/mount -o rw / Quote:
|
Hey vermaden, I apologize for taking so long to respond.
It seems I do have to remount / first as if I dont I get cp: /etc/rc.conf.old :Read-only file system but after typing /sbin/mount -o rw / and entering /bin/cp /etc/rc.conf /etc/rc.conf.old and hitting the ctrl d twice I no longer get the message saying it is read-only but I am still left with the same error after exiting the shell and rebooting. Does it seem I did something wrong in the above or do you have any other suggestions? As much as I hate to just give up, would it be best to just reinstall? I did this just after the install so I dont have anything on the computer that would be lost. Thanks for the help so far Joe |
Quote:
Quote:
Code:
/bin/mv /etc/rc.conf /etc/rc.conf.old Code:
/bin/cp /etc/rc.conf /etc/rc.conf.old now as it will load check /etc/rc.conf.old line 16 and make it proper and then save it as /etc/rc.conf. You can also post later this fault /etc/rc.conf. |
That did it, fixed the file and gdm loads fine now.
Thanks for the help Joe |
You are welcome.
|
All times are GMT -5. The time now is 09:11 AM. |