Hi, all. till iread Nick's reply , i make clone 32GB USB from 2GB USB by dd. and am making new partition on 32G USB . but fail ,fail ,
from now i change strategy . erase 32GB USB completely , and make a partition ,and copy files from 2GB to 32GB . 2G USB is recognized as sd0 by amd64 openbsd machine. 32G USB is sd1 . disklabel -E sd1 d * A and erese k etc . (i can't make big size a partition directly . some technique is needed ) result is next . > p OpenBSD area: 0-61702144; size: 61702144; free: 51692144 # size offset fstype [fsize bsize cpg] a: 10000000 39486816 4.2BSD 2048 16384 1 b: 10000 0 swap c: 61702144 0 unused > q # mkdir /mnt0 # mkdir /mnt1 # newfs sd1a # mount /dev/sd0a /mnt0 # mount /dev/sd1a /mnt1 # cp -r /mnt0/* /mnt1 or (cd /mnt0; tar cvpf - .)|(cd /mnt1 ; tar xpf -) the latter may be much faster . regretably , # cd /usr/mdec; ./installboot /mnt1/boot biosboot sd1 ksh: ./installboot: not found FAIL # /usr/sbin/installboot /mnt1/boot /usr/mdec/biosboot sd1 installboot: disklabel: /mnt1/boot: Inappropriate ioctl for device also FAIL . pehaps umount /mnt0 umount /mnt1 continue . what is ' appropriate ioctl for device ' ? --- tuyosi