moving redhat to hyper-v is DOING MY HEAD IN !! please help
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
moving redhat to hyper-v is DOING MY HEAD IN !! please help
Hi all,
I have to move my current redhat 6.6 enterprise PHYSICAL installation to a Hyper-v VM on Windows server 2012.
I thought this would be easy, so simply used clonezilla to make a copy, then created a blank VM on Windows, loaded up clonezilla, restored the file - but it failed.
It gets to "enabling /etc/fstab swaps:
and then just hangs. Eventually giving "task swapon:1044 blocked. not tainted 2.6.32-504.3.3el6.x86_64
and then repeats.
I have tried the whole process three times and it stalls each time at the same point. The clonezilla forum can't help me, they are out of ideas.
So, would anyone here please be able to shed some light on this, OR... perhaps give me a better method to move the installation across please?
I don't have any experience here, but I like the KISS approach.
Disable swap on the physical system, comment out the entry in fstab, image it again, and see what happens. You can always add swap later.
wouldn't it make more sense to move the Windows machine into a VM running on Linux?
(I know, boss, managers, other people without a clue in the job.. , but I could not restist to ask)
A P2V tool to move Linux onto Hyper-V? I would like to see that.
But I would find another way. There are many HOW-TO documents out there, some of them must work.
My first take would be to make sure the physical identifies mounts (and swap) partitions by LABEL, then replicate the mounts AND SWAP partitions using the LABELS, and clone the contents of the mounts into the new home. Then load up a live CD, chroot into the new root, and run the grub commands to install the boot image properly.
Well, Hyper-V is the poorest choice for virtualization out there, so I guess if you're going to use it and they don't provide a P2V app, then find another way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.