Re: [qubes-users] Re: Import a .img file (Windows7) into Qubes?

2016-10-24 Thread Achim Patzner
Am 23.10.2016 um 23:30 schrieb jidar :
> 
> qemu-img has worked for an "enterprise" VM I use without any issue (going 
> from VMDK to raw/qcow2). If the disk is encrypted you might be SOL though.

It was the LanDesk Manager that killed me last timeā€¦


Achim

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/F1EDB378-64C4-46D4-8CE8-F1E0A06D9E0C%40noses.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Import a .img file (Windows7) into Qubes?

2016-10-24 Thread Drew White
On Monday, 24 October 2016 15:26:18 UTC+11, mox...@gmail.com  wrote:
> That's what I did previously and it didn't work:
> 
> 1. Converted to .VHD using Disk2VHD
> 2. Converted to .img using DD
> 3. qvm-create --hvm --root-move-from=/path_to .img
> 
> It didn't even start, can't detect hdd. The same procedure works in 
> Virtualbox and KVM. The .img is about 50G while the physical disk where w7 is 
> installed is 250G but only about 75G is used. The Qubes disk is 250G. I 
> thought Xen would be able to auto set it to 50G dynamically expandable, same 
> way other hypervisors do it. Is there a setting somewhere in the config files 
> to enable the feature?

check the size with "du -h" ?

Depending on how you made the image depends on how you get the result, and DD 
will write the zeros out too, and not be expanding. (as far as I found out)

There are many p2v options out there. But the easiest way would be to plug in 
your HDD to the system, and then use parted (or gparted) to copy the partitions 
to the img file.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0145ab60-d3af-4db6-ad8e-97c56dc0db15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Import a .img file (Windows7) into Qubes?

2016-10-23 Thread jidar

On 10/23/2016 04:18 PM, Achim Patzner wrote:

If wasting money is not a problem you can use a physical-to-virtual tool
to convert it to a VMware image which will do all those things on the
way and convert the VMware disk to a Xen image; the better ones will
also disable drivers that won't work in virtual environments.


Achim



qemu-img has worked for an "enterprise" VM I use without any issue 
(going from VMDK to raw/qcow2). If the disk is encrypted you might be 
SOL though.


--jidar

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/nuja61%24p3f%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.