From owner-freebsd-questions@FreeBSD.ORG  Tue Apr 21 03:34:10 2009
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7E575106567A
	for <questions@freebsd.org>; Tue, 21 Apr 2009 03:34:10 +0000 (UTC)
	(envelope-from tajudd@gmail.com)
Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com
	[209.85.221.105])
	by mx1.freebsd.org (Postfix) with ESMTP id 324778FC17
	for <questions@freebsd.org>; Tue, 21 Apr 2009 03:34:09 +0000 (UTC)
	(envelope-from tajudd@gmail.com)
Received: by qyk3 with SMTP id 3so1532848qyk.3
	for <questions@freebsd.org>; Mon, 20 Apr 2009 20:34:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:in-reply-to:references
	:from:date:message-id:subject:to:cc:content-type;
	bh=bUVCOsmkg3BPAFHzrUwslls3cuKszUTY239+1KxxQpk=;
	b=g8HSJoeTwdscK3hVUT8Sk/mPI4nQeCnAteps80bTzCZ6fGJmwhv6/GCe7gop6Tjpeb
	htJXPeidsBw7RpkuMZvgU1FIjADQKCgpIXFgYb1GYO27FxV6ZlnMXlc4tLrALp76mXjH
	m/BjA//BUsFITv06zbDHltIWWOJDUS0ITicXU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	b=g1p8Y/VXG3xN7FHg5mOD/h5Rt6YiF/0PcP0o+EnCRd1EOCmvhwi82bVy2crTs+XEMc
	EXBJ1URhanzBoyx1LZjlSb1OcyIaqgQNHs636/ub0SvqfkxbhQ5+3YHeLYn32b65nmGp
	kr52VTKgI6w9imJQApB9EVVL5dDLZuWzqcmG0=
MIME-Version: 1.0
Received: by 10.220.97.146 with SMTP id l18mr7462527vcn.77.1240284849175; Mon, 
	20 Apr 2009 20:34:09 -0700 (PDT)
In-Reply-To: <E8298C3B2FC1CC43B3FBAC70544780A602D45118@EXCH-01.mbint.multibanka.com>
References: <E8298C3B2FC1CC43B3FBAC70544780A602D45118@EXCH-01.mbint.multibanka.com>
From: Tim Judd <tajudd@gmail.com>
Date: Mon, 20 Apr 2009 21:33:54 -0600
Message-ID: <ade45ae90904202033v4bae8ec5k38f23a41525ec09e@mail.gmail.com>
To: Daniels Vanags <daniels.vanags@smpbank.lv>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: questions@freebsd.org
Subject: Re: Dump | Restore
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Apr 2009 03:34:10 -0000

Greetings,

On Mon, Apr 20, 2009 at 4:31 AM, Daniels Vanags
<daniels.vanags@smpbank.lv>wrote:

>
>
>   Unable to successfully dump | restore over ssh. Source machine
> FreeBSD 6.2, disk /dev/mirror/gm0s1a,
>
>  target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt.
>
>  Run dump -0aLf - / | ssh ip_address ''cd /mnt/ && cat | restore - rf
> -'',  dump/restore goes without any errors.
>
>  Fstab fixed, but system failure to boot: BTX halted.
>
>  Please help.
>
>


I read up on what the BTX is.  BooT eXtender -- url here
http://www.freebsd.org/doc/en/books/arch-handbook/boot-boot2.html


Long story short, BTX is what brings the PC BIOS/CMOS code execution from
16-bit real mode, to 32-bit protected mode.

I've had repeated problems with name-brand PCs that result in a BTX halted.
Whiteboxes/custom builds tend to work the best (and IMHO, last the longest).



So asking the OP to flag slices or bsdlabels as bootable probably won't
help, but I've been wrong before.  :D