From owner-freebsd-questions@FreeBSD.ORG Fri Sep 21 20:18:30 2007 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 01AEC16A417 for ; Fri, 21 Sep 2007 20:18:30 +0000 (UTC) (envelope-from jan.grant@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id B5ED513C4B6 for ; Fri, 21 Sep 2007 20:18:29 +0000 (UTC) (envelope-from jan.grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1IYohd-0003hI-FX; Fri, 21 Sep 2007 21:02:20 +0100 Received: from cse-jg.cse.bris.ac.uk ([137.222.12.37]:64548) by mail.ilrt.bris.ac.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IYohQ-0001yt-CS; Fri, 21 Sep 2007 21:02:04 +0100 Date: Fri, 21 Sep 2007 21:02:04 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@tribble.ilrt.bris.ac.uk To: Erik Cederstrand In-Reply-To: <46F39CAF.5030306@cederstrand.dk> Message-ID: <20070921205940.V15829@tribble.ilrt.bris.ac.uk> References: <46F23834.1050004@cederstrand.dk> <46F39CAF.5030306@cederstrand.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-ILRT-MailScanner: Found to be clean X-ILRT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-ILRT-MailScanner-From: jan.grant@bristol.ac.uk X-Spam-Status: No X-Spam-Score: -0.8 X-Spam-Level: / Cc: freebsd-questions@freebsd.org Subject: Re: Repeated PXE jumpstart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 20:18:30 -0000 On Fri, 21 Sep 2007, Erik Cederstrand wrote: > Found the answer elsewhere, so this is just for the records... > > # sysctl kern.geom.debugflags=16 > # dd if=/dev/zero of=/dev/ad0 bs=512 count=1 > > wipes the MBR and solves my problem. The alternative is to put PXE ahead of the HD in the boot order, and call back to the deployment host at the end of installation (prior to reboot) to signal a DHCP reconfiguration. It adds a PXE timeout to each boot; the upside is that replacing a wedging or otherwise broken install is just a matter of reconfiguring a DHCP server. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Random act of violence against bread: whole pint. -- extract from the "Hawk the Slayer" drinking game