-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
As I know netbsd vnd doesn't correctly support sparse files.
You have to use dd without seek parameter.
Regards
-
------------------------------------------------------------
---
Adam Hamsik
ICQ 249727910
jabber haad jabber.org
-
------------------------------------------------------------
---
There are 10 kinds of people in the world. Those who
understand
binary numbers, and those who don't.
Mike Sun wrote:
> This may seem like a stupid question but how does one
go about create
> a VBD that can be used with the
netbsd-INSTALL-XEN3_DOMU kernels for
> installation?
>
> I have created a disk image with "dd if=/dev/zero
of=nbsd-disk bs=1k
> seek=2048k count=1" and am able to start and enter
the NetBSD
> installation program through the DOMU kernel, but when
after going
> through the partition and disklabel steps, I get this
error as it
> attempts to create the filesystem:
>
> "disklabel: Can't read master boot record 0:
Input/output error"
> "disklabel: /dev/rxbd0d: Input/output error"
>
> My xen config file uses this line:
> disk = [ 'file:/home/msun/nbsd-disk,0x1,w' ]
>
> Do I need to fdisk the file disk image? Or manually
disklabel and
> create a filesystem on it?
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFToLk9Wt2FT7y228RAqaKAJ9aSdSOrgqh8kcQNHDiJeYVuiplTgCg
sAlv
Rz2iPhxCJuxn+sWkpAh2eRE=
=j7AX
-----END PGP SIGNATURE-----
|