reassign 324446 lilo-installer thanks On Monday 22 August 2005 07:53, Miciah Dashiel Butler Masters wrote: > When installing SID with a recent installer nightly, > LILO failed to install: > > Setting up lilo (22.6.1-6.2) ... > mount: /dev/hda1 already mounted or /boot busy > dpkg: error processing lilo (--configure): > subprocess post-installation script returned error exit status 32 > Errors were encountered while processing: > lilo > E: Sub-process /usr/bin/dpkg returned an error code (1) Right, I can reproduce the problem you are seeing. It can be reproduced as follows: - Normal installation until partman - Create primary /boot partition (/dev/hda1); create / partition - <go back> on grub installation and select lilo instead - lilo will offer MBA and /dev/hda1 for installation; select hda1 - apt-install lilo will fail because lilo's postinst checks if /boot is on a separate partition, checks /etc/mtab to see if it is mounted and will try to mount it if not listed there Reason is that /dev/hda1 is mounted _outside_ the chroot (as are all partitions), but this is not reflected _inside_ the chroot as created for the apt-install. Inside the chroot: - only / and /proc are listed as mounted in /etc/mtab - /proc/mounts shows correct mounts (although with non-existing devfs names) This may not really be something that can be solved in lilo-installer, but it seems the most logical place to classify it for now. It may even be a bug in lilo as the problem would be solved if lilo checked /proc/mounts instead of /etc/mtab.
Attachment:
pgp8xc8dThqKW.pgp
Description: PGP signature