Subject: Re: vnconfig fails
To: Axel Steiner <ast-netbsd-help@treibsand.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 04/30/2004 11:25:24
On Fri, 30 Apr 2004, Frederick Bruckman wrote:

> On Fri, 30 Apr 2004, Axel Steiner wrote:
>
> > > Do you have "pseudo-device vnd ..." in your kernel config? Is the
> > > image on a local file-system? What is it an image of -- maybe you
> > > need to specify the geometry?
> >
> > Yes, the kernel is compiled with "pseudo-device vnd" and file is on
> > my local filesystem. It is a initrd image for a linux bootdisk.
> > Is there a way to get the correct geometry?
>
> Yes. There are even examples for configuring a floppy image in the
> vnconfig(8) man page.

I mean, no, raw images don't necessarily contain the geometry, though
you might able to extract it from a disklabel or MBR, if it's a hard
disk image. Fortunately, all 1.44 MB floppies have the same geometry,
so "-t floppy" should do the trick.

Frederick