xfs
[Top] [All Lists]

Re: best linux kernel with memory management

To: linux-xfs@xxxxxxxxxxx
Subject: Re: best linux kernel with memory management
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Fri, 29 Oct 2004 21:55:18 -0800
In-reply-to: <5b64f7f04102906084b358d5f@mail.gmail.com>
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <412C87F3.2030602@ribosome.natur.cuni.cz> <20040825114005.GB13285@logos.cnet> <412C94F5.4010902@ribosome.natur.cuni.cz> <20040825120450.GA22509@logos.cnet> <412C9D9C.6060703@ribosome.natur.cuni.cz> <20040827121905.GG32707@logos.cnet> <417F6258.7010209@ribosome.natur.cuni.cz> <20041028105108.GB5741@logos.cnet> <20041029071429.GF1246@frodo> <5b64f7f04102906084b358d5f@mail.gmail.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Fri, Oct 29, 2004 at 09:08:49AM -0400, Rahul Karnik wrote:
> On Fri, 29 Oct 2004 17:14:29 +1000, Nathan Scott <nathans@xxxxxxx> wrote:
> 
> > There should be no problems using XFS for everything, including
> > /boot - I do that on all my systems (for a few years now).
> 
> Last time I checked (~ 2 months ago), there is a GRUB bug that
> prevents the use of XFS as the /boot filesystem. I use ext3 for my
> /boot to get around this, with all my other filesystems being XFS. Any
> chance the XFS devs could help fix the GRUB team fix the bug?

grub's install is entirely braindamaged, but it does have the
capability of doing non-braindamaged, fully XFS compatible install
now, its just less then user friendly:

run grub --no-floppy

grub> root (hd0,0)              # whatever your root or /boot partition is
grub> embed /boot/grub/xfs_stage1_5 (hd0)
19 sectors embedded             # pay attention to this, use number of sectors 
below
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+19 p 
(hd0,0)/boot/grub/stage2 /etc/grub.conf
# make sure you use the root device after the ' p '

the --stage2= causes grub to read/write the stage2 file via standard
unix system calls instead of writing it through the raw block device
behind the filesystem's back (which is what causes the problems with
xfs).

this also has the advantage of moving grub's config file where it
belongs in /etc/grub.conf, but note that this won't work if you are
using a /boot partition as grub's root.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpfGgGKUsusa.pgp
Description: PGP signature

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