xfs
[Top] [All Lists]

Re: Booting off XFS, lilo corruption?

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Booting off XFS, lilo corruption?
From: Juri Haberland <juri@xxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2003 15:05:47 +0200
In-reply-to: <Pine.LNX.4.56.0307272142230.13820@xxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.43.0306201100400.23072-100000@xxxxxxxxxxxxxxxxxx> <1056130527.26411.102.camel@xxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.56.0307272142230.13820@xxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425
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


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