Jump to content

Recommended Posts

Posted

Hi all,

 

I would like to convert a physical instance of ubuntu (running on a laptop) to a virtual machine to run on Hyper-V.

 

On a windows based machine i would just use disktovhd which would give me a virtual disk i could upload and import into hyper-v.

 

I'm a little out of my depth with linux if i'm honest. We have a seperate FOG instance running ubuntu also, so not totally new to it all...... my instance has a gui also.

 

My question i guess is, what do you linux guys use on ubuntu (pref with a gui) what would allow me to create a vhd of my ubuntu machine.

 

Cheers

Posted
Not a Linux user, and no GUI, but could you use Clonezilla to clone the Ubuntu instance and then boot the VM using Clonezilla and restore the created image?

 

OMG i deffo not thinking right...... we already use FOG here....... i good just capture the disk via pxeboot and restore to a hyper-v instance.

 

 

Thanks

 

- - - Updated - - -

 

Yep these two options should work..... i need a coffee or a holiday.....

 

cheers guys

Posted (edited)

Whenever I've done that I've set up the destination VM, booted that to a live disc iso, booted the e.g. laptop to a live disc also, find the IP of the destination and cat the whole disk into netcat and pipe it to it over the network.

 

You definitely want to make sure you're not netcat-ing to the wrong one though! I make sure I've got a quiet moment for that sort of thing...

Edited by JRA

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...