Jump to content
Compatible Support Forums
Sign in to follow this  
randybell

Grub Restore

Recommended Posts

I am trying to Image (Clone) my redhat drive to another smaller drive. I can do the clone process ok, but the boot loader needs to be restored. Is there a way to create a cd or floppy bootdisk from the running system then restore that information to the cloned drive?

Share this post


Link to post

Sure there is. First, let me ask a few questions.

 

1, What position is the new smaller drive going to be in relation to the curent drive in the system? In other words,are you planning on using the drive as an added drive in the system? Say, the original drive as master and the smaller as slave?

 

2. What method are you using to clone the drive?

 

3. Are there any other OS'es on the system? If so, do you know the partition designation of the current RedHat install?

 

You will need to edit the /boot/grub/menu.lst file to reflect the new position of the smaller drive, as well as edit the /etc/fstab file to tell it where root and other partitions are relative to the master drive. Meaning, if RedHat was on hda1 and now it is on hdb1 (because you moved the install to a primary slave drive) fstab needs to reflect this, as does the menu.lst file. Once that is sorted out, the command grub-install can be used to copy the grub to your boot partition, whether it be the MBR or whatever.

 

If you planning leaving just the smaller drive in the system, the process is much easier.

 

Once we know hoe the drive(s) are going to be set up, we can give more specifics.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×