Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 13:49:02 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Troyax <troyax@pholos.eu>
Cc:        Haowu Ge <ghw@7axu.com>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>, Matthieu Volat <mazhe@alkumuna.eu>, freebsd-amd64@freebsd.org
Subject:   Re: Freebsd 10 install kernel not booting.
Message-ID:  <CAJ-VmokakhDRDMmOR7yQOYZHm7im=efuAeoChGMtKwDRd7JtAw@mail.gmail.com>
In-Reply-To: <20140414130845.GA43154@yggdrasil.alkumuna.eu>
References:  <20140328160019.GA93913@yggdrasil.alkumuna.eu> <20140404214900.6ff7681e@freedom.alkumuna.eu> <20140411135453.GA19755@yggdrasil.alkumuna.eu> <CAKrd9eXRQ0k5w823ZAo_F6as9zFm=6TqXSMOjX7Fugu3t2Z3CQ@mail.gmail.com> <20140414130845.GA43154@yggdrasil.alkumuna.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <troyax@pholos.eu> 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 <troyax@pholos.eu>:
>>
>> > > 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokakhDRDMmOR7yQOYZHm7im=efuAeoChGMtKwDRd7JtAw>