lkml.org 
[lkml]   [2001]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: linux kernel 2.4.10 possibly breaks LILO
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.036 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site