Gordon Henderson wrote:
> Is anyone using XFS with LILO to boot off?
>
> I've been using XFS for a short while now, but always just on the big data
> partitions on various servers I've built, keeping root, /usr on ext2 so I
> can use my debian recovery CD if ever required, but this time I thought
> I'd try an all-XFS system and have been having major headaches trying to
> get it to boot off an XFS partition.
>
> Heres the scoop:
>
> create a raid1 set, mkfs -t xfs it, then mount it under /mnt
> copy / onto it via cd / ; find -xdev | cpio -pm /mnt
> Edit /mnt/etc/fstab and /mnt/etc/lilo.conf to do the right things
> run lilo -r /mnt
>
> This is something I've done many times to get / onto a raid0 device with
> ext2. (Debian install doesn't support this directly - yet)
>
> At this point, the XFS is corrupt on it:
You cannot install lilo into a XFS partition. Use the MBR instead. See
http://oss.sgi.com/projects/xfs/faq.html#lilowork
Cheers,
Juri
|