LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-28-2015, 04:57 PM   #1
hepkat63
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Rep: Reputation: 0
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?
 
Old 01-28-2015, 06:53 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
You have to use physical to virtual machine converter (P2V)
 
Old 01-28-2015, 08:47 PM   #3
hepkat63
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
would you recommend one? I downloaded platespin (or some name like that) but it doesn't run on win2012
 
Old 01-29-2015, 04:09 PM   #4
hepkat63
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
anyone?
 
Old 01-29-2015, 04:51 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 02-01-2015, 09:58 AM   #6
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Doesn't Microsoft have a p2v app?
 
Old 02-01-2015, 10:08 AM   #7
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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)
 
Old 02-01-2015, 11:15 AM   #8
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,591

Rep: Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689Reputation: 2689
Microsoft?

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.
 
Old 02-01-2015, 12:50 PM   #9
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
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.

Even Virtualbox provides a P2V...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Redhat 2.4.20-8 Physical to Hyper-V MrDraiz Linux - Virtualization and Cloud 4 09-26-2012 06:39 PM
install Redhat Linux 4.6 AS on a Microsoft Hyper V 2008 server rammohantv Linux - Virtualization and Cloud 6 04-18-2012 11:49 PM
[SOLVED] Network unreachable on Redhat 5.4 64bits under hyper v gilles.jandeau Linux - Enterprise 2 01-03-2011 03:21 AM
dual head , multi monitor setup on redhat 4 abrb220 Linux - Laptop and Netbook 7 01-01-2007 12:33 AM
Dlink DSL-302g and RedHat, Doing my Head in !!! trancemaasta Linux - Networking 1 12-09-2005 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration