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

Bug#283184: debian-installer: Lilo fails when configuring LVM over raid during installation



Package: debian-installer
Severity: important

This is an older Dell Dimension desktop with Bios version A05 and a
PIII-450. I am using the Sarge RC2 net-installer.

Using the expert26 install, attempting to use LVM on top of raid-1.

Install raid-1 across two IDE hard drives, raid device md0, configured
as two physical raid partitions of 6GB each (hda1 and hdb1).

info: /bin/report-hw: discover: ;;;Unknown;Maxtor 90650U2;/dev/hda (6GB - ide1 master)
info: /bin/report-hw: discover: ;;;Unknown;WDC WD84AA;/dev/hdb (8GB - ide1 slave)

Make md0 an lvm partition, configure volume group vg00 and four
logical volumes:

info: /bin/report-hw: df: /dev/mapper/vg00-root_lv   575813     64563    480530  12% /target
info: /bin/report-hw: df: /dev/mapper/vg00-home_lv  1965459      8239   1852363   0% /target/home
info: /bin/report-hw: df: /dev/mapper/vg00-usr_lv  1965459     82778   1777824   4% /target/usr
info: /bin/report-hw: df: /dev/mapper/vg00-var_lv  1074853     48619    968890   5% /target/var

Write changes. Error on console #4:

"grub-installer: /boot is a lvm partition (dev/mapper/vg00-root_lv),
cannot install grub".

Lilo is given as an option in the installer menu. I choose to install
to the MBR of /dev/md0, this pops up a nag box saying the partition is
not marked active ("/dev/md/0 doesn't contain a valid partition
table").

If I mark it active, lilo-installer fails with:

sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/md/0 unrecognized partition
sfdisk: 0 no such partition

Not marking the partition as active makes the lilo-installer fail with
an "error code 1"

So I can't get a boot-loader onto this system.

(Note that if I create another raid-1 container just for /boot, and
leave /root and the others configured as LVM partitions on a separate
raid container, the install works great, using grub this time).

Here are detailed logs after each choice offered by the installer.

Attempting to mark active:


Nov 24 17:25:26 grub-installer: /boot is a lvm volume (/dev/mapper/vg00-root_lv), cannot install grub
Nov 24 17:31:18 main-menu[517]: DEBUG: Menu item 'lilo-installer' selected
Nov 24 17:31:18 main-menu[517]: DEBUG: configure lilo-installer, status: 4
Nov 24 17:31:18 main-menu[517]: DEBUG: configure kernel-installer, status: 0
Nov 24 17:31:18 main-menu[517]: DEBUG: virtual package kernel-installer
Nov 24 17:33:30 main-menu[517]: (process:15003): Disk /dev/md/0 doesn't contain a valid partition table
Nov 24 17:33:30 main-menu[517]: (process:15003): I: Setting partition to active...
Nov 24 17:33:30 main-menu[517]: (process:15003): sfdisk: ERROR: sector 0 does not have an msdos signature
Nov 24 17:33:30 main-menu[517]: (process:15003):  /dev/md/0: unrecognized partition
Nov 24 17:33:30 main-menu[517]: (process:15003):
Nov 24 17:33:30 main-menu[517]: (process:15003): sfdisk: 0: no such partition
Nov 24 17:33:30 main-menu[517]: WARNING **: Configuring 'lilo-installer' failed with error code 1
Nov 24 17:33:30 main-menu[517]: WARNING **: Menu item 'lilo-installer' failed.


Not marking active:

Nov 24 17:38:41 grub-installer: /boot is a lvm volume (/dev/mapper/vg00-root_lv), cannot install grub
Nov 24 17:38:41 grub-installer: /boot is a lvm volume (/dev/mapper/vg00-root_lv), cannot install grub
Nov 24 17:39:05 main-menu[517]: DEBUG: Menu item 'lilo-installer' selected
Nov 24 17:39:05 main-menu[517]: DEBUG: configure lilo-installer, status: 4
Nov 24 17:39:05 main-menu[517]: DEBUG: configure kernel-installer, status: 0
Nov 24 17:39:05 main-menu[517]: DEBUG: virtual package kernel-installer
Nov 24 17:39:08 os-prober: debug: running init /usr/lib/os-probes/init/10filesystems
Nov 24 17:39:08 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/discs/disc0/part1
Nov 24 17:39:08 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/discs/disc0/part2
Nov 24 17:39:08 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/discs/disc0/part5
Nov 24 17:39:08 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/discs/disc1/part1
Nov 24 17:40:32 main-menu[517]: (process:15635): Disk /dev/md/0 doesn't contain a valid partition table
Nov 24 17:40:32 main-menu[517]: (process:15635): mount:
Nov 24 17:40:32 main-menu[517]: (process:15635): Mounting none on /target/proc failed
Nov 24 17:40:32 main-menu[517]: (process:15635): : Device or resource busy
Nov 24 17:40:32 main-menu[517]: (process:15635): Warning: '/proc/partitions' does not match '/dev' directory structure.
Nov 24 17:40:32 main-menu[517]: (process:15635):     Name change: '/dev/dm-0' -> '/dev/vg00/root_lv'
Nov 24 17:40:32 main-menu[517]: (process:15635): Fatal:
Nov 24 17:40:32 main-menu[517]: (process:15635): map file must be on the boot RAID partition
Nov 24 17:40:32 main-menu[517]: (process:15635):
Nov 24 17:40:32 main-menu[517]: WARNING **: Configuring 'lilo-installer' failed with error code 1
Nov 24 17:40:32 main-menu[517]: WARNING **: Menu item 'lilo-installer' failed.



Reply to: