Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 23:44:01 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Tom Judge <tom@tomjudge.com>
Cc:        freebsd-hackers@freebsd.org, luigi@freebsd.org
Subject:   Re: sys/boot/boot0/boot0.S - r186598
Message-ID:  <20110109224401.GA95358@onelab2.iet.unipi.it>
In-Reply-To: <4D2A0514.7040305@tomjudge.com>
References:  <4D295820.20807@tomjudge.com> <20110109183316.GA92631@onelab2.iet.unipi.it> <4D2A0514.7040305@tomjudge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 09, 2011 at 12:57:24PM -0600, Tom Judge wrote:
> On 09/01/2011 12:33, Luigi Rizzo wrote:
> > On Sun, Jan 09, 2011 at 12:39:28AM -0600, Tom Judge wrote:
> >> Hi,
> >>
> >> Today I ran into an issue where setting the default slice with boot0cfg
> >> -s is broken.
> > a few questions inline:
> >
> Output inline, full script log attached.
> 
> If you need more info let me know.

can you take a dump of the boot sector at various stages
indicated below:

> <snip>

DUMP #1: ORIGINAL BOOT SECTOR

	<run boot0cfg -s 2 -v ad0 >

DUMP #2: AFTER THE BOOT SECTOR UPDATE

	<reboot without pressing an F-key>
	<expect to be in s2 but actually end up in s1, as you found>

DUMP #3: AFTER A REBOOT WITH NO KEYPRESS

	<reboot, this time selecting the slice with F2>

DUMP #4: AFTER THE SUCCESSFUL BOOT IN SLICE 2

At least from this we can tell how #4 differs from #2/#3

cheers
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110109224401.GA95358>