Need to edit rc.conf, but FS won't allow.
Hi all, I was playing around with rc.conf under /etc and accidentally didn't quote properly one of my YES entries, now the system won't boot. I tried booting into single user and re-editing the file, yet the time I tried saving it it tells me that the root files systm is read only. Is ther a way around this. Thanks in advance. _ Learn. Laugh. Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need to edit rc.conf, but FS won't allow.
Lisandro Grullon escribió: Hi all, I was playing around with rc.conf under /etc and accidentally didn't quote properly one of my YES entries, now the system won't boot. I tried booting into single user and re-editing the file, yet the time I tried saving it it tells me that the root files systm is read only. Is ther a way around this. / is read-only in single user mode. Use mount -u / to remount / witht the default options in /etc/fstab after booting into single user mode. You should be able to edit rc.conf now. Regards, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED] WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Need to edit rc.conf, but FS won't allow. [Thank you, Solved]
Date: Wed, 22 Aug 2007 19:36:02 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: Need to edit rc.conf, but FS won't allow. Lisandro Grullon escribió: Hi all, I was playing around with rc.conf under /etc and accidentally didn't quote properly one of my YES entries, now the system won't boot. I tried booting into single user and re-editing the file, yet the time I tried saving it it tells me that the root files systm is read only. Is ther a way around this. / is read-only in single user mode. Use mount -u / to remount / witht the default options in /etc/fstab after booting into single user mode. You should be able to edit rc.conf now. Regards, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED] WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ See what you’re getting into…before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need to edit rc.conf, but FS won't allow.
On Wed, Aug 22, 2007 at 01:32:30PM -0400, Lisandro Grullon wrote: Hi all, I was playing around with rc.conf under /etc and accidentally didn't quote properly one of my YES entries, now the system won't boot. I tried booting into single user and re-editing the file, yet the time I tried saving it it tells me that the root files systm is read only. Is there a way around this. Thanks in advance. Yes, when you boot single user, it comes up with root mounted read-only and no other file system mounted. You need to remount root. At minimum do: mount -u / Actually, from long habit, when I boot single user, I do the whole schmear as follows: fsck -p mount -u / mount -a swapon -a and then go on to fix up what I need. jerry freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]