Subject: Re: Supporting sector size != DEV_BSIZE
To: Trevin Beattie <trevin@xmission.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 06/04/2002 15:09:33
On Tue, 4 Jun 2002, Trevin Beattie wrote:

> At 09:49 AM 6/4/2002 -0700, Bill Studenmund wrote:
> >Did you try compiling a NetBSD kernel (and userland) with DEV_BSIZE set to
> >2048?
> >
> >That's the supported way of handling 2k-sector disks. And unless we broke
> >it, it works (and has worked for YEARS).
>
> I do'ed it just now.  When I booted it, after the rest of the configuration
> messages, here's what I got:
>
> boot device: wd0
> root on wd0a dumps on wd0b
> mountroot: trying msdos...
> mountroot: trying cd9660...
> mountroot: trying ffs...
> no file system for wd0 (dev 0x0)
> cannot mount root, error = 79
> root device (default wd0a): _

Heh. Looks like it was wanting that 2k filesystem. :-)

You should be able to netboot it. :-)

Take care,

Bill