xfs
[Top] [All Lists]

Re: boot thinks / is still ext2

To: linux-xfs@xxxxxxxxxxx
Subject: Re: boot thinks / is still ext2
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Wed, 24 Apr 2002 23:17:57 -0800
In-reply-to: <3CC77E02.44593DF5@xxxxxxxxxxxx>; from dill@xxxxxxxxxxxx on Wed, Apr 24, 2002 at 11:54:42PM -0400
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <Pine.LNX.4.44.0204230428170.1681-100000@xxxxxxxxxxxxxxxxxxxxxxxxx> <3CC77E02.44593DF5@xxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Wed, Apr 24, 2002 at 11:54:42PM -0400, Jonathan Dill wrote:
> First, you better make a boot floppy in case you can't boot off the MBR
> (which is the problem that I had).  Then:
> 
> 1) rsync -avx "/." to a directory on another partition eg. /home/r2/.
> 
> 2) boot of the SGI XFS installer CD with "linux rescue"
> 
> 3) "skip
> " the mounting of the root fs
> 
> 4) mkdir /mnt/tmp and mount the other partition with the "/" files as
> /mnt/tmp
> 
> 5) ln -s /mnt/tmp/r2 /mnt/sysimage
> 
> Now all of the xfsprogs should be in your exec path.  mkfs.xfs on the
> real root partition, mount it, then rsync -avx the files back to the
> root partition and reboot.

rsync isn't a very good tool for this, it will not preserve hard
links.

use:
cd / 
find . -mount -depth | cpio -dvmp /home/r2

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp79y5tz4MWg.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>