Re: [linux-audio-user] xruns: file system ext3 --> reiserfs?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] xruns: file system ext3 --> reiserfs?
From: Paul Winkler (pw_lists_AT_slinkp.com)
Date: Thu May 01 2003 - 22:56:33 EEST


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!"


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri May 02 2003 - 03:03:13 EEST