Help! Ghosting Linux (Disk to Disk)

BuckMaster

Diamond Member
Oct 9, 1999
3,260
0
0
I have a 8 Gig Drive with Suse 8.0 Pro installed and wanted to image the drive by doing a Disk to Disk to a 14 Gig drive for backup. Its for my webserver. When I do its not working it wont boot to Linux on the 14 Gig Drive after doing a disk to disk to the new drive. In Ghost it sees it as a Linux plateform and even copies just fine no errors when ghosting.

Im using Ghost from SystemWorks 2003. Ive Ghosted many Windows OS but Im not sure if Linux will ghost like windows but was told it would. Anyone have any thoughts? Maybe another imaging software to try?

Keep in mind I dont know nothing about linux command prompts Im just learning thats why I want to back it up! :)


Thanks!
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
ghost doesnt support grub.....

1. Boot with the CD, and select the "linux rescue" option

2. After you've gone thru the start-up options and end up at a shell,
enter: chroot /mnt/sysimage
(or whatever it suggests to mount your system)

3. You should then be root at /, and you should be able to see all your
old / structure.

4. enter:
/sbin/grub-install /dev/hda
This will put grub back where it belongs. It kept the start-up
configuration files for me (maybe it's worth backing them up first??
 

BuckMaster

Diamond Member
Oct 9, 1999
3,260
0
0
ghost doesnt support grub

Please remember I dont know much about Linux now! :)
So your saying Suse = grub which Ghost doesnt support or work properly?



Boot with the CD, and select the "linux rescue" option
After you've gone thru the start-up options and end up at a shell,

So do this on the 14 Gig H/D I did a disk to disk using Ghost on, correct? Not the orginal 8 Gig drive? Id hate to screw up my orginal disk drive.

enter: /sbin/grub-install /dev/hda This will put grub back where it belongs

So are you saying when I used ghost it copied but didnt place the grub in the right directory to intalize boot up?

Thanks and sorry if Im way off here. :)
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
Please remember I dont know much about Linux now!

only one way to learn :)

So your saying Suse = grub which Ghost doesnt support or work properly?

Grub is the boot default boot loader for suse (8.x, maybe even earlier) if I recall correclty, and ghost doesnt know what to do with it.

So do this on the 14 Gig H/D I did a disk to disk using Ghost on, correct? Not the orginal 8 Gig drive? Id hate to screw up my orginal disk drive.

yes. the origianl drive should be fine...ghost only reads it, and makes no changes to it.

So are you saying when I used ghost it copied but didnt place the grub in the right directory to intalize boot up?

more or less

Thanks and sorry if Im way off here.

you're welcome and good luck :)
 

BuckMaster

Diamond Member
Oct 9, 1999
3,260
0
0
OK so I dont get it. I booted off the first Suse CD. Started thr rescue part and I get to a prompt to login:
I typed root. Then I get a "Rescue:~#" prompt. I tried typing in a few things you posted but to no avail.

If I dont type in root at the login part and just type "chroot /mnt/sysimage" it ask for a password which is my root password but wont accept it?
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
using your resuce cd, it might not be necessary to mount the root fs...it could be doing that automatically for you, which means all you have to do is log in as root and resinstall grub. try this straight from the symantec site:


Cannot start Linux with GRUB boot loader after restoring an image of a disk or partition

Situation:
You cloned a hard drive containing the Linux operating system, or you created and restored an image of a hard drive containing the Linux operating system. After restoring the image or cloning, the destination computer cannot boot into Linux. This version of Linux uses the GRUB boot loader.

Solution:
To make the destination computer bootable, run the Linux GRUB boot loader utility to reinstall the boot loader.

Note that Symantec does not provide support for using Ghost with a Linux version that uses the GRUB boot loader. The following information is provided as a convenience only. For more information on Ghost support, read the document Ghost compatibility with Linux.

1. Start the computer from the Linux rescue disk.
2. Log in as "root" (without the quote marks).
3. Run the GRUB boot loader. This displays the GRUB prompt, grub>
4. Type:

find /boot/grub/stage1

This will prompt GRUB to display the location of the GRUB boot files. For instance, GRUB might display (hd0,1) where hd0 represents the first hard drive in the computer (either IDE or SCSI) and the ",1" represents the partition where the /boot/grub/stage1 file is located. In this example, the stage1 file is located on the second partition of the first hard drive (where drive and partition numbering start at 0).
5. Type the word root, followed by the location of the file from the previous step:

root (hd0,1)

The file location, (hd0,1) may be different on your computer.
6. Type:

setup (hd0)

This will write the boot loader to the Master Boot Record on the first hard drive on the computer.


The GRUB boot loader should now be properly re-installed, and you should be able to restart the computer from the hard drive.