[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reiserfs to ext3



S. M. Ibrahim (Lavlu) wrote:
> On 4/4/07, Greg Folkert <greg@gregfolkert.net> wrote:
>>
>> On Wed, 2007-04-04 at 21:14 +0600, S. M. Ibrahim (Lavlu) wrote:
>> > My system now runing on reiserfs partation, i want to make it ext3
>> > without reinstalling debian. any idea ?
>>
>> You have to have a spare partition large enough to handle each
>> partition's data in a tar.gz file.
>>
>> Do you have this? if no... then I am sorry.
>>
>> If yes, please respond on list to this. And I will write a summary on
>> how to do it.
>> -- 
>>
> yea, i have , please write details.

If you have enough disk space to accomodate your data *without*
compression you could do the following:

- boot a 'rescue system' (I recommend knoppix) from CD or usb
- mount both your partition and the one with the free space
- rsync -avx your data to the free space
- reformat your partition to ext3 (all data will be lost, so make sure
  you have good backups!)
- rsync all your data back to the new ext3-partition
- adjust your /etc/fstab (replace reiserfs by ext3)
- cross your fingers and reboot

tar would work on similar lines. tar can use compression, rsync is
probably faster (plus you have all your files as a backup; if one of
those files would get corrupted not everything is lost).

Take care that you properly understand each step, verify the options. Be
aware that a typo may lead to data loss...

Take care, good luck!

Johannes



Reply to: