LILO Problem on -Current

Pat has upgraded LILO in -Current with 22.8 version. This version works (as usual), but when i tried to re-ran LILO on my laptop, it displayed an error message (but it still installed correctly and i can boot to both of my OS) :

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.09 (2006-08-15)(compat) and kernel driver


Today i browsed for some information about LILO and i saw the changes included in this version:
Changes from version 22.7.3 to 22.8 (16-Feb-2007) John Coffman

Boot Installer
--------------
- Move configuration information (-X) to a separate procedure. (lilo.c)
- Fix type decl problem in LVM _IOR/RW macros. (geometry.c)
- Add DEV_DISK_DIR and edit source to use it. (config.h, device.c,
geometry.c)
- Change handling of 'device-mapper' depending upon DEVMAPPER option.
(device.c, geometry.c)
- Modify 'scan_dir' to stay out of hidden directories. (device.c)
- Add 'nodevcache' option to configuration file. (cfg.c, lilo.c)
- Add sync() before boot sector write to compensate for 2.6 kernel bug
in partition buffering code. (bsect.c)
- Allow 'root="UUID=xyz"' syntax. (bsect.c)

Boot Loader
-----------
- Add compilation switch 'NOVGA' to the Makefile.

And also the announcement:
- Compile with DEVMAPPER (device-mapper or LVM2) if library is present.
- Add 'nodevcache' configuration file keyword.
- Allow root device specification with UUID in addition to LABEL.

And finally i found the solution to this problem at alt.os.linux.slackware group. The solution is that you have to run modprobe dm-mod prior running the LILO. I haven't verify this as i'm not on my Slackware right now, but i will verify it tonight when i got back home. I hope this solution can be integrated in the next batch update of Slackware-Current (probably by loading dm-mod modules at startup).

Popular posts from this blog

Python 3.6.0 in SBo 14.2 repository

NVidia Legacy Unix Driver Update

Security Update: Thunderbird, Seamonkey, libpng, python, samba