Re: boot block differences between 4.x and 6.x ?

From: Luigi Rizzo <rizzo_at_icir.org>
Date: Tue, 31 Jan 2006 07:21:17 -0800
On Tue, Jan 31, 2006 at 07:44:07AM -0700, Scott Long wrote:
> Luigi Rizzo wrote:
> > maybe some of you know the answer here...
> > 
> > the revised picobsd script (attached here, it uses
> > sysutils/makefs instead of vnconfig/mdconfig so it can
> > run as a non privileged user) that i was using to
> > create images with the 4.11 boot blocks (boot1 and boot2),
> > does not seem to work anymore with the boot blocks
> > taken from 6.0 (and so, -current as well).
> > 
> > When i force it to use the 4.x boot blocks, all is fine,
> > and the picobsd.bin produced (built on 6.0 using 7-current
> > sources) boots fine on qemu.
> > 
> > I am a bit puzzled on what could be the relevant change in boot1/boot2
> > could have caused the loss of functionality.
...
> The big difference is that the boot blocks grew significantly to
> support UFS2.
> 
> Scott

ok good pointer.. so could it be that the boot blocks as installed
by 6.0-RELEASE are UFS2_ONLY, and the file system produced by makefs is
UFS1, hence the problem ?
How do i tell, and would it make sense to build, in the release,
also a version of /boot/boot that can deal with ufs1 ?

cheers
luigi 
Received on Tue Jan 31 2006 - 14:21:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC