Date: Fri, 8 Jan 1999 09:19:16 -0800 (PST) From: dbushong@CSUA.Berkeley.EDU (David Bushong) To: rwl@gymnet.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: boot single with new loader? Message-ID: <199901081719.JAA14533@soda.CSUA.Berkeley.EDU> In-Reply-To: <199901081703.JAA20471@hub.freebsd.org> from Robert Luce at "Jan 8, 99 09:03:17 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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 <space> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901081719.JAA14533>