From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 11:41:45 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A66C106564A for ; Wed, 22 Dec 2010 11:41:45 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id DC4308FC1A for ; Wed, 22 Dec 2010 11:41:44 +0000 (UTC) Received: by yie19 with SMTP id 19so690411yie.13 for ; Wed, 22 Dec 2010 03:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=e8konTnXyw6D0/iUk6s63Hy3/q0PG1rU0mhtOWouXGg=; b=DNaM+ng/gZa7IaC8j11vPHPX+RFL1P7Kj6r4alS1YaxYEHpRrEEiYJQG4G6hsdPe/k X7ojOPlMLLWOgKiy5IU3x5tfghCLcNjR6feulZU+viYp5Eg75XbPab383/vUxmFe0umB W5ywyBmqOs7bT0SC56aRoZ+ZlEJuoB+uAHolI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=vO0x9ionCAG324asRk7yxw0WVcMiXQTrNouuEalO5IauVhEL1XTSDjvt1P2ZEd0O3m 3fIpCqZhJI99G9mDNtAhiR2vRLl8tRg2zzpJhKDjs5e2hNGvX92wnZnyHBwNOuhm4Ts6 A9FvMZ/n1YFxpov4G+6s/wHZadi8vd3ChKcKA= MIME-Version: 1.0 Received: by 10.236.103.133 with SMTP id f5mr12804822yhg.14.1293018104068; Wed, 22 Dec 2010 03:41:44 -0800 (PST) Received: by 10.236.95.40 with HTTP; Wed, 22 Dec 2010 03:41:44 -0800 (PST) Date: Wed, 22 Dec 2010 11:41:44 +0000 Message-ID: From: "b. f." To: Dave Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Well, I broke it! FreeBSD V8.1 release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2010 11:41:45 -0000 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.