[libvirt-users] Libvirt, virtmanager & Windows 7 installation partition

Roland Giesler roland at giesler.za.net
Thu Jul 4 20:21:28 UTC 2013


I need to use an existing windows 7 installation in a virtual machine
form a libvirt host running Ubuntu 12.10.

Windows 7 installs on two partitions.  There a 100MB boot partitiona
and then the main partition for the installation.

If I boot the laptop (which dual boots), I can select Windows 7 and
boot it just fine, or alternative Ubuntu.

If I select /dev/sda1 in the virtmanager as the source path I can see
dis activity, but in the VM window the "booting from hard disk..."
text never does away.

If I select /dev/sda2 (where the windows installation resides (and
which is not marked as bootable), I get a boot failure right away.

Here is what /var/log/syslog has:

Jul  4 22:11:02 Matt-HP ntfs-3g[8385]: Version 2012.1.15AR.5 external FUSE 29
Jul  4 22:11:02 Matt-HP ntfs-3g[8385]: Mounted /dev/sda2 (Read-Write,
label "", NTFS 3.1)
Jul  4 22:11:02 Matt-HP ntfs-3g[8385]: Cmdline options:
rw,nosuid,nodev,uhelper=udisks2,uid=1001,gid=1001,dmask=0077,fmask=0177
Jul  4 22:11:02 Matt-HP ntfs-3g[8385]: Mount options:
rw,nosuid,nodev,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sda2,blkdev,blksize=4096
Jul  4 22:11:02 Matt-HP ntfs-3g[8385]: Global ownership and
permissions enforced, configuration type 7
Jul  4 22:11:02 Matt-HP udisksd[2569]: Mounted /dev/sda2 at
/media/roland/BE26AE8326AE3C71 on behalf of uid 1001
Jul  4 22:12:31 Matt-HP kernel: [15366.356259] audit_printk_skb: 48
callbacks suppressed
Jul  4 22:12:31 Matt-HP kernel: [15366.356265] type=1400
audit(1372968751.291:34): apparmor="STATUS" operation="profile_load"
name="libvirt-c6a90ff5-9849-2ec5-fc8e-a331b144ceff" pid=8540
comm="apparmor_parser"
Jul  4 22:12:31 Matt-HP kernel: [15366.584252] device vnet0 entered
promiscuous mode
Jul  4 22:12:31 Matt-HP kernel: [15366.588663] virbr0: topology change
detected, propagating
Jul  4 22:12:31 Matt-HP kernel: [15366.588669] virbr0: port 1(vnet0)
entered forwarding state
Jul  4 22:12:31 Matt-HP kernel: [15366.588685] virbr0: port 1(vnet0)
entered forwarding state
Jul  4 22:12:31 Matt-HP kernel: [15366.588963] IPv6:
ADDRCONF(NETDEV_CHANGE): virbr0: link becomes ready
Jul  4 22:12:31 Matt-HP NetworkManager[986]:    SCPlugin-Ifupdown:
devices added (path: /sys/devices/virtual/net/vnet0, iface: vnet0)
Jul  4 22:12:31 Matt-HP NetworkManager[986]:    SCPlugin-Ifupdown:
device added (path: /sys/devices/virtual/net/vnet0, iface: vnet0): no
ifupdown configuration found.
Jul  4 22:12:32 Matt-HP NetworkManager[986]: <warn>
/sys/devices/virtual/net/vnet0: couldn't determine device driver;
ignoring...
Jul  4 22:12:33 Matt-HP avahi-daemon[935]: Joining mDNS multicast
group on interface vnet0.IPv6 with address fe80::fc54:ff:fe8a:8f93.
Jul  4 22:12:33 Matt-HP avahi-daemon[935]: New relevant interface
vnet0.IPv6 for mDNS.
Jul  4 22:12:33 Matt-HP avahi-daemon[935]: Registering new address
record for fe80::fc54:ff:fe8a:8f93 on vnet0.*.

Is there anything that I can learn from this log?  What could I do to
make this work.  Dual booting it not an option in this case.

regards

Roland Giesler
+27 (0)72-450-2817
http://www.giesler.za.net

Disclaimer: The sender invokes the rule of "exemptus responsibilitus"
pertaining to caffeine soluted inductions and/or decantations thereof
into tactile communication interfaces and alternative apparatuses with
respect to personal computation devices or otherwise implementations
of electronic and/or bionic devices. This impartation is intended for
the addressed party, unless conditions contrary to the aforementioned
exist, in which case it is pertinent.  Reduce without further ado to
nothingness said impartation; alternatively "refrain from traversing
the point of origination, be not enriched by 200 Randus and proceed
without delay to enjailment".




More information about the libvirt-users mailing list