Lilo installation error on Software RAID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lilo (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lilo
Hi,
I tried installing Ubuntu 6.10 Server on Software RAID-1 (2 harddisks, 1 large raid partition on each harddisk) and LVM on the raid array (md0). root, boot, usr, var, swap, etc. are all logical volumes.
I got the following error at the point where lilo should be installed:
Oct 26 13:36:04 apt-install: The following NEW packages will be installed:
Oct 26 13:36:04 apt-install: lilo
Oct 26 13:36:04 apt-install: Preconfiguring packages ...
Oct 26 13:36:05 apt-install: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Oct 26 13:36:05 apt-install: Need to get 0B/343kB of archives.
Oct 26 13:36:05 apt-install: After unpacking 1098kB of additional disk space will be used.
Oct 26 13:36:05 apt-install: Selecting previously deselected package lilo.
Oct 26 13:36:05 apt-install: (Reading database ...
Oct 26 13:36:05 apt-install: 13977 files and directories currently installed.)
Oct 26 13:36:05 apt-install: Unpacking lilo (from .../lilo_
Oct 26 13:36:05 apt-install: Setting up lilo (22.6.1-7ubuntu2) ...
Oct 26 13:36:05 apt-install: mount: /dev/mapper/
Oct 26 13:36:05 apt-install: dpkg: error processing lilo (--configure):
Oct 26 13:36:05 apt-install: subprocess post-installation script returned error exit status 32
Oct 26 13:36:05 apt-install: Errors were encountered while processing:
Oct 26 13:36:05 apt-install: lilo
Oct 26 13:36:05 apt-install: E:
Oct 26 13:36:05 apt-install: Sub-process /usr/bin/dpkg returned an error code (1)
Oct 26 13:36:05 apt-install:
Oct 26 13:36:05 lilo-installer: info: Calling 'apt-install lilo' failed
I managed to install lilo manually as follows:
I copied /proc/devices and /proc/partitions to /target/proc and then installed lilo manually by executing "lilo".
Hope this helps to solve the problem.
Greetings
Georg
When I installed using this mechanism, I had the same problem with LILO and had to install it manually. It appears that the installation shell uses a terminal mode called "BRTERM". The LILO post-installation script doesn't like that and raises an error after installing everything correctly. This is interpreted by the installation script as a failure on LILO.