LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Norton Ghost With Fedora Core 2 (https://www.linuxquestions.org/questions/linux-newbie-8/norton-ghost-with-fedora-core-2-a-206801/)

hkl8324 07-19-2004 12:18 AM

Norton Ghost With Fedora Core 2
 
I am using FC2 at the moument, i tweaked the system and just want to backup my system and next time i will not need to tweak it again when reinstalling FC2

I have Norton Ghost 2003,
Filesystem 1K-blocks used ava used% mnt pt
/dev/hda5 7598360 3376148 3836228 47% /
/dev/hda3 99075 7596 86364 9% /boot
none 128488 0 128488 0% /dev/shm
/dev/hda2 20470016 10684496 9785520 53% /mnt/fat32

Which partition i have to Ghost in order to achieve, i have heard that when using Ghost for backup, Ghost uses sector copy, that need loads of disk to backup the whole harddisk, or can i just backup some of the partitions???or neither...
and i am using ext2fs file system

one thing to add:
i have seen that my Norton Ghost 2003 does not support even Rat Hat 9.0 at
http://service1.symantec.com/SUPPORT...&osv=&osv_lvl=
do i need to buy, possibly prirate Symantec Ghost, to perform my operation???

thanks

osvaldomarques 07-19-2004 03:05 AM

Hi Mr. hkl8324,

Forget all about that windows things. The system you have has better tools to do it. The partitions you have to save are /dev/hda3 (boot) and /dev/hda5 (/). You will need a boot disk to recover the system or even duplicate it. To save it, you will use tar. The command will be
Code:

tar czv --one-file-system /boot / >"backup-file-name.tgz"
This command will get both partitions and save it on the file "backup-file-name.tgz". You may even save it on your windows partition if it is really a fat32. If, during the restore operation you have the same partition numbers, you won't need to make any edition to properly set the system. However, if you decide to install the backup in another partition, after the restore phase you must edit the file /etc/fstab and /boot/grub/grub.conf.
How to restore or install in another hd:
- boot with the boot floppy;
- execute fdisk if needed to partition the disk;
- execute mk2fs to format the partitions if needed or e2fsck to check it;
- mount the target root partition in any directory; remember you are not running into the hd; your root probably is in memory now; so, you may create any directory as the target with mkdir; for example,
Code:

mkdir /target
mount /dev/hda5 /target

- if you want to preserve the /boot partition separated from /, you need to
Code:

mkdir /target/boot
mount /dev/hda3 /target/boot

You have already to mount the partition where you stored the backup, for example
Code:

mkdir /backup
mount /dev/hda2 /backup

now, if you enter "df -v" you will see both partitions mounted, /target and /target/boot
- cd into /target
- tar xzvf /backup/"backup-file-name.tgz"
- After this, it's time to edit /target/etc/fstab and /target/boot/grub/grub.conf to the new partitions if you are installing in partitions other than the original ones.
- Now, if you are installing a new disk or the partition numbers were changed, you need to reinstall grub.
- As your software is already in place, you may chroot to use it[code]
chroot /target
grub[code]
You will have the grub prompt "grub>".
you will enter
Code:

root (hd0,2)
find /grub/stage1
setup (hd0)
quit

The first command for grub is our root is in "/dev/hda3". Grub uses a notation based on 0, so its partition numbers are always the normal partition number -1.

hkl8324 07-19-2004 05:45 AM

though a bit complicated for me, i think i understand, is that method equivalent to zipping the whole driver letter c:\ into a single file than export to another partition??? or am i wrong...

do you mean i CAN backup my partition i am working on.... this is marvelous..Ghost cannot do that....

i have another question concerning your method, how can i split the compressed tgz file in order to put it on CDr(s) (dont have DVDr cuz i cant afford)

sorry for my bad english..and thanks for your reply

osvaldomarques 07-19-2004 02:34 PM

Man, you don't know the problems I have with my English! The spell check is my friend. My language is Portuguese, the same spoken in Macao. You have a utility which splits files of any size into several files of a specified size. After split it, all you need is to write it in any removable media. To reassembly it again, all you need is to cat "backup-file-name-base"* > backup-file-name.


All times are GMT -5. The time now is 02:16 AM.