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/
pgp79y5tz4MWg.pgp
Description: PGP signature
|