[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#251526: If XFS selected for / then fallback to Lilo

On Wed, Jun 30, 2004 at 11:43:02AM -0700, Karl Hegbloom wrote:
> On Wed, 2004-06-02 at 11:09 -0700, Karl Hegbloom wrote:
> > On Wed, 2004-06-02 at 12:22 -0400, Martin K. Petersen wrote:
> > > This feature is orthogonal to grub's first stage loader residing on
> > > XFS.

> > > ext2/3 leave 4KB of empty space before the filesystem actually starts.
> > > That makes it possible to share the partition between the boot loader
> > > and the filesystem.  XFS, however, does not leave empty space at the
> > > beginning so you can't put grub/lilo on that.

> > Ah, ok, so that explains how I was able to have an XFS / on several
> > machines.  I put Grub in the MBR, not the boot block of the partition.
> > I was not aware that XFS does not leave space for a boot loader!  Good
> > thing it Just Worked with Grub in the MBR.

> Since it does work with GRUB in the MBR, is there any reason not to
> modify the message and grub-installer logic to allow grub in the MBR
> when XFS is used for /?

It doesn't.  The *default* is to install grub to the MBR; the problem is
that grub also tries to directly read the contents of the filesystem in
order to verify the presence of the second-stage bootloader, which doesn't
work because the journal data hasn't been written to its final location
yet on disk.

Steve Langasek
postmodern programmer

Reply to: