[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] libguestfs fails on FreeBSD9.3, MINIX3 qcow2 images



Hello Richard and all,

(continuing from https://www.redhat.com/archives/libguestfs/2014-September/msg00112.html ).

I'm experimenting with libguestfs on non-linux VMs, encountered errors on FreeBSD9.3 and MINIX3 (and few others, but these ones are easy to share), with host Ubuntu 14.04.01 LTS x86-64.

Attached are logs from "virt-inspector -v -x" for each VM.

The images are here:
  http://files.housegordon.org/libguestfs/minixR330.qcow2.clean_install.xz (44MB)
  http://files.housegordon.org/libguestfs/freebsd93.qcow2.clean_install.xz (161MB)

To run them:
  xz -dc < minix3/minixR330.qcow2.clean_install.xz > minixR330.qcow2
  kvm -drive file=minixR330.qcow2,if=virtio,media=disk,index=0 \
      -m 384 -curses -net user -net nic,model=virtio

  xz -dc < freebsd93.qcow2.clean_install.xz > freebsd93.qcow2
  kvm -drive file=freebsd93.qcow2,if=virtio,media=disk,index=0 \
      -m 384 -curses -net user -net nic,model=virtio

Root password for freebsd is "12345".
Root in Minix does not require a password.


Regards,
 - Assaf


==== Disk structure from within MINIX3 VM guest ====
# fdisk /dev/c0d0
Geometry of /dev/c0d0: 10402x16x63
Inconsistent size in partition 1.
Suspect head and sector parameters.
Disk appears to have mis-specified number of heads or sectors.
Try  fdisk -h256 -s63 /dev/c0d0  instead of
fdisk -h16 -s63 /dev/c0d0
Do not write the table if you are not sure!.

----first----  -----last----  --------sectors-------
Num Sorted Act  Type     Cyl Head Sec   Cyl Head Sec    Base    Last    Size
1     1    A   MINIX        0   1   1    649 255   63      63+10483199 10483137
-
2     2        None         0   0   0      0   0    0       0       0       0
3     3        None         0   0   0      0   0    0       0       0       0
4     4        None         0   0   0      0   0    0       0       0       0

# df
Filesystem    512-blocks       Used      Avail %Cap Mounted on
/dev/c0d0p0s0    4194304     111632    4082672   2% /
none                   0          0          0 100% /proc
/dev/c0d0p0s2    3831200     805792    3025408  21% /usr
/dev/c0d0p0s1    2457600      25784    2431816   1% /home
none                   0          0          0 100% /sys

# mount
/dev/c0d0p0s0 on / type mfs (rw)
none on /proc type procfs (rw)
/dev/c0d0p0s2 on /usr type mfs (rw)
/dev/c0d0p0s1 on /home type mfs (rw)
none on /sys type devman (rw)


====== Disk structure from within FreeBSD 9.3 VM guest ======
# df
Filesystem   1K-blocks   Used   Avail Capacity  Mounted on
/dev/vtbd0p2   4818524 777212 3655832    18%    /
devfs                1      1       0   100%    /dev

# mount
/dev/vtbd0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)

# fdisk /dev/vtbd0
******* Working on device /dev/vtbd0 *******
parameters extracted from in-core disklabel are:
cylinders=10402 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=10402 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
start 1, size 10485759 (5119 Meg), flag 0
beg: cyl 0/ head 0/ sector 2;
end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>



Attachment: virt-inspector.freebsd93.txt.xz
Description: application/xz

Attachment: virt-inspector.minix.txt.xz
Description: application/xz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]