Subject: Problem building boot floppy
To: None <port-i386@NetBSD.ORG>
From: Dave Huang <khym@bga.com>
List: port-i386
Date: 09/28/1997 17:38:59
I'm trying to build an i386 boot floppy, but ran into a problem:

dd if=/dev/zero of=ramdisk-12G.fs count=2880
2880+0 records in
2880+0 records out
1474560 bytes transferred in 1 secs (1474560 bytes/sec)
vnconfig -t floppy3 -v -c /dev/vnd0d ramdisk-12G.fs
/dev/vnd0d: 1474560 bytes on ramdisk-12G.fs using geometry 512/18/2/80
disklabel -rw /dev/vnd0d floppy3
newfs -m 0 -o space -i 5120 -c 80 /dev/rvnd0a floppy3
newfs: /dev/rvnd0a: : Device not configured
*** Error code 1

Stop.

Why isn't vnd0a configured? I only seem to be able to vnconfig
/dev/vnd0d; all the other partitions give me a "Device not configured"
error.

disklabel -r /dev/rvnd0d shows partitions a through c, but I get
Device not configured whenever I try to access them.

I worked around the problem by adding a "d" partition and then
newfsing rvnd0d, but it's strange that didn't work as-is.

So, am I doing something wrong, or is this a bug?

Everything worked the last time I tried to build a boot floppy, which
was probably before disklabel support was added to vnds.

Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++