Bug#324446: Failed while installing LILO because /boot was already mounted outside of the /target
Package: debian-installer
Severity: important
Justification: prevents installation with LILO
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)
My partition scheme is as follows:
hda1 primary ext2 /boot 41.13 MB
hda2 primary ReiserFS / 15002.92 MB
hda3 primary ReiserFS /home 23960.25
hda4 primary swap 1003.49
(Yeah, I'm sure that my partitioning scheme is poorly thought out.)
I'll mention another problem for which I will not open a separate report
as I believe that it is another facet of the fundamental problem:
To fix this problem, I umounted /boot, chrooted to /target, mounted
/boot, and tried again (if I am correctly remembering the order
of events), this time getting a different error: 'Fatal: open /vmlinuz:
No such file or directory'. I had to re-install (with dpkg) the kernel
and try again before it finally worked. I am guessing that this is
because the installer had installed the kernel to the /boot directory
on the / partition rather than the /boot partition (in fact,
I see it there now when I don't mount /boot).
I suspect that this is important because it means that /target/boot
needs to be mounted not only for the installation of LILO, but also
for the installation of the kernel, if I understand correctly.
I still have my installation logs if you need more from them.
Much love,
--
Miciah Masters <miciah@myrealbox.com> / <mdm0304@mail.ecu.edu>
Reply to: