[CUWiN-Dev] Setting Up UML Image
David Young
dyoung at pobox.com
Thu Mar 17 04:24:34 CST 2005
On Wed, Mar 16, 2005 at 05:36:00PM -0600, Quantum Scientific wrote:
> Spent all day on this. Trying to set up a container file in which to install
> NetBSD for UML. There is no bsdlabel nor disklabel for Linux, so using the
> NetBSD Live CD. I think it's just being obstreperous, and is -intentionally-
> resisting arrest. Is this what it's always like to work on BSD?
> Also still wondering about the questions below. Time to go drink.
Ummm, ...
>
> dd if=/dev/zero of=cuwin-dev.img bs=512 count=2000
>
> mdconfig -a -t vnode -f cuwin-dev.img
> invalid number of blocks
>
> mdconfig -a -t /dev/vn0c -f cuwin-dev.img
> invalid number of blocks
>
> mdconfig -l
> usage: mdconfig <device> <512-byte-blocks>
>
> mdconfig -a -t vnode -f cuwin-dev.img 2000
> invalid number of blocks
>
> mdconfig -a -t vnode -f cuwin-dev.img -b 2000
> invalid number of blocks
>
> mdconfig -a -t vnode -f cuwin-dev.img -count 2000
> invalid number of blocks
>
> vnconfig -s labels -c vn0 cuwin-dev.img
> vnconfig: unknown option -s
>
> vnconfig -c vn0 cuwin-dev.img
> vnconfig: /dev/rvn0d: opendisk: No such file or directory
>
> vnconfig vn0 cuwin-dev.img
> vnconfig: /dev/rvn0d: opendisk: No such file or directory
>
> mount -t ext2fs /dev/wd0d /mnt/hda4
> mount_ext2fs: /dev/wd0d on /var/mnt/hda4: Input/output error
>
> mount -t ext2fs -f /dev/wd0d /mnt/hda4
> mount_ext2fs: /dev/wd0d on /var/mnt/hda4: Input/output error
>
... clearly you have not Read The Fine Manual.
I might be able to help you better if you explained what you were trying
to do.
Dave
--
David Young OJC Technologies
dyoung at ojctech.com Urbana, IL * (217) 278-3933
More information about the CU-Wireless-Dev
mailing list