New Question
0

How do I generate windows 2012 R2 Sysprepped RAW images on KVM

asked 2016-05-11 13:47:28 +0300

sanjeev.jaiswal gravatar image

Has anyone generated the Windows 2012R2 and 2012 Standard sysprepped RAW images on KVM Juno environment?

Looks like this is not working. I am able to generate the RAW images, but on applying sysprep ,the image is unable to boot. This is not an issue however with qcow2 images which boot fine.

Thanks, Sanjeev

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-05-11 19:30:12 +0300

sanjeev.jaiswal gravatar image

I generated the RAW image using the windows tools.

https://github.com/cloudbase/windows-...

The raw image generates just fine using the imaging tool above, but on sysprepping of the RAW image does not boot at all and says hardware error etc.

edit flag offensive delete link more
0

answered 2016-05-11 15:09:54 +0300

avladu gravatar image

Hello,

A quick fix in your scenario would be to use:

qemu-img convert -O raw -f qcow2 <qcow2-image-file> <raw-image-file>

On the actual issue, can you give more information on how you generated the RAW image, like the tool used, parameters and the boot error you are getting?

Thanks,

Adrian.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-05-11 13:47:28 +0300

Seen: 878 times

Last updated: May 11 '16