Bug#288351: marked as done (Problem installing grub in RAID/LVM installation)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 03 Feb 2005 19:03:11 -0800


Your message dated Thu, 03 Feb 2005 21:47:08 -0500
with message-id <E1CwtUy-000673-00@newraff.debian.org>
and subject line Bug#292274: fixed in grub 0.95+cvs20040624-14
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; 3 Jan 2005 08:17:53 +0000
>From marjan.blatnik@gov.si Mon Jan 03 00:17:53 2005
Return-path: <marjan.blatnik@gov.si>
Received: from mail2.gov.si [193.2.236.35] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ClNPV-0000YJ-00; Mon, 03 Jan 2005 00:17:53 -0800
Received: from smtp.gov.si (smtp1.gov.si [172.24.240.71])
	by mail2.gov.si (MailServer) with ESMTP id 72FF06F43D
	for <submit@bugs.debian.org>; Mon,  3 Jan 2005 09:17:51 +0100 (CET)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.gov.si (MailServer) with ESMTP id 5C2846F32D
	for <submit@bugs.debian.org>; Mon,  3 Jan 2005 09:17:51 +0100 (CET)
Received: from smtp.gov.si ([127.0.0.1])
 by localhost (smtp1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 22330-66 for <submit@bugs.debian.org>;
 Mon,  3 Jan 2005 09:17:51 +0100 (CET)
Received: from mail.gov.si (imail1.gov.si [172.24.240.41])
	by smtp.gov.si (MailServer) with ESMTP id 30D3D6F32A
	for <submit@bugs.debian.org>; Mon,  3 Jan 2005 09:17:51 +0100 (CET)
Received: from gov.si ([172.24.240.50]) by mail.gov.si with ESMTP
          id <20050103081745.LCYJ1132.mail@gov.si>
          for <submit@bugs.debian.org>; Mon, 3 Jan 2005 09:17:45 +0100
Message-ID: <41D90E04.4060907@gov.si>
Date: Mon, 03 Jan 2005 10:19:00 +0100
From: Marjan Blatnik <marjan.blatnik@gov.si>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; sl-SI; rv:1.5) Gecko/20031007
X-Accept-Language: sl, en-us
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: Debian installer bug report
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at gov.si
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: installation-reports

Debian-installer-version: http://cdimage.debian.org/pub/cdimage-testing/daily/i386/20041231/sarge-i386-netinst.iso
uname -a: Linux dkot 2.6.8-1-386 #1 Thu Nov 25 04:24:08 UTC 2004 i686 GNU/Linux
Date: 20050102
Method: sarge-i386-netinst, only base system
Machine: noname PC
Processor:
Memory: 256MB
Root Device: IDE
Root Size/partition table: 
   df:
      Dat. sist.           1K-blokov      Upor. Na voljo Upo% Priklopljeno na
      /dev/mapper/vg0-root    982728     57732    872568   7% /
      tmpfs                   128468         0    128468   0% /dev/shm
      /dev/md0                914757     15010    850941   2% /boot  <-----
      /dev/mapper/vg0-tmp     982728      8239    922061   1% /tmp
      /dev/mapper/vg0-usr    5160576    126896   4771536   3% /usr
      /dev/mapper/vg0-usrlocal
                             5160576     32892   4865540   1% /usr/local
      /dev/mapper/vg0-var     982728     20602    909698   3% /var
   fdisk /dev/hda:
      Disk /dev/hda: 40.0 GB, 40020664320 bytes
      16 heads, 63 sectors/track, 77545 cylinders
      Units = cylinders of 1008 * 512 = 516096 bytes

         Device Boot      Start         End      Blocks   Id  System
      /dev/hda1   *           1       40641    20482843+   7  HPFS/NTFS                   (hd0,0)
      /dev/hda2           40642       42578      976248   fd  Linux raid autodetect <-----(hd0,1)
      /dev/hda3           42579       44516      976752   fd  Linux raid autodetect       (hd0,2)
      /dev/hda4           44517       77545    16646616   fd  Linux raid autodetect       (hd0,3)

      Command (m for help): Command (m for help): Command (m for help):
   cat /proc/mdstat:
      Personalities : [raid1] 
      md1 : active raid1 hda3[0] 
            976640 blocks [1/1] [U]
      
      md0 : active raid1 hda2[0]     <------
            976128 blocks [1/1] [U]
      
      md2 : active raid1 hda4[0]
            16646528 blocks [1/1] [U]
      
      unused devices: <none>


Output of lspci and lspci -n:

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [E]

Comments/Problems:

GRUB can't find the kernel image.
GRUB looks for kernel in (hd0,0),
but the kernel image is located in (hd0,1).

It seems that d-i expacts that the /boot partition is always at (hd0,0).
Becouse I have windows installed in 1st partition, I choose the 2nd
partition for /boot, the 3rd for swap and the 4th for vg0.
I tested mirroring with volume manager, but I have only one disk.

Workaround:
After the GRUB loads, I edit GRUB commands for booting sarge.
After that I edit /boot/grub/menu.lst and change
following lines
from
   title        Debian GNU/Linux, kernel 2.6.8-1-386 
   root	        (hd0,0) <--------
   kernel       /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro 
   initrd       /initrd.img-2.6.8-1-386
   savedefault
   boot

   title        Debian GNU/Linux, kernel 2.6.8-1-386 (recovery mode)
   root	        (hd0,0) <--------
   kernel       /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro single
   initrd       /initrd.img-2.6.8-1-386
   savedefault
   boot
to
   title        Debian GNU/Linux, kernel 2.6.8-1-386 
   root	        (hd0,1) <--------
   kernel       /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro 
   initrd       /initrd.img-2.6.8-1-386
   savedefault
   boot

   title        Debian GNU/Linux, kernel 2.6.8-1-386 (recovery mode)
   root	        (hd0,1) <--------
   kernel       /vmlinuz-2.6.8-1-386 root=/dev/mapper/vg0-root ro single
   initrd       /initrd.img-2.6.8-1-386
   savedefault
   boot
.





---------------------------------------
Received: (at 292274-close) by bugs.debian.org; 4 Feb 2005 02:56:06 +0000
>From katie@ftp-master.debian.org Thu Feb 03 18:53:10 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 1Cwtao-0005ac-00; Thu, 03 Feb 2005 18:53:10 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CwtUy-000673-00; Thu, 03 Feb 2005 21:47:08 -0500
From: Jason Thomas <jason@debian.org>
To: 292274-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#292274: fixed in grub 0.95+cvs20040624-14
Message-Id: <E1CwtUy-000673-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 03 Feb 2005 21:47:08 -0500
Delivered-To: 292274-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: 

Source: grub
Source-Version: 0.95+cvs20040624-14

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

grub-disk_0.95+cvs20040624-14_all.deb
  to pool/main/g/grub/grub-disk_0.95+cvs20040624-14_all.deb
grub-doc_0.95+cvs20040624-14_all.deb
  to pool/main/g/grub/grub-doc_0.95+cvs20040624-14_all.deb
grub_0.95+cvs20040624-14.diff.gz
  to pool/main/g/grub/grub_0.95+cvs20040624-14.diff.gz
grub_0.95+cvs20040624-14.dsc
  to pool/main/g/grub/grub_0.95+cvs20040624-14.dsc
grub_0.95+cvs20040624-14_i386.deb
  to pool/main/g/grub/grub_0.95+cvs20040624-14_i386.deb



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 292274@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jason Thomas <jason@debian.org> (supplier of updated grub 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,  4 Feb 2005 13:28:53 +1100
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-14
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Jason Thomas <jason@debian.org>
Description: 
 grub       - GRand Unified Bootloader
 grub-disk  - GRUB bootable disk image
 grub-doc   - Documentation for GRand Unified Bootloader
Closes: 292274
Changes: 
 grub (0.95+cvs20040624-14) unstable; urgency=low
 .
   * update-grub: add support for raid1
     (closes: #292274)
Files: 
 7e7890c39e2fc500d8cd6c974da55c48 888 admin optional grub_0.95+cvs20040624-14.dsc
 13303050ee5aad0b4b1ca2a845ac2f17 58128 admin optional grub_0.95+cvs20040624-14.diff.gz
 b58ad50bb0d8d267c3c4500723b876ef 358600 admin optional grub_0.95+cvs20040624-14_i386.deb
 491e8523bd6d6dd604590ba3e89cf340 227926 admin optional grub-disk_0.95+cvs20040624-14_all.deb
 de85506b9aae1a24f90e307f633d7c68 259544 doc optional grub-doc_0.95+cvs20040624-14_all.deb

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

iD8DBQFCAt5d7cYwRJJSiL4RApeBAJ4kcdlcbpK2QkV3JAUmFtHHwo6PMgCgovkG
1UxJVFDtAVId9yX5RepjY1E=
=0P9C
-----END PGP SIGNATURE-----