LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   restore hard disk from several splitted files by Partition Image (https://www.linuxquestions.org/questions/linux-software-2/restore-hard-disk-from-several-splitted-files-by-partition-image-626286/)

powah 03-06-2008 08:29 PM

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?

aus9 03-08-2008 07:13 AM

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

powah 03-08-2008 03:01 PM

restore hard disk from several splitted files by Partition Image
 
Quote:

Originally Posted by aus9 (Post 3081955)
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?

aus9 03-08-2008 04:35 PM

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

powah 03-11-2008 10:03 PM

Quote:

Originally Posted by aus9 (Post 3082434)
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.


All times are GMT -5. The time now is 09:58 PM.