Read the follwoing note:

http://sentinelsecurity.net/whitepapers/diskcloning.pdf 

I used this to clone all the partitions on one harddrive and copy them to 
another, including the boot partition. Easy and it works.

Kevin.


On Saturday 5 February 2005 20:01, Nick Rout wrote:
>On Sat, 2005-02-05 at 08:38 -0700, Kumar Golap wrote:
>> Hi All,
>>
>> I am thinking of migrating my system disk (/usr   etc..) to a bigger one
>>
>> Any ways of how to do that withuot doing a fresh install...
>>
>> May be its similar to how people may want to clone a system
>>
>> And more important is that my portage state needs to be remembered so
>> that i can update later without a hitch.
>>
>> Thanks
>>
>> Kumar
>
>if you can fit the old disk and the new disk in the same machine its a
>doddle.
>
>back up!
>
>partition the new disk
>
>make a file system on the new disk
>
>mount the new disk as (say) /newusr
>
>copy the contents of /usr to /newusr, makng sure to preserve ownership
>and permissions and symlinks
>
>rename /usr to /oldusr
>
>unmount /newusr and mount it as /usr
>
>edit fstab to add the new mount for /usr
>
>reboot to chack it all works as expected
>
>once you are 100% happy, delete /oldusr to free up some space.
>
>> --
>> [email protected] mailing list


--
[email protected] mailing list

Reply via email to