LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Backing up HD with Ghost (https://www.linuxquestions.org/questions/linux-general-1/backing-up-hd-with-ghost-46260/)

kgsum 02-20-2003 12:18 AM

Backing up HD with Ghost
 
Hello,

I currently run a multi-boot system with Windows 98, XP, and Slackware 8.1. I use NT Loader initially, however when linux is selected LILO kicks in. This has been working perfectly for me for awhile so i decided to back everything up to a second hard drive using norton ghost 2003, so if anything happened i wouldnt have to re-install each OS.

I imaged my working drive to the backup drive, and then imaged it back to test it out. NT Loader seems to work ok (can boot into windows), however when i select linux and lilo starts, it freezes at "L" and loops "01 01 01 01 01 01" forcing me to reboot.

Both drives are 60GB, one is Quantum, the second is WD. Geometry wise, the Quantum is 7299/255/63, and the WD is 7297/255/63. I am assuming this is a problem with LILO not recognizing the drives geometry properly, but unfortunately I don't know a lot about this. I thought by copying the data sector for sector back to the drive it has been running off the whole time, linux should not see the difference in cylinders.

Does anyone have a suggestion on how to fix this? Or a better way I can backup my entire drive & bootsector?

Any help is greatly appreciated.

Thank you.

vladkrack 02-20-2003 08:05 AM

Try to access your system with a boot disk, then mount your HD somehere, chroot this place then run lilo ...

Hope that helps ...

kgsum 02-20-2003 09:36 AM

I was able to boot off the slackware CD and mount /dev/hda5 (my root partition). When I try to run LILO, I get the error "Sorry, dont know how to handle device 0x0100".

I have no problem with wiping the drive and starting from scratch if need be. Since I am using NT Loader to boot all 3 OS's, can i just not install LILO at all when I install slackware? If I point NT Loader to my root linux partition, will that work?

whansard 02-20-2003 10:23 AM

I think ghost changed your lilo config. just guessing

edit lilo back to what it should be then run lilo

make boot and root as hda5.

also maybe the results of what you did moved the
kernel or map file a little and your lilo boot sector
that you copied to the windows nt boot loader
is pointing to the wrong sector?

learn to use dd
its better for what you are trying to do with linux.
you can compress a partition like this
dd if=/dev/hda5 -|gzip -9 > /path/to/file.gz

cli_man 02-20-2003 10:34 AM

What version of ghost are you using, this seems to be a popular problem you have to have ghost version 7.5 and above, what proably happened and I have seen this several times is it took ext3 filesystem and ghosted it as ext2, and it does not do that correctly so you pretty much have a corrupted linux file system.


All times are GMT -5. The time now is 08:11 PM.