From owner-freebsd-current Fri Jan 8 09:19:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22258 for freebsd-current-outgoing; Fri, 8 Jan 1999 09:19:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22253 for ; Fri, 8 Jan 1999 09:19:48 -0800 (PST) (envelope-from dbushong@CSUA.Berkeley.EDU) Received: (from dbushong@localhost) by soda.CSUA.Berkeley.EDU (8.8.8/) id JAA14533; Fri, 8 Jan 1999 09:19:16 -0800 (PST) env-from (dbushong) From: dbushong@CSUA.Berkeley.EDU (David Bushong) Message-Id: <199901081719.JAA14533@soda.CSUA.Berkeley.EDU> Subject: Re: boot single with new loader? In-Reply-To: <199901081703.JAA20471@hub.freebsd.org> from Robert Luce at "Jan 8, 99 09:03:17 am" To: rwl@gymnet.com Date: Fri, 8 Jan 1999 09:19:16 -0800 (PST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R X-MIME-Autoconverted: from 8bit to quoted-printable by soda.CSUA.Berkeley.EDU id JAA14533 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id JAA22254 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can't enable soft updates from single user; the disk has to be completely unmounted. Either boot from a floppy, and run it on the hard disk, or do what I did (being to lazy to make a floppy), and boot the machine; run tunefs on the live disk, type sync 5 times, and smack the power switch. After all, it's not actually that the disk must be unmounted; it's that the act of unmounting it would reset the tunefs flag in the superblock; erasing what you did. If you were to set it on a mounted filesystem and reboot normally, it would unmount the fs normally, undoing your work. As for how to boot into single user; minimizing the danger of powercycling the machine; I don't know, sorry; I haven't tried it since I switched to the new boot blocks. --David Bushong > I have a wonderful all elf system now, upgraded the boot blocks, > added a /boot/boot.conf to allow it to locate my SB16-PNP and all > works just great EXCEPT I cannot figure out how to boot in single > user mode so I can enable softupdates. > > Hitting at the first prompt gives me the old boot help > and -s just boots normally. If I drop into the loader prompt then > I can do lots of other neat stuff but can't seem to run tunefs. > Any pointers would certainly help! > > > ---- > Robert Luce "Il faut supporter deux ou trois chenilles > System/News Administrator si on veut connaŒtre les papillons.." > - Antoine de Saint-Exup‚ry > Finger rwl@gymnet.com for PGP Public Key Block > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message