From owner-freebsd-hackers Wed Aug 30 15:27: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from netplex.com.au (adsl-63-207-30-186.dsl.snfc21.pacbell.net [63.207.30.186]) by hub.freebsd.org (Postfix) with ESMTP id DA29737B43F for ; Wed, 30 Aug 2000 15:27:05 -0700 (PDT) Received: from netplex.com.au (peter@localhost [127.0.0.1]) by netplex.com.au (8.11.0/8.9.3) with ESMTP id e7UMQoG95533; Wed, 30 Aug 2000 15:26:50 -0700 (PDT) (envelope-from peter@netplex.com.au) Message-Id: <200008302226.e7UMQoG95533@netplex.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: Christopher Stein , freebsd-hackers@FreeBSD.ORG Subject: Re: freebsd port of netboot?.. In-Reply-To: <200008301836.MAA17828@harmony.village.org> Date: Wed, 30 Aug 2000 15:26:50 -0700 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > In message Christopher Stein writes: > : .. does anyone know if this exists? It would > : speed up the panic-edit-compile-boot-copy-boot kernel hacking > : cycle by transforming it to panic-edit-compile-netboot. > > I usually mount everything readonly when I try a new module just > before loading it. It saves a tone of time. All I gotta fsck on the > way back up is /var since it won't mount ro after syslog starts, which > makes sense if you think about it. > > mount -ur / > mount -ur /usr > moutn -ur /junk > > is what I have in a script. After it succeeds, I do a mount -uwa > which updates all the mounts. > > You can also netboot via a ROM on your ethernet card or via floppy, > but I've not done that. The above works well enough for me. Also, if you have a PXE-aware network card or bios, netbooting with a small ramdisk is very convenient for crash-and-burn testing. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message