From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 14 20:49:03 2014 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3AB6E1B; Mon, 14 Apr 2014 20:49:03 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 709AB194F; Mon, 14 Apr 2014 20:49:03 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id j7so8478897qaq.24 for ; Mon, 14 Apr 2014 13:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=dymtPBTOpmj6OysjafVFX3M0H/GaMGGhrkHapCfppb0=; b=RkJEB5TrrCPKu7BHHSy/JaSxrRcEXGYAq3g+88XPq+OLnrX3MqxioEwBqLj+3wf7of cPUAOGSZC9bfrOCOy7rxZSutHLIt3ND+/yyqV7dnXzkeTpa2botFJHerautlm3VcANBo vcEUdxWoVh/dZqkfY5hLKFmGQxeAL+d4XeBMZ+Kmamu/iQFCIAOYTcYGfsoRwMjUYrO4 I8cwx/f8aFHaq1rYKfYmk9cXjY1KObjlDL2yNINwvCqC02nlKP8wqR88SQECZTin3hSu KRhiV2MGMHOcGkTm06yXcxV35s10SELEh1kDHx/Pwwnr7WEqanmGiX4qSwAHT1otq6R8 PunQ== MIME-Version: 1.0 X-Received: by 10.224.38.136 with SMTP id b8mr6085643qae.98.1397508542611; Mon, 14 Apr 2014 13:49:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Mon, 14 Apr 2014 13:49:02 -0700 (PDT) In-Reply-To: <20140414130845.GA43154@yggdrasil.alkumuna.eu> References: <20140328160019.GA93913@yggdrasil.alkumuna.eu> <20140404214900.6ff7681e@freedom.alkumuna.eu> <20140411135453.GA19755@yggdrasil.alkumuna.eu> <20140414130845.GA43154@yggdrasil.alkumuna.eu> Date: Mon, 14 Apr 2014 13:49:02 -0700 X-Google-Sender-Auth: GUph1qQ4Y6PLvFG09r2ZNLs6YU0 Message-ID: Subject: Re: Freebsd 10 install kernel not booting. From: Adrian Chadd To: Troyax Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 14 Apr 2014 21:20:10 +0000 Cc: FreeBSD Stable Mailing List , Matthieu Volat , freebsd-amd64@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2014 20:49:03 -0000 Would you please file a PR so this doesn't get lost? http://freebsd.org/send-pr.html Thanks! -a On 14 April 2014 06:08, Troyax wrote: > Thanks for the follow-up Haowu, it didn't work in itself but helped me fi= nd a work-around. I ran the following (slightly different) commands on my U= SB image: > gpart bootcode -b /boot/boot0 da0 > gpart bootcode -p /boot/boot1 -i 1 da0 > gpart set -a active -i 1 da0 (with a warning message "gpart: attrib 'ac= tive': Device not configured") > But it ended up with the same behaviour: the bootstrap stops (and reboot = the machine) right before the "loading /boot/defaults/loader.conf" output m= essage, which got me thinking that the problem may be in the stage 3. > > So I tried with a fresh fbsd10 USB image with only the /boot/loader from = my fbsd9.2 (I mounted the USB stick and cp-ed the file) and voila, it works= . > I took a very quick look at the /sys/boot/i386/loader code, and the major= (only?) difference I found there was the NANDFS support. But I don't know = if it is used for the USB image and there are probably lots of other possib= le cause - it needs a more expert look I think. > > Troyax. > > On Sun, Apr 13, 2014 at 10:43:31AM +0800, Haowu Ge wrote: >> Try this? >> gpart bootcode -b /mnt2/boot/boot0 da0 >> gpart bootcode -b /mnt2/boot/boot1 /dev/da0s1 >> gpart set -a active -i 1 da0 >> >> >> 2014-04-11 21:54 GMT+08:00 Troyax : >> >> > > Hello, since there's no answer yet, and it seems to be a bootloader >> > related problem, would you try the following? >> > > * Create a 10.0 memory stick >> > > * From your 9.2 environment, copy the bootcode to the memory stick: >> > > # gpart bootcode -b /boot/boot da0 >> > > * Try and see if it boots >> > >> > I have just tried your suggestion, but the result is the same. To be m= ore >> > precise, BTX loader 1.02 seems to launch the loader correctly; but it = stops >> > (and reboots the machine) very early on loading the kernel. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"