LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2004, 12:18 AM   #1
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Rep: Reputation: 30
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

Last edited by hkl8324; 07-19-2004 at 12:44 AM.
 
Old 07-19-2004, 03:05 AM   #2
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
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.
 
Old 07-19-2004, 05:45 AM   #3
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
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

Last edited by hkl8324; 07-19-2004 at 05:52 AM.
 
Old 07-19-2004, 02:34 PM   #4
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 and Norton Ghost 2003 ultrajones Fedora 2 11-12-2004 08:11 PM
Problem with Norton ghost luka1 Linux - Software 2 05-12-2004 10:02 AM
Equivalent of Norton Ghost for Linux? vlk72 Linux - Newbie 15 10-08-2003 05:12 AM
Linux and Norton Ghost jet192 Linux - General 1 08-17-2003 11:26 AM
Redhat 7 and Norton Ghost VKH Linux - General 1 08-17-2001 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration