I figured out a way to "convert" the root fs from ext2 to xfs by booting
off the CD. However, when I try to boot off the MBR, the boot process
fails apparently because it's still trying to treat "/" as an ext2
filesystem (and hence no init is found). For now I'm booting off a
floppy disk, and that works fine.
I double-checked /etc/fstab, re-ran LILO, checked in /etc/lilo.conf no
luck. I read the man page for rdev but didn't find anything about fs
type. I also poked around in /boot running strings and gunzip on
various files looking for some reference to ext2. LILO's not having a
problem loading the kernel or initrd, so I don't think it's a cylinder
boundary problem.
I'm using kernel-2.4.18-SGI_XFS_1.1 on Red Hat 7.2.
Does anyone have a clue as to what is the problem?
In case anybody thinks to ask, this is the procedure I used for the
"conversion:"
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.
--
"Jonathan F. Dill" (dill@xxxxxxxxxxxx)
UMBI CARB IT Coordinator
Experimental Support Site http://concept.umbi.umd.edu
|