Some background: swap = sda1, root = sda2, cdrom = hda
So I had just built my 2.6.x kernel and was going to install it. After updating lilo.conf, I ran /sbin/lilo to update the bootblock. Got this strange message:
- Code: Select all
Fatal: VolumeID read error: sector 0 of /dev/sdb not readable
Now that's odd. There's no sdb present! Earlier today, though, there was. I had an external USB drive which I mounted to /mnt/memory to load some files. Afterwards, of course, I umounted it, and that was hours before running lilo.
After restarting the computer, though, the problem went away, lilo ran like normal, and the new kernel is alive and well.
In case you're curious, here's the relevant sections of lilo.conf:
- Code: Select all
# Linux bootable partition config begins
#
# my kernel
#
image = /boot/vmlinuz
root = /dev/sda2
label = linux-2.6.17.13
read-only
#
# Slackware default
#
image = /boot/vmlinuz-2.4.33.3
root = /dev/sda2
label = default
read-only
#
# Linux bootable partition config ends
So the problem has disappeared. But I'd still like to know what has happened. Is lilo hallucinating? Is there some residual effect of mounting a drive that I should know about? Why does this affect lilo's ability to update the bootblock? Just curious.


