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

Bug#283184: marked as done (debian-installer: Lilo fails when configuring LVM over raid during installation)



Your message dated Fri, 08 Jul 2005 09:33:41 -0400
with message-id <E1Dqsz7-0004M3-00@newraff.debian.org>
and subject line Bug#281724: fixed in lilo-installer 1.11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Nov 2004 03:16:31 +0000
>From dmaxwell@turinglabs.com Fri Nov 26 19:16:31 2004
Return-path: <dmaxwell@turinglabs.com>
Received: from hades.turinglabs.com [66.135.34.101] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CXt4Z-0008Nx-00; Fri, 26 Nov 2004 19:16:31 -0800
Received: from dmaxwell by hades.turinglabs.com with local (Exim 3.36 #1 (Debian))
	id 1CXt4Y-0004GX-00; Fri, 26 Nov 2004 22:16:30 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Doug Maxwell <dmaxwell@turinglabs.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-installer: Lilo fails when configuring LVM over raid during
 installation
X-Mailer: reportbug 2.63
Date: Fri, 26 Nov 2004 22:16:30 -0500
Message-Id: <E1CXt4Y-0004GX-00@hades.turinglabs.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

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.

---------------------------------------
Received: (at 281724-close) by bugs.debian.org; 8 Jul 2005 13:41:23 +0000
>From katie@ftp-master.debian.org Fri Jul 08 06:41:23 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Dqt6Z-0000gV-00; Fri, 08 Jul 2005 06:41:23 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Dqsz7-0004M3-00; Fri, 08 Jul 2005 09:33:41 -0400
From: Joey Hess <joeyh@debian.org>
To: 281724-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#281724: fixed in lilo-installer 1.11
Message-Id: <E1Dqsz7-0004M3-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 08 Jul 2005 09:33:41 -0400
Delivered-To: 281724-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: lilo-installer
Source-Version: 1.11

We believe that the bug you reported is fixed in the latest version of
lilo-installer, which is due to be installed in the Debian FTP archive:

lilo-installer_1.11.dsc
  to pool/main/l/lilo-installer/lilo-installer_1.11.dsc
lilo-installer_1.11.tar.gz
  to pool/main/l/lilo-installer/lilo-installer_1.11.tar.gz
lilo-installer_1.11_i386.udeb
  to pool/main/l/lilo-installer/lilo-installer_1.11_i386.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 281724@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated lilo-installer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


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

Format: 1.7
Date: Fri,  8 Jul 2005 15:02:06 +0300
Source: lilo-installer
Binary: lilo-installer
Architecture: source i386
Version: 1.11
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 lilo-installer - Install LILO on a hard disk (udeb)
Closes: 265900 281724
Changes: 
 lilo-installer (1.11) unstable; urgency=low
 .
   [ Joshua Kwan ]
   * Add '-follow' to find arguments, or else nothing will be found when
     $prefix == /dev/discs.
   [ Colin Watson ]
   * Make sure that the boot disk always has an active partition, unless
     the user explicitly chose not to make the boot partition active (part
     of Ubuntu bug #7906).
   [ Matt Kraai ]
   * Fix the spelling of "boot loader".
   [ Joey Hess ]
   * Patch from Eugeniy Meshcheryako to add raid-extra-boot=mbr-only
     to lilo.conf for software raid (Closes: #281724) and to add a new, working
     menu for raid (Closes: #265900)
 .
   * Updated translations:
     - Arabic (ar.po) by Ossama M. Khayat
     - Danish (da.po) by Claus Hindsgaul
     - Greek, Modern (1453-) (el.po) by Greek Translation Team
     - Spanish (es.po) by Javier Fernández-Sanguino Peña
     - Basque (eu.po) by Piarres Beobide
     - Hebrew (he.po) by Lior Kaplan
     - Italian (it.po) by Giuseppe Sacco
     - Lithuanian (lt.po) by KÄ?stutis BiliÅ«nas
     - Portuguese (pt.po) by Miguel Figueiredo
     - Portuguese (Brazil) (pt_BR.po) by André Luís Lopes
     - Romanian (ro.po) by Eddy PetriÅ?or
     - Russian (ru.po) by Yuri Kozlov
     - Slovak (sk.po) by Peter Mann
     - Ukrainian (uk.po) by Eugeniy Meshcheryakov
     - Vietnamese (vi.po) by Clytie Siddall
     - Simplified Chinese (zh_CN.po) by Carlos Z.F. Liu
Files: 
 c3ed517a20b7fcf9690c84823a7dff10 640 debian-installer standard lilo-installer_1.11.dsc
 fb233552a2448db42dc33d80d0e4c879 62620 debian-installer standard lilo-installer_1.11.tar.gz
 90a25b57b7a7d541e347880b1993718b 45412 debian-installer standard lilo-installer_1.11_i386.udeb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCznxV2tp5zXiKP0wRAgPGAJ45p6X0u29Bc5pwPamb8hcVWyGVnwCgxS2n
aNUYEg0rDi//Wvf7wVGDcnM=
=Dmua
-----END PGP SIGNATURE-----



Reply to: