View Single Post
  #6 (permalink)  
Old 12-28-2007, 08:50 AM
ray
Newsgroup Contributor
 
Posts: n/a
Re: dd Partition Recovery Procedure?!?

On Fri, 28 Dec 2007 10:44:55 -0500, Doug Mitton wrote:

> x0054 <x0054@index.com> wrote:
>
>>Doug Mitton <doug_mitton********.x.com> wrote in
>>news:31p7n39gdii0pjh3kptoia4ug1lt5k583n@4ax.co m:
>>
>>> Hello again, this is a second part to my "Holiday Drive Recovery" post
>>> made a few moments ago.
>>>
>>> There have been some threads in the past several months on how to
>>> recover a hard drive installation using the `dd` command between to
>>> mismatched drive sizes. I just can't seem to find them. Does anyone
>>> have any links or a procedure?
>>>
>>> What I'm referring to is ... `dd` the drive image from a smaller
>>> partition to a larger partition ... now the problem is the larger
>>> partition thinks it is the same size as the smaller one. There had
>>> been a thread at one point of some commands to recover the lost space
>>> ... for both Linux and MSWin as I (seem to) remember.
>>>
>>> Any pointers or comments would be appreciated. TIA!
>>>

>>What type of file system are you using? I believe that there are commands
>>to extend or grow most file systems. For instance, I know for sure that
>>it's possible with riserfs. Let us know which file system you are using and
>>I am sure some one can help, this is a pretty simple thing I believe,
>>though I never had to do it my self.
>>
>> - Bogdan

>
> I'm using ext3. I thought there were some "detailed" instructions to
> do this but maybe I was mistaken. Thanks!


If I properly understand your question, there should really be no problem.
When I replaced the hard drive in my laptop with a larger one, I backed
the partitions up to an external drive using partimage from a live CD -
then I swapped drives - then I restored to the new drive using partimage
from a Live CD. At this point, all partitions were exactly the same as
they had been, so I used gparted from the Live CD to resize the ones I
wanted to.

Reply With Quote

 
Old 12-28-2007, 08:50 AM