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

Re: ext2 to reiserfs conversion



On Wed, May 12, 2004 at 03:40:20AM -0600, tsitras@spymac.com wrote:
> hi i am running woody with kernel 2.6.5.
> i would like to know how can i convert
> the current partitions, including /root
> from ext2 to reiserfs?
> thanks!
Hi T,
from what I know, you can not.
That is to say, that you can not do it without backing up or
transferring you data.
you could get a bunch of similar sized partitions and 'cp -a' over the
files.

/dev/hda1 is /home on ext2
/dev/hdb1 is new reiser of same size
mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1
mkfs.reiserfs /dev/hdb1
mkdir /mnt/hdb1
mount /dev/hdb1 /mnt/hdb1
cp -a /mnt/hda1/* /mnt/hdb1/.

THIS IS A POSSIBLE UNTESTED OUTLINE.

OTOH, you can upgrade from ext2 to ext3 with very little effort.
-Kev

Attachment: signature.asc
Description: Digital signature


Reply to: