How do I perform a Hard Disk Image Restore to a different disk
James McDonald
james
Sun Jun 17 03:29:25 PDT 2007
Ben Duncan wrote:
> Actually YOU can, if the receiving Partition is a little larger.
>
> SO if you have a dd image, say of 1.2GB and the receiving is set up at
> 1.5GB then you can JUST dd over to the 1.5.
>
> I do that all the time with some commercial software that ties License to
> inodes on the Partition it is installed on.
>
> Just run gparted on the partition that received it, if you wish to make it
> larger, then fsck it ...
>
> Hope this helps ..
>
> james at jamesmcdonald.id.au wrote:
>
>> I have an image of a partition which I took ages ago
>>
>>
> <SNIP>
>
Thanks Ben
I ended up just going ls -l on the *.img file and making the partition
that size. from there it was simply dd if=image.img of=/dev/hda1 bs=64k
and it took about an hour to dd the 7.8 GB image onto the partition.
It was actually a windows XP Partition image (I know I should have sent
this query to the windowshelp at linux-sxs.org mailing list) ... so I then
used fdisk to delete the partition and ntfsresize to enlarge the
partition to the full size of the disk. From your email it looks like I
could have just created a partition the full size of the disk in the
first instance... and done the ntfsresize which would have saved me a step.
More information about the Linux-users
mailing list