ray <ray@zianet.com> wrote:
>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.com :
>>>
>>>> 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.
There isn't really a problem ... I accomplished the task using
`\cp -a /sourcedir /destdir`
I was trying to find some old information that I had read once in one
of the "general" Linux groups about some "manual" method of "fixing" a
drive image created by `dd` between mismatched drive sizes. The `cp`
commands seems slower than `dd` so I was looking for alternatives for
a future recovery.
I'll have to experiment with `partimage`, I haven't used it for a VERY
long time. Thanks for the response.
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------