LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-06-2008, 08:29 PM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
restore hard disk from several splitted files by Partition Image


I want to clone a disk disk by the Partition Image program on the SystemRescueCd.
Image file of a partition created by Partition Image is splitted automatically into several files (sda1.partimg.gz.000, sda1.partimg.gz.001, ...)
How to restore them?
Do I restore file.partimg.gz.000 first, then file.partimg.gz.001 second and so on?
 
Old 03-08-2008, 07:13 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
firstly when you say clone....do you mean that when you have taken an image of first drive....that you will be removing old drive and replacing it with another drive in the same sata slot or scsi slot?

2) did you know there is an option to take an image....and use the tab key about 13 presses to get an option to make only one image....that is not split in 2g chunks?

3) I have never had to use split files but yes that is what I would do but before that.....you need to know that partimage can not restore images of a larger partition onto a smaller actual partition.

so use the live cd....to create equal or larger size partitions.

then do the restore.

Bear in mind that you may then have to use the live cd on reboot to edit the fstab file and redo the bootloader.

4) to plan for your next clone can I suggest you consider that each image needs to be less than 4.3G so it can be backed up to a dvdrw.

I do not want to stop you using lots of data....but only you know how much you use.

I only have 2.3G of data on a 80g drive
 
Old 03-08-2008, 03:01 PM   #3
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
restore hard disk from several splitted files by Partition Image

Quote:
Originally Posted by aus9 View Post
firstly when you say clone....do you mean that when you have taken an image of first drive....that you will be removing old drive and replacing it with another drive in the same sata slot or scsi slot?

2) did you know there is an option to take an image....and use the tab key about 13 presses to get an option to make only one image....that is not split in 2g chunks?

3) I have never had to use split files but yes that is what I would do but before that.....you need to know that partimage can not restore images of a larger partition onto a smaller actual partition.

so use the live cd....to create equal or larger size partitions.

then do the restore.

Bear in mind that you may then have to use the live cd on reboot to edit the fstab file and redo the bootloader.

4) to plan for your next clone can I suggest you consider that each image needs to be less than 4.3G so it can be backed up to a dvdrw.

I do not want to stop you using lots of data....but only you know how much you use.

I only have 2.3G of data on a 80g drive
1. Yes. After I took an image of first drive, I remove and replace it with another drive.
partimage save /dev/sda1 /mnt/nfs/backup-of-sda1.pimg.gz (which produce splitted files automatically)
2. Thanks for the info.
3. I had backup the first drive partitions entries to a network disk with Partimage:
dd if=/dev/hda of=/mnt/nfs/image/backup-hda.mbr count=1 bs=512
sfdisk -d /dev/hda > /mnt/nfs/image/backup-hda.sf
What do I should with the second drive after I use the SystemRescueCd to boot up?

Last edited by powah; 03-08-2008 at 03:02 PM.
 
Old 03-08-2008, 04:35 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
uh-oh....I do not use ntfs.....I am aware it wants a certain size.

http://www.linuxquestions.org/questi...34#post2250134

see if that helps.


since you left out, it was a ntfs format....can you mention if the old drive used
raid, LVM, what were the other filesystem formats, what was the bootloader on that device, was it the first bootable hard drive or did your bios jump to another mbr.

thanks
 
Old 03-11-2008, 10:03 PM   #5
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by aus9 View Post
uh-oh....I do not use ntfs.....I am aware it wants a certain size.

http://www.linuxquestions.org/questi...34#post2250134

see if that helps.


since you left out, it was a ntfs format....can you mention if the old drive used
raid, LVM, what were the other filesystem formats, what was the bootloader on that device, was it the first bootable hard drive or did your bios jump to another mbr.

thanks
Both linux and ntfs partitions are present on the hard disk.
It is a dual boot harddisk.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Copy hard disk or partition image to another system using a network and netcat LXer Syndicated Linux News 0 08-12-2007 03:11 PM
Best way to copy image to a DVD-RW and then restore to a new partition? Shadoglare Linux - General 5 03-10-2007 12:37 AM
Can dd restore the entire hard disk including partition table and MBR? depam Linux - General 17 01-01-2007 07:05 PM
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee Suse/Novell 20 10-31-2005 07:30 AM
hard disk image nived Linux - Software 3 12-08-2004 09:05 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration