LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-10-2006, 08:11 AM   #1
Freehand
LQ Newbie
 
Registered: May 2006
Location: Philly
Distribution: Fedora/Ubuntu
Posts: 13

Rep: Reputation: 0
Backup suggestions for WinXP/RH9 dual-boot


Hello, (1st post, so please excuse me if I get this wrong)

I have a user that dual-boots between WinXP and Red Hat 9.0. He is primarily Linux-centric, only using Windows for the apps. My Linux experience is moderate, this user is my only Linux client. I would like to back up his system, in a way that preserves the integrity of the disk. In my experience, ghost, does not work with Linux.

How could I back up the machine, so that both OSs are retained?

The installs both reside on the same HDD
 
Old 05-10-2006, 08:21 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
you can use this live CD distribution (gentoo based)
http://www.sysresccd.org

It work just fine for me.

use the command partimage
 
Old 05-10-2006, 09:07 AM   #3
Freehand
LQ Newbie
 
Registered: May 2006
Location: Philly
Distribution: Fedora/Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks

Thanks, I'll give it a try.
 
Old 05-10-2006, 10:49 AM   #4
Freehand
LQ Newbie
 
Registered: May 2006
Location: Philly
Distribution: Fedora/Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Loks great???

Looks great, but how do you use it?

I would like to copy the image to a USB HDD. I cannot mount any directory that I create. I cannot edit any of the /etc/fstab, /etc/mtab files (because I do not know emacs or vim). I also do not have months to learn these archaic utilities either. The images are being copied to a RAMDisk of some sort, how can that be changed?

I guess that I am looking for a solution and not a lesson.
 
Old 05-10-2006, 12:28 PM   #5
Freehand
LQ Newbie
 
Registered: May 2006
Location: Philly
Distribution: Fedora/Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry about the rant. It was totally uncalled for and un-professional. I dealing with some linux agro. I appreciate any help. I think I have it now...
 
Old 05-11-2006, 03:34 AM   #6
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
Ok, don't worry i'll try to help you the best as i can.

Step-by-setp:
Using partimage (partition backup only)

1. start on the CD with the USB hard drive connected
2. mount the USB hard drive in the folder temp1 because it's already created by default
Code:
$mount /dev/sda1 /mnt/temp1
3. start partimage
Code:
$partimage
4. select the partition
4.1 enter the path where you want to save the data
IE: /mnt/temp1/backup.partimg.gz
5. Save partition into a new image file
6. press F5
7. Use no compression or Gzip (if you want to be able to restore the MBR)
8. F5 to start the backup

NOTE; you can get more info about partimage at this link http://www.partimage.org/Partimage-manual_Usage


Using DD (partition and full disk backup)
note: dd is a bite to bite copy so if your hard drive is a 120Go you image will do 120 Go of space even if you are using only 10Go. Another thing dd is pretty slow and do not compress the output image, so be patient.... dd doesn't give any output so the only way to know that dd didn't crash is to open an other terminal window by pressing alt + F2 and type top and F1 to come back to the first terminal. (you can still change terminal window by pressing alt + F1 or F2 when the dd comand is running)

1. start on the CD with the USB hard drive connected
2. mount the USB hard drive in the folder temp1 because it's already created by default
Code:
$mount /dev/sda1 /mnt/temp1
3. use dd to backup the disk or the partition
to save the disk:
Code:
$dd if=/dev/hda of=/mnt/temp1/backup.dd
to restore the disk
Code:
$dd if=/mnt/temp1/backup.dd of=/dev/hda


if you have any question or if you have difficulty to do these step, just tell me.

Angel

Last edited by angel115; 05-11-2006 at 06:16 AM.
 
Old 05-15-2006, 11:08 AM   #7
Freehand
LQ Newbie
 
Registered: May 2006
Location: Philly
Distribution: Fedora/Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
I think I have it now, thanks for the replies...

/F
 
  


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
Partition help for dual-boot WinXP and RH9 livatlantis Red Hat 2 10-15-2004 04:52 AM
RH9 and WinXP, dual boot Ulaire Smiley Linux - Newbie 3 09-27-2003 09:09 AM
WinXP/RH9 - Dual Boot? Ulaire Smiley Linux - Newbie 5 09-26-2003 01:08 PM
RH9/WinXP Pro dual boot whisper8003 Red Hat 3 08-30-2003 09:08 PM
WinXP/RH9 Dual Boot Shademeister Linux - Newbie 7 08-08-2003 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:52 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