Help getting vbox .vdi imares to run under Freenas
internationils at gmx.net
Sun Jan 8 18:04:47 UTC 2017
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:
>>>> ...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
>>>> Any pointers are welcome...
>>>> freebsd-virtualization at freebsd.org mailing list
>>>> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at 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
>> 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 at freebsd.org mailing list
>> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at 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.
...looking at the MBR (extracted with dd if=disk0 of=disk0-mbr count=1
bs=512) under linux with fdisk -l shows:
|nils at 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|
More information about the freebsd-virtualization