bug-grub
[Top][All Lists]
Advanced

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

Re: [reiserfs-list] Error 31 (mounted with notail, linux-2.4.2-reiserfs-


From: Jochen Hoenicke
Subject: Re: [reiserfs-list] Error 31 (mounted with notail, linux-2.4.2-reiserfs-20010327.patch applied)
Date: Tue, 17 Apr 2001 15:26:38 +0200 (MET DST)

On Apr 10, Chris Mason wrote:
> 
> 
> On Tuesday, April 10, 2001 02:34:55 PM +0200 Piotr Krukowiecki
> <address@hidden> wrote:
> 
> > Hi
> > 
> > [This message is also CC'ed to reiserfs-list (if posting without
> > subscription is allowed), since I don't know is it GRUB or Reiserfs bug]
> > 
> > 
> > I have problem with Reiserfs and grub.
> > 
> > Software used:
> > grub 0.5.96.1
> > reiserfsprogs 3.x.0j
> > linux 2.4.2 with linux-2.4.2-reiserfs-20010327.patch, 2.4.3 w/o any
> > patches
> 
> Hmmm, can grub read the 3.6.x reiserfs disk format?  The changes are fairly
> simple...

Yes, except that grub-0.5.96.1 has a problem with 3.6.x symlinks
(fixed in CVS).

> > Second problem:
> > 
> > grub> setup (hd0,1)
> >  Checking if "/boot/grub/stage1" exists... yes
> >  Checking if "/boot/grub/stage2" exists... yes
> >  Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
> >  Running "install /boot/grub/stage1 d (hd0,1)
> > /boot/grub/reiserfs_stage1_5 p /boot/grub/stage2"... failed
> >
> > Error 31: File is not sector aligned

This normally means that this file is written with tail compression.
The notail option only applies to new files, so you should rename
and copy reiserfs_stage1_5 while reiserfs is mounted with -o notail:

  cd /boot/grub
  mv reiserfs_stage1_5 dummy; cp dummy reiserfs_stage1_5; rm dummy

Or just remove reiserfs_stage1_5.  It doesn't make sense to use
stage1_5 if it can't be embedded (fixed in grub CVS).

The other solution is to upgrade to the grub CVS version, which
automatically makes use of the reiserfs bootloader area.  This way
reiserfs_stage1_5 can be copied there and grub works even with tail
compressed files.

  Jochen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]