All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Ken Zalewski <kennyz@nycap.rr.com>
Cc: linux-kernel@vger.kernel.org, zalewski@docdev.com
Subject: Re: linux kernel 2.4.10 possibly breaks LILO
Date: Wed, 26 Sep 2001 23:01:52 -0600	[thread overview]
Message-ID: <20010926230152.M1140@turbolinux.com> (raw)
In-Reply-To: <3BB2A19D.1FB6D91A@nycap.rr.com>
In-Reply-To: <3BB2A19D.1FB6D91A@nycap.rr.com>

On Sep 26, 2001  23:48 -0400, Ken Zalewski wrote:
> Modifying /etc/lilo.conf and running "lilo" when using kernel version
> 2.4.10 does not appear to modify the boot sector accordingly, even
> though I receive no errors or warnings.  On next reboot, LILO is
> configured as it was previous to my changes.  I am therefore unable to
> modify LILO configuration in any way while using 2.4.10.

It is likely the blkdev-in-pagecache change which caused this problem.
If you have a mounted filesystem on the same device as the bootsector
you are writing (e.g. /dev/hda1) and the bootsector shares a block with
the filesystem (e.g. 2kB or 4kB blocks and ext2/ext3) then any changes
made to the bootsector are overwritten as soon as you make any change
to the filesystem.

To test this theory (if possible) you could remount the filesystem
read-only before running LILO.  This would only work if you had a
setup like /dev/hda1 is / and /dev/hdX is /boot, because you still
need to be able to write into /boot.  If /boot is in the root fs, it
is not possible to do this.  If you CAN do this, then you need to
reboot after running LILO.

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


  reply	other threads:[~2001-09-27  5:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-27  3:48 linux kernel 2.4.10 possibly breaks LILO Ken Zalewski
2001-09-27  5:01 ` Andreas Dilger [this message]
2001-09-27  5:10 ` Steve Kieu
  -- strict thread matches above, loose matches on Subject: below --
2001-10-02 17:54 Rui Ribeiro
2001-10-02 18:10 ` Petr Titera
2001-10-02 19:09   ` Andreas Dilger
2001-10-02 17:55 Petr Titera
2001-10-02 23:55 ` David Ford
2001-10-02 23:45   ` Jonathan Walther
2001-10-03 14:36 ` Dave Cinege
2001-10-03 20:46   ` Petr Titera
2001-10-02 18:03 Rui Ribeiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010926230152.M1140@turbolinux.com \
    --to=adilger@turbolabs.com \
    --cc=kennyz@nycap.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zalewski@docdev.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.