[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Clone/Image Red Hat EL AS4

Asked by Joker1975 in Linux Setup

Tags: clone, linux, redhat

My goal here is to figure out a way to clone a RedHat Enterprise Linux (AS4) server in order to make restoration easier in case of a disaster.  Thus far, every option I have tried as resulted in boot failures of various flavors. (kernel panic/halt or else GRUB fails to find the kernel)

I would like some detailed descriptions as to how I could go about making a clone/image file of a working RedHat Enterprise Linux system, Restore that image onto a new computer, and have a working "copy" of the original computer when I'm done.

So far, what I have tried as been based on booting Knoppix, connecting to a network share (smbmount) and creating/restoring my "image"..  I have tried using PartImage (kernel panic on reboot, failed) as well as manually creating the file system, mounting it under Knoppix, and zipping everything into a tarball to be unzipped on the target system..  

Here's the detailed explaination of what I have tried:
------------
/*on the existing system*/
-Boot Knoppix
-Root Shell
mkdir /mnt/smb
mkdir /mnt/tmp
fdisk /dev/hda /*make note of file system details to be restored on target system */
  /*for the record, /dev/hda1 is boot, /dev/hda2 is root, /dev/hda3 is swap*/
smbmount //smbserver/dir /mnt/smb -o username=user/domain
  /*prompt for password*/
mount -t ext3 /dev/hda2 /mnt/tmp
mount /dev/hda1 /mnt/tmp/boot
cd /mnt/tmp
tar czvf /mnt/smb/RHAS4IMG.tgz ./*
------------
/*on the new system*/
-Boot Knoppix
-Root Shell
mkdir /mnt/smb
mkdir /mnt/tmp
fdisk /dev/hda /*set up disks as noted from source system*/
mke2fs /dev/hda1; mke2fs -j /dev/hda2; mkswap /dev/hda3
smbmount //smbserver/dir /mnt/smb -o username=user/domain
  /*prompt for password*/
mount -t ext3 /dev/hda2 /mnt/tmp
mkdir /mnt/tmp/boot
mount /dev/hda1 /mnt/tmp/boot
cd /mnt/tmp
tar xzvf /mnt/smb/RHAS4IMG.tgz
------------

I have also tried using PartImage to replace the tar steps, but got similar results..
Can anyone point out potential flaws in this procedure and help me get a working clone up and running? (would appreciate detailed steps, as my knowledge of linux is not "expert")

Also a consideration (though I haven't gotten far enough to worry about this part yet) How do I tell a RHN Registered RHEL system to forget its systemid and re-register with RHN? (so that I can register it as a new system or delete the existing registration on RHN)

-Thanks in advance for any comments.
[+][-]06/13/05 02:16 PM, ID: 14206409Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/13/05 02:35 PM, ID: 14206552Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/13/05 02:44 PM, ID: 14206631Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/13/05 02:53 PM, ID: 14206710Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/13/05 03:40 PM, ID: 14207022Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/14/05 05:41 PM, ID: 14217228Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/15/05 03:45 PM, ID: 14226696Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/15/05 04:02 PM, ID: 14226758Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Linux Setup
Tags: clone, linux, redhat
Sign Up Now!
Solution Provided By: wesly_chen
Participating Experts: 5
Solution Grade: A
 
[+][-]06/17/05 07:51 AM, ID: 14241435Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/17/05 09:12 AM, ID: 14242464Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/07/05 10:22 AM, ID: 15040453Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy