sys/boot/boot0/boot0.S - r186598

Luigi Rizzo rizzo at iet.unipi.it
Sun Jan 9 22:29:40 UTC 2011


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


More information about the freebsd-hackers mailing list