From owner-freebsd-questions@FreeBSD.ORG Fri Sep 21 10:28:03 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 E391116A419 for ; Fri, 21 Sep 2007 10:28:03 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id A3A6913C458 for ; Fri, 21 Sep 2007 10:28:03 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id D21A232D000 for ; Fri, 21 Sep 2007 12:28:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id YK8-fVT0tITK for ; Fri, 21 Sep 2007 12:27:59 +0200 (CEST) Received: from [192.168.1.5] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id DBFBB9E5CD for ; Fri, 21 Sep 2007 12:27:59 +0200 (CEST) Message-ID: <46F39CAF.5030306@cederstrand.dk> Date: Fri, 21 Sep 2007 12:27:59 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <46F23834.1050004@cederstrand.dk> In-Reply-To: <46F23834.1050004@cederstrand.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 10:28:04 -0000 Found the answer elsewhere, so this is just for the records... Erik Cederstrand wrote: > Hi! > > I'm trying to set up a system to continually and automatically run > benchmarks on the most recent CURRENT. The idea is to PXE-boot the > server, do an automated jumpstart installation, reboot and run a few > benchmarks. Lather, rinse, repeat. > > My problem is when the jumpstart installation finishes. I set PXE-boot > as the first option in the BIOS to start the installation. To complete > the installation I need to reboot the server from the hard-disk, but I > don't want to enter the BIOS on each reboot to change the boot sequence. > > What are my options? Can I simply set the hard-disk as the first option > in the boot sequence (with PXE second) and then wipe the MBR when the > system comes up after an install, so the BIOS will continue to PXE? How > would i do that? # sysctl kern.geom.debugflags=16 # dd if=/dev/zero of=/dev/ad0 bs=512 count=1 wipes the MBR and solves my problem. Erik