Re: how to transfer the image of qemu to real machine

2015-11-04 Thread Tuyosi Takesima
hi all i write **only tentative ** plan . it perhaps has imcompleteness . URL is http://openbsd-akita.blogspot.jp/2015/11/export-kvms-image-to-real-machine.html . - regards

Re: how to transfer the image of qemu to real machine

2015-11-04 Thread Tuyosi Takesima
Hi all . a little progress was made . from FAQ8 boot> boot -s # fsck -p / && mount -uw /<--- ok # fsck -p /usr && mount /usr <--- fail touch /etc/spwd.db and then i can login by root . but login by tuyosi is not possible so i create user TUYOSI . then i can login by TUYOSI .

Re: how to transfer the image of qemu to real machine

2015-11-04 Thread Stuart Henderson
On 2015-11-04, Tuyosi Takesima wrote: > Hi all . > > i use only one PC which is dual boot and has USB HDD(sd1) . > i write down my procedures . > > 1)on linux machine , i boot openbsd by kvm and follow current . > and so the qcow2 image of OpenBSD-current.img was made

Re: how to transfer the image of qemu to real machine

2015-11-04 Thread Jan Vlach
Hello Tuyosi, > 4)/MNT/usr/sbin/installboot sd1 try: /MNT/usr/sbin/installboot -r /MNT sd1 I've always transferred systems using dump & restore to be on the safe side though.

Re: how to transfer the image of qemu to real machine

2015-11-04 Thread Tuyosi Takesima
thanks for kind advices . i do 1) ssh root@192.168.100.101 "tar czpf - / | tar xzpf - -C /MNT and 2) installboot -r /MNT sd1 (on openbsd5.8 = sd0a) and then 3) boot by grub perhaps sd1a's current openbsd comes up because [ /dev/sd1a(655d3964e75dc0cc.a): file system is clean ; not

how to transfer the image of qemu to real machine

2015-11-03 Thread Tuyosi Takesima
Hi all . i use only one PC which is dual boot and has USB HDD(sd1) . i write down my procedures . 1)on linux machine , i boot openbsd by kvm and follow current . and so the qcow2 image of OpenBSD-current.img was made . and then i copy OpenBSD-current.img to ext2 area . 2)on openbsd

Re: how to transfer the image of qemu to real machine

2015-11-03 Thread Chris Cappuccio
Tuyosi Takesima [nakajin.fu...@gmail.com] wrote: > 1)on linux machine , i boot openbsd by kvm and follow current . > and so the qcow2 image of OpenBSD-current.img was made . > and then i copy OpenBSD-current.img to ext2 area . You are creating the filesystem layout under linux and then

Re: how to transfer the image of qemu to real machine

2015-11-03 Thread Benny Lofgren
Hello Tuyosi, On 2015-11-04 03:38, Tuyosi Takesima wrote: > i use only one PC which is dual boot and has USB HDD(sd1) . > i write down my procedures . > > 1)on linux machine , i boot openbsd by kvm and follow current . > and so the qcow2 image of OpenBSD-current.img was made . > and then i

Re: how to transfer the image of qemu to real machine

2015-11-03 Thread Tuyosi Takesima
thanks for advices . i rewrite /MNT/etc/fstab concerning [disklabel sd1] 9f39539222428a90.b none swap sw #9f39539222428a90.a / ffs rw 1 1 # duid: 655d3964e75dc0cc 655d3964e75dc0cc.a / ffs rw 1 1 but i cannot boot sd1's openbsd . # /MNT/usr/sbin/installboot