Moving RHEL6.2 HDD from one machine to another.
Hi All.
I am in an environment where I need to set up one master RHEL hdd on a workstation, and clone the hdd to use on multiple other workstations. (we are arranging the licenses to cover all active workstations). There appears to be an issue that the hdd will only work in the workstation that it was built in. If I attempt to plug it into another machine, it is not recognised as a valid boot device. We have verified that BIOS settings are exactly the same. The difference is that the original workstation recognises the drive as "Redhat Enterprise Linux", and the other workstations don't (however if I boot up Clonezilla I can verifiy that the HDD is physically there).
Can anyone advise one way or another?
Thanks in advance.
Owen.
Responses
Hi Owen,
What is the hardware configuration you are using?
Like the workstation brand and do you use a raid controller in your workstations. I guess so for you wish to use hardware cloning it seems.
You may even be in luck that the disk controller did not see your disk, for some controller sync it's own disk to the installed disk. So it whipes the installed disk.
Happened to us a couple of times in the past.
The way I use to clone Linux servers, should work on workstations too:
1) create a ftp server or use an existing one with about the same free space as the disk you want to clone.
2) download g4l (ghost for linux) or another Linux aware ghost imaging software, and burn the image to disk.
3) a) boot the source workstation
b) create a ghost image of the bootdisk.
4) a) boot the destination workstation
b) deploy the ghost image.
5) boot the destination workstation to single user mode and change the network settings and hostname if needed.
6) reboot and test.
7) repeat 4) - 6) until all workstation are done.
Kind regards,
ir Jan Gerrit Kootstra
What are you using to clone? I found an article regarding Ghost which references issues specific to GPT. I will continue to look into this and please update the group if you come across what is causing the issue. I am unsure if you are chasing down a BIOS/UEFI issue, or a GPT issue. (I know my IBM x-series server creates a boot menu item for "Red Hat Enterprise Linux" - but I don't know if something creates that in the UEFI, or if the UEFI dynamically scans and finds that entry.
Are you cloning the /boot/EFI partition (which I believe is fat32) along with the other partitions?
I believe a fairly standard GPT layout would be
/boot/EFI -- fat32
/boot -- ext[34]
<remainder> LVM
Here is an interesting article about the EFI files that are created:
Here is an article regarding having issues with the boot flag:
https://bugzilla.redhat.com/show_bug.cgi?id=746895
Here is an article specific to Ghost:
http://www.symantec.com/business/support/index?page=content&id=TECH111106
DISCLAIMER: I know very little about the nuances of GPT and UEFI - I just found this post interesting.