From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 6 01:52:36 2014 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 179FABC for ; Wed, 6 Aug 2014 01:52:36 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D8F8327F3 for ; Wed, 6 Aug 2014 01:52:35 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id s761qVdN014390 for ; Tue, 5 Aug 2014 21:52:31 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <53E18A4C.2070100@sentex.net> Date: Tue, 05 Aug 2014 21:52:12 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "freebsd-emulation@freebsd.org" Subject: Vritbox 4.3.12 and RELENG_6 guest ? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.74 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 01:52:36 -0000 I have been trying to convert a FreeBSD 6 box to a vdi image without luck. To do so, I did the following steps, but when I attach the .vdi file to the VM I created, I dont get by the initial boot loader. Has anyone done anything like this ? dd if=/dev/zero of=sz.dd bs=1024k count=20000 mdconfig -t vnode -f sz.dd gpart create -s MBR md0 gpart add -t freebsd md0 gpart set -a active -i 1 md0 gpart bootcode -b /boot/boot0 md0 gpart create -s BSD -n 20 md0s1 gpart add -t freebsd-ufs -s 1G md0s1 gpart add -t freebsd-swap -s 1G md0s1 gpart add -t freebsd-ufs -s 2G md0s1 gpart add -t freebsd-ufs md0s1 newfs -U -O2 /dev/md0s1a newfs -U -O2 /dev/md0s1d newfs -U -O2 /dev/md0s1e mkdir /mnt/root mkdir /mnt/usr mkdir /mnt/var mount /dev/md0s1a /mnt/root/ mount /dev/md0s1d /mnt/var mount /dev/md0s1e /mnt/usr cd /mnt/root gzcat ~sz/dump-root0.gz | restore -rf - cd /mnt/usr gzcat ~sz/dump-usr0.gz | restore -rf - cd /mnt/var gzcat ~sz/dump-var0.gz | restore -rf - umount /mnt/root umount /mnt/var umount /mnt/usr mdconfig -d -u -0 Then lets convert the file VBoxManage convertfromraw szocke.dd szocke.vdi --format VDI When I try to then boot the VM, it just gets stuck at the "Default F1" and when I hit F1, just # symbols appear. The hypervisor is RELENG_10 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/