On Fri, May 02, 2003 at 12:53:28AM +0200, derek holzer wrote:
conversion WITHOUT transferring back over the old file
system? i tried
dd if=/dev/hda2 of=/dev/hda7, but when i mounted /dev/hda7, it was
turned into an ext3 filesystem, although i had already made it reiserfs.
yep. dd does raw byte copying; you successfully wiped out your new
reiserfs and dumped a binary image of your old fs onto it :)
i THINK you can just do this (assuming all partitions are mounted)
make the backup:
tar -czvf /where/hda7/is/mounted/backup.tgz /where/hda2/is/mounted/
then create the reiserfs partition on /dev/hda2 (assuming you're not
booted from there)
mount /dev/hda2 somewhere
cd somewhere
tar -xzvf /where/hda7/is/mounted/backup.tgz
then if /dev/hda2 is your root partition (i'm not clear from what you
said) edit somewhere/etc/fstab appropriately
and if you /boot is on /dev/hda2, you'll need to run lilo
telling it to use somewhere/etc/lilo.conf (i forget what flag you
use ... man lilo) ... unless of course you don't use lilo :)
sorry for not being more clear, i haven't done this in a year or two.
--
Paul Winkler
home:
http://www.slinkp.com
"Muppet Labs, where the future is made - today!"