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

Re: lilo config is busted, need help fixing it



On Sat, 25 Sep 2010 12:28:00 -0400 (EDT)
Stephen Powell <zlinuxman@wowway.com> wrote:

> 
> Several problems here.  S30initramfs, S50symlink_hook,
> K30initramfs, and K50symlink_hook, though they will still
> work, I now consider obsolete.  S30initramfs and K30initramfs
> were made obsolete by newer versions of the initramfs-tools
> package.  The initramfs-tools hook scripts appear to be missing.
> And you have a couple of scripts called initramfs-tools.dpkg-dist.
> Are they renamed versions of initramfs-tools?  Are they the current
> versions of them?  I would erase S30initramfs, K30initramfs,
> and both copies of initramfs-tools.dpkg-dist, and reinstall
> the latest version of the initramfs-tools package.  This should
> install a script called initramfs-tools in both /etc/kernel/postinst.d
> and /etc/kernel/postrm.d.

All done.  I am now running the latest lilo:

ii  lilo
1:22.8-8.3                     LInux LOader - The Classic OS loader can
load Linux and others

however:

Setting up linux-image-2.6.32-5-amd64 (2.6.32-23) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Running lilo-update.
User postinst hook script [lilo-update] failed to execute: No such file
or directory dpkg: error processing linux-image-2.6.32-5-amd64
(--configure): subprocess installed post-installation script returned
error exit status 255 configured to not write apport reports
                                      Errors were encountered while
processing: linux-image-2.6.32-5-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)



> 
> I also don't see any zz-lilo hook scripts, which the latest version
> of lilo would have installed.  Reinstall the latest version of lilo.
> This should also install a file in /etc/initramfs/post-update.d called
> lilo or runlilo, depending on which version of lilo you are running.
> Then remove S50symlink_hook and K50symlink_hook.  Finally, install
> the two zy-symlinks hook scripts available on my web site, one for
> /etc/kernel/postinst.d and one for /etc/kernel/postrm.d.  Then make
> sure that
> 

Yes the zz scripts are there now.

However it looks like the lilo install is borked.

Brian


Reply to: