Jaan Posted September 19, 2024 Posted September 19, 2024 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
3s-gtech Posted September 19, 2024 Posted September 19, 2024 Can you plop the laptop HDD into a Windows machine and disk2vhd it that way? 1
LeMarchand Posted September 19, 2024 Posted September 19, 2024 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?
Jaan Posted September 19, 2024 Author Posted September 19, 2024 Can you plop the laptop HDD into a Windows machine and disk2vhd it that way? didn't even think of that! good shout
Jaan Posted September 19, 2024 Author Posted September 19, 2024 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
JRA Posted September 23, 2024 Posted September 23, 2024 (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 September 23, 2024 by JRA
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now