From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 17 07:43:58 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 072CD106564A for ; Fri, 17 Feb 2012 07:43:58 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 91A3A8FC15 for ; Fri, 17 Feb 2012 07:43:57 +0000 (UTC) Received: by werm13 with SMTP id m13so2634459wer.13 for ; Thu, 16 Feb 2012 23:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; bh=rAK8wXzlwFHP9k3CQPJiwY/2vbZJMpI+zyPdqfldv4g=; b=Oc99pv76CAkHMJ2u5GQ1HYncOlo0wzSZ6VJrUN0WfqeLTOo/s9nrP85v6x2bZox5B7 mU0OPd5WlJ8d2v6P7LmIiNUv7wERGwVAVEPAmyB+Uidwi21f5UTekXB8s52A7bDKbBLM QeTSNF1wY9NJA1ip/Hp/HMjr6rQFfnMvYueH4= Received: by 10.180.101.228 with SMTP id fj4mr1703325wib.4.1329464636146; Thu, 16 Feb 2012 23:43:56 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id dw7sm5690951wib.4.2012.02.16.23.43.27 (version=SSLv3 cipher=OTHER); Thu, 16 Feb 2012 23:43:54 -0800 (PST) Message-ID: <20120217.074355.853.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@FreeBSD.org Date: Fri, 17 Feb 2012 08:43:55 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2012 07:43:58 -0000 Anyway, after upgrading to 9.0, my USB stick, when created, started to hang = at stage 2 boot.=0D=0AI have a custom setup, where BSD label 'a', has a = content of /boot/*=0D=0ASo when 'a' is being hit by stage 2 boot, there = is boot.config waiting for it.=0D=0AAfter it reads it and displays it's = content, it echos 'No' and hangs.=0D=0A=0D=0AI stare at it and can't = believe as boot.config's information is correct!=0D=0AI hit '?' and it = list all files in 'a'.=0D=0AThen I simply RE-type what is displayed on = screen (content of boot.config -> path to loader)=0D=0AAnd loader kicks = in!=0D=0A=0D=0AI do this a few times more and EACH time I have to RE-type = correct info!=0D=0ATested on other machine, same = thing.=0D=0A=0D=0AHowever, this same custom layout works for HDD's, but = NOT for USB stick.=0D=0A=0D=0AI've extracted binary installs of 8.2 and = 9.0 R:=0D=0AMD5 (8_boot) =3D adb1e84e96bd434e51cafaaa0ef22584=0D=0AMD5 = (9_boot) =3D 40f3f6403ebd5e131259d1336b4b50ad=0D=0A=0D=0AThen:=0D=0A# = gpart bootcode -b 8_boot da0s2=0D=0AAnd sudenly that USB stick boots, = without ANY other change!=0D=0AJust an "old" stage 2 boot code, from R8 = was enough.=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6