From owner-freebsd-virtualization@freebsd.org Sun Jan 8 18:04:47 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A8DFCA59F9 for ; Sun, 8 Jan 2017 18:04:47 +0000 (UTC) (envelope-from internationils@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 12C3619D8 for ; Sun, 8 Jan 2017 18:04:46 +0000 (UTC) (envelope-from internationils@gmx.net) Received: from [10.0.2.15] ([87.174.152.48]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MMk99-1cOsWH2e6R-008X7d for ; Sun, 08 Jan 2017 19:04:38 +0100 Subject: Re: Help getting vbox .vdi imares to run under Freenas To: freebsd-virtualization@freebsd.org References: <9bcff734-5ed5-a228-df5e-5ff35cf9e3ff@gmx.net> <4b65f427-07dc-8b0c-1ac9-59c3c1533336@freebsd.org> <201dbbc3-53de-ba98-6a88-16dd06444bc5@gmx.net> <13af4cda-44d7-5b2c-7dbe-862b3fc8be40@freebsd.org> From: Nils Message-ID: <8e19f594-e281-6676-fecc-e1af058e2e22@gmx.net> Date: Sun, 8 Jan 2017 19:04:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 In-Reply-To: <13af4cda-44d7-5b2c-7dbe-862b3fc8be40@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:wHhBttm4K2IuwSNuYBCcz/7RqRR5+7qqHgbn647cUUJaU/kxgNF lgIjCOJyHLMuFXSPQ8Ko8q22FQIv0bnK2Bh2oZ4fXcMszehovvGoN9VBMmWoxM53bAgq2co KXI97n7H4uSM1jgp0Lwq36ELATCQtD2oqaPL1B5tOH11LYpJF6F66hG93xczweB5xahrTe4 WT+g1QHWB/4qWdrltywxg== X-UI-Out-Filterresults: notjunk:1;V01:K0:WkpBCxintAo=:LGJ5Xd/ebBk79AFlMlQcDi kPciGOY9orNCSq+N/xX6VGilKBvxdV036X2GCYaU7xmndXw3Bgdrc8YF1xewICUoqBI2CT0Wb R168lcRl5y/TFn3H8pG/XbomHTio7ofsnCl1LSlI0n0jbfnYW6wseXWF9nTKsFiVdryczaMho dfqLo/P4U33PAFuL9tbYcd8vWK2GAWBxGzmaDeY8uImnpFRnS0mhVO6Vm5JSJwIlCXdpx6cF7 j/Gpbf6g+w1tetf5CJ6X3JlFlf17e5lZIeLmz4Jycno52abvQkxmUzQu4Cx6yEVN5BHxdrBBr xmgOJHrxpw25iQ2a/pio/N9+fDFXYi8aox5M6NZRjS+vJk89qOu6cAMn7hIEwF9Br11CJpWEm V9H+JpCD7wiq8Qgo/FLq2HThfcyrzOuL4aKDml9HYs4WnLmuN9Qa8Ul/xjyNvCGZTcUobYE5y u6m3jSkMnz1eLzLudv3PBKLZ3fBwYfhm+8fpTBJXIpZxT+zTA62gTKqxQ5BEuveI7Vjv5QA5r QYBalijybYozuwfszSec93qONgHo0i++jTXT6YqK5PBXgg8SpCOaj74smYNLs2Daw2Z13X1pl LIL605vhezPzhDiOb54bb65AGz/nO8NSoGCiNk4u4qC5Ua6liAYwIjpp55YpRClmxaChax7KW GpNyCESXUrU9nBVNUcO07VaKRUYTAT2yerR13AJBd05nFp8m8FqI9UPUL7VprHq94xPsvnUh+ lanAcWZo80DhC7Spxus7S6aDDNhg+8u9KEQP5PqYDy51dNJ+nUemJ47U4BIihVJwIaRNY1kYq Ha11t+f X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2017 18:04:47 -0000 On 2017-01-08 18:35, Allan Jude wrote: > On 2017-01-08 12:21, Nils wrote: >> On 2017-01-08 18:01, Allan Jude wrote: >>> On 2017-01-08 10:18, Nils wrote: >>>> Hello, I'm fighting to get vbox vdi images to run under FreeNAS and >>>> don't know what else to try. I've filed and commented on these two bugs: >>>> https://github.com/pr1ntf/iohyve/issues/227 >>>> https://github.com/pr1ntf/iohyve/issues/228 >>>> >>>> ...but I think the problem is not with bhyve itself or with iohyve, but >>>> either with grub-bhyve or ZFS. >>>> Running installation ISOs etc. works fine, but I need to get the VDIs >>>> going., >>>> >>>> Any pointers are welcome... >>>> Thanks >>>> Nils >>>> _______________________________________________ >>>> freebsd-virtualization@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >>>> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" >>>> >>> How are you converting the .VDI to a raw image? bhyve does not yet >>> support the .VDI format, only raw. >>> >> I've done the conversion to raw with both VBoxManage and qemu-img, same >> result. >> >> I'm not sure where to add teh text flag, but I don't think that it's a >> problem, as grub should be running in a text console. What bothers me is >> that grub at the prompt claims not to recognize the (hd0): >> >> |grub> ls (hd0) Device hd0: No known filesystem detected - Total size >> 16777216 sectors ... where extracting the MBR and looking at it with >> fdisk shows the partitions... | >> >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" >> > Well, you are not telling grub to USE a partition, you are asking it to > read (hd0) has a file system > > You likely want something like: ls (hd0,msdos1) > > grub> ls (hd0) Device hd0: No known filesystem detected - Total size 16777216 sectors grub> ls (hd0,msdos1) error: disk `hd0,msdos1' not found. grub> ...looking at the MBR (extracted with dd if=disk0 of=disk0-mbr count=1 bs=512) under linux with fdisk -l shows: |nils@dnet64:/mnt/nas/backup/tmp$ sudo fdisk -l disk0 Disk disk0: 8 GiB, 8589934592 bytes, 16777216 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000f139a Device Boot Start End Sectors Size Id Type disk0p1 * 63 15952544 15952482 7,6G 83 Linux disk0p2 15952545 16771859 819315 400,1M 5 Extended disk0p5 15952608 16771859 819252 400M 82 Linux swap / Solaris|