I need to Clone a Red Hat drive and install clone in HP server
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I need to Clone a Red Hat drive and install clone in HP server
I'm new to this forum and need help with a Red hat server I inherited.
This server is on it's last legs and needs to be replaced with new hardware; I have no copies of original Accounting software (rubicon) and no support from Rubicon (They no longer support the product)the version of Red Hat is old and probably never been updated.
I was thinking of cloning the drive and installing to a HP server (DL380-G4). This will be a total hardware change from what the systems running on now. My second choice would be to clone the drive, and install into a system that is a closer match to the existing hardware.
Has anyone had a similar situation, and if so what software did you use to clone the drive? Also, I need to know if I'm way off base with this plan. How about an alternate scheme/s?
Thanks for the suggestion. I downloaded and burned Clonezilla to a CD, and fired it up. It seemed to do the job for me, however I could not get the new system to boot off the cloned drive. I think I'll changes a couple of settings in Clonezilla and try re-cloning the drive.
One additional bit of information is that the destination drive for the clone is a Raid5 array on my HP server. I wonder if that will cause a problem with cloning process or boot?
I haven't used clonezilla for a while but I believe there are several options including copying mbr or not. You'll need that to boot the new drive. I'm not sure if RAID will create a problem, never used it.
Yancek, Thanks for the quick response and suggestion. I looked at my notes for my first clone attempt and it looks as if I did clone the MBR on my first go around using Clonezilla. So, I'm not sure where to go from here except retry the clone and double check every setting.
One additional item is; when the new system attempts to boot(off the Clone), it starts the process, gets hung up, and freezes. Displayed on screen is: LI and blinking cursor. What do you think?
If you have a Live CD of Linux you could use on the new server, try loading it and running "fdisk -l" command as root (lower case Letter L), post output. As root, type "grub" at prompt and then do following commands:
I tried the the commands from a terminal window in Ubuntu and received the following: error 21 Selected drive does not exist.
Drummer54
You're doing this on the new machine? Are there any other drives on it? Doesn't make sense? What happened when you ran: sudo fdisk -l? That should give partition information on the drives on the machine and would not produce the error you indicated as it is not looking for a specific partition.
The find /boot/grub/stage1 would produce an error of ' file not found' if it is not there.
yancek,
yes you are correct. I was not @ root when I ran fdisk -l. Duh!
This time I did get partition info. however, I did rec. file not found after the find/....... command.
grub> geometry (hd0)
drive 0x80: C/H/S = 52299/255/32, The number of sectors = 426759840, /dev/cciss/c0d0
Partition num: 0, Filesystem type unknown, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0xfd
Partition num: 5, Filesystem type unknown, partition type 0xfd
Partition num: 6, Filesystem type unknown, partition type 0xfd
Partition num: 7, Filesystem type unknown, partition type 0xfd
Partition num: 8, Filesystem type unknown, partition type 0xfd
Your last post shows no stage1 Grub file and Grub won't boot without it. If you have no other OS bootloader on a machine you cannot boot without stage1 in mbr. So Grub was not correctly copied/installed? Your fdisk output shows partition 0 from the Grub geometry command as the Linux partition and the others as raid partitions. I would assume you need to install Grub to that partition but I have never used raid and don't know what impact that might have. You could try using the Ubuntu CD and install Grub from the command line with:
the output after Setup (hd0)command: "unable to mount drive"
That's interesting. Usually get that error message trying to mount windows or other unsupported filesystem. Might be raid but I really don't know what else to suggest.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.