From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 04:12:50 2010 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 441C1106568B for ; Fri, 22 Jan 2010 04:12:50 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id 02BB28FC0A for ; Fri, 22 Jan 2010 04:12:49 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id A85E01D33B0; Fri, 22 Jan 2010 05:12:37 +0100 (CET) Date: Fri, 22 Jan 2010 05:12:37 +0100 From: "Thomas K." To: Dan Naumov Message-ID: <20100122041237.GA22312@gothschlampen.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org Subject: Re: Loader, MBR and the boot process 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, 22 Jan 2010 04:12:50 -0000 On Fri, Jan 22, 2010 at 05:57:23AM +0200, Dan Naumov wrote: Hi, > I recently found a nifty "FreeBSD ZFS root installation script" and > been reworking it a bit to suit my needs better, including changing it > from GPT to MBR partitioning. However, I was stumped, even though I > had done everything right (or so I thought), the system would get > stuck at Loader and refuse to go anywhere. After trying over a dozen probably this line is the cause: dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s1a skip=1 seek=1024 Unless by "swap first" you meant the on-disk location, and not the partition letter. If swap is partition "a", you're writing the loader into swapspace. Regards, Thomas