On Mon, 28 Jul 2003 13:48:02 +0100 (BST),
Gordon Henderson <gordon@xxxxxxxxxx> wrote:
>(in lilo.conf:
> boot=/dev/md1
> root=/dev/md1
> raid-extra-boot=/dev/hda,/dev/hdc
>
>in fstab:
>
>/dev/md1 / xfs errors=remount-ro 0 1
Lilo and XFS coexist but only if lilo writes to the start of the disk,
_NOT_ the start of the XFS partition. XFS keeps its superblock at the
start of each partition, if anything overwrites that superblock that it
breaks the XFS filesystem. All systems have XFS / and lilo works fine,
with boot=/dev/hda, not boot=/dev/hda1.
BTW,. you should be able to run xfs_repair on the broken filesystem and
recover your data, xfs_repair will seach for a secondary superblock and
reconstruct the one that lilo stamped on. Since this is /, you will
need to boot an emergency system such as the install CD booted with
'linux rescue' then run xfs_repair on md1.
|