LILO problems

Eray Ozkural (exa) erayo at cs.bilkent.edu.tr
Sun Sep 30 11:17:18 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

It seems that FAI writes an /etc/fstab which borks lilo package.

The problem is that
$ yes '' | apt-get install lilo
or
$ apt-get --assume-yes install lilo

will *not* work since lilo's setup (postinst) script is buggy.

lilo cannot be setup arbitrarily.

Either we should file a bug against lilo or have FAI not write an /etc/fstab 
while lilo package is being installed.

I had to write a kludge to fai:

    chroot $FAI_ROOT cp /etc/fstab /etc/fstab.bak
    chroot $FAI_ROOT sh -c 'echo "# UNCONFIGURED FSTAB FOR BASE SYSTEM" 
>/etc/fstab'

... install stuff

    chroot $FAI_ROOT cp /etc/fstab.bak /etc/fstab

which is rather crude.

Thanks,

- -- 
Eray Ozkural (exa) <erayo at cs.bilkent.edu.tr>
Comp. Sci. Dept., Bilkent University, Ankara
www: http://www.cs.bilkent.edu.tr/~erayo
GPG public key fingerprint: 360C 852F 88B0 A745 F31B  EA0F 7C07 AE16 874D 539C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7tuMefAeuFodNU5wRAiBlAJ9lDk7WEETP6nRF+tsd9T5VsUurYgCdEcTN
emlwMGTk8SKnVnhW1bd5of0=
=zezz
-----END PGP SIGNATURE-----



More information about the linux-fai mailing list