LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-24-2012, 01:49 PM   #1
MrDraiz
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Converting Redhat 2.4.20-8 Physical to Hyper-V


So my shortcomings in Linux have been a considerable hurdle in something I initially thought would not be to difficult.

I looked around and it seemed that it would be as simple as taking Vmware Standalone converter, converting my physical machine to a Vmware machine and then converting my vmware machine to a Hyper-V machine. Nevermind the silliness of needing to use vmware to get a hyper-v machine up and running. After a slightly arduous process I discovered that doing this resulted in a machine that would not boot.

After some reading it seems to be that the problem is the way the machine initializes.

An initial ramdisk image is being used before passing on control to the hdd. Apparently the contents of the ram disk are whatever is in initrd-2.4.2-08.img.

At this point I am already out of my breadth what I've read that I should do is well this:

http://communities.vmware.com/message/284926

I can't mount the file, it gives me errors
/dev/loop0: Invalid argument
FAT: bogus logical sector size 11528
JFS: Can't find a valid FAT filesystem on Dev 07:00
mount: you must specify the filesystem type


Am I even on the right track doing this? Would there be a way to edit the grub loader on a destination machine so that it knows where to load all the images from without me editing this one?

Currently all it gives is an operating system not found error in it's virtual form.

Thanks for reading.
 
Old 04-25-2012, 03:13 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
All this is just wrong stuff.

"can't mount the file, it gives me errors
/dev/loop0: Invalid argument
FAT: bogus logical sector size 11528
JFS: Can't find a valid FAT filesystem on Dev 07:00
mount: you must specify the filesystem type"

Dunno what the state if the system could be in so I doubt we could guess.

Yes, you can generally catch grub and use it to get a clues. Personally I'd boot to a live cd image and then peek into the virtual hard drive for clues.

Might go to the original system and think about removing or changing entries to be transportable. Then consider a simple dd of the system to an image. Then dd the image to a pre-made blank vm.
 
Old 04-25-2012, 04:26 PM   #3
MrDraiz
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
The physical system is intact and runs perfectly.

It is running Red Hat Linux 2.4.2 and the only thing installed on it is an IKONBOARD Forum server. I didn't create the machine and am a novice at best working with Linux I mostly work on hardware.

The linked file seems to have the exact errors I'm dealing with. http://communities.vmware.com/message/284926

However when using the guide, I was running into hiccups which I seemed to work around until it came to mounting the Image, it seems possible I did the previous step incorrectly using gzip, I had to enter the paramater "-S .img" since it didn't want to work with the file otherwise.

A DD of the drive may be something I have to look at, I guess as long as everything is intact I'd just need to fix the grub loader.

Thanks for your time, if it works I'll update.
 
Old 04-25-2012, 07:38 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,061

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
the 2.4.2 kernel was in the very old and very dead RH7 ( Red Hat 7 )
it will never see any new hardware made after 2001

rh7 is VERY past it's end of life
so is the next RH8,RH9,RHEL3 and RHEL4

i do not even know if any of the new hypper-v VM's will even boot RH7
 
Old 09-26-2012, 06:39 PM   #5
aftrshock
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Talking ermahgerd

Ahaaaaaaaaaaaaaaaaaaaaaaaaa.

I was looking for tips on virtualizing a RHEL 5.8 box into HyperV and my exact google queries brought me here, I thought this was a typo (kernel version)

Holy shit. I used RH 7 over a decade ago, back when 2.2 and 2.4 were the bleeding edge (stable) kernels.

LOL.

Maybe he needs to virtualize a redhat box over his dialup interwebs? ahahahaha.

Thanks, I needed a laugh.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
LXer: Converting A VMware Image To A Physical Machine LXer Syndicated Linux News 0 01-30-2012 07:00 AM
[SOLVED] Network unreachable on Redhat 5.4 64bits under hyper v gilles.jandeau Linux - Enterprise 2 01-03-2011 03:21 AM
Help with converting a physical server to a virtual centosboy Linux - Virtualization and Cloud 3 08-20-2010 03:15 PM
Converting virtual address to physical address in the kernel DBQ Programming 0 02-07-2010 06:30 PM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration