Date: Wed, 22 Dec 2010 11:41:44 +0000 From: "b. f." <bf1783@googlemail.com> To: Dave <dave@g8kbv.demon.co.uk> Cc: freebsd-questions@FreeBSD.org Subject: Re: Well, I broke it! FreeBSD V8.1 release Message-ID: <AANLkTimUa9crMDCA4576Zz8ek-=fO95O76pha6675qyj@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
dave wrote: ... >I was trying to disable the console screensaver, and found that in >sysinstall, there is no way to select "none" as an option. > >So I went and edited /etc/rc.conf to comment out the line:- >Saver="fire" (or whatever it is) > >I put a ; at the beginning of the line, and now FreeBSD wont come up, >showing an error (unexpected ;) and leaving me with a # prompt. > >How do I get to re-edit rc.conf, to correct the problem, as all command >line commands result in a "not found" error. You didn't provide much information, but probably what happened is that your defective rc.conf caused an error when booting, and your normal boot aborted and dropped into "single-user". This typically means that some partitions that are mounted by default during a normal boot and that contain editors and other programs are not initially mounted. So probably if you did something like: fsck -p / mount -uw / swapon -a mount -a you could then edit /etc/rc.conf with your favorite editor. Or you could just use sed, ed, or vi from /rescue, or from the release media, to make the necessary changes, rather than attempting to mount all partitions. > >Also. What's the "Correct" way to disable a console screensaver? > >Sysinstall alows you to select and enable one, but not remove it! On the fly, you can use vidcontrol -t ... To change the default setting, comment out or delete the "saver=..." line, or change it to saver="NO" which is what is originally in /etc/defaults/rc.conf. Sysinstall is only one tool you can use to install or configure the system. It's not necessary, and for minor changes like this, it's not the method of choice. b.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimUa9crMDCA4576Zz8ek-=fO95O76pha6675qyj>