Debian Bug report logs - #668920
grub-pc: grub 1.99-21 fails to detect mdraid partitions

version graph

Package: grub-pc; Maintainer for grub-pc is GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>; Source for grub-pc is src:grub2 (PTS, buildd, popcon).

Reported by: Arne Goetje <arne@linux.org.tw>

Date: Sun, 15 Apr 2012 16:27:01 UTC

Severity: important

Found in versions grub2/1.99-21, grub2/1.99-22.1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Sun, 15 Apr 2012 16:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Arne Goetje <arne@linux.org.tw>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 15 Apr 2012 16:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Arne Goetje <arne@linux.org.tw>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub-pc: grub 1.99-21 fails to detect mdraid partitions
Date: Mon, 16 Apr 2012 00:17:59 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: grub-pc
Version: 1.99-21
Severity: critical
Justification: breaks the whole system

Upgrading from 1.99-17 to 1.99-21 on wheezy today renders the system
unbootable.
Grub cannot detect any mdraid partition and is therefor unable to load
the kernel.
Downgrading to 1.99-17 solves the problem.

- -- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/md127p1 / ext4
rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md127p3 /home ext4
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md127p2 /var ext4
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md1p2 /home/arne/build ext4
rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md1p5 /mnt/mail ext4
rw,nosuid,nodev,noexec,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md1p6 /home/arne/images ext4
rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sr0 /media/Debian\040squeeze\04020110324-08:07 iso9660
ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500
0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod raid
insmod mdraid09
insmod part_msdos
insmod ext2
set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod raid
  insmod mdraid09
  insmod part_msdos
  insmod ext2
  set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
  search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
insmod mdraid09
insmod part_msdos
insmod ext2
set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-686-pae' --class
debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod ext2
	set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
	search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
	echo	'Loading Linux 3.2.0-2-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-2-686-pae root=/dev/md127p1 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-2-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-686-pae (recovery
mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod ext2
	set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
	search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
	echo	'Loading Linux 3.2.0-2-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-2-686-pae root=/dev/md127p1 ro single
echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-2-686-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply
type the
# menu entries you want to add after this comment.  Be careful not to
change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [raid1] md1 : active raid1 sdc[0] sdd[1]
      488386496 blocks [2/2] [UU]
      md127 : active raid1 sda[0] sdb[1]
      488386496 blocks [2/2] [UU]
      unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  grub-common            1.99-17
ii  grub-pc-bin            1.99-17
ii  grub2-common           1.99-17
ii  ucf                    3.0025+nmu2

grub-pc recommends no packages.

grub-pc suggests no packages.

- -- debconf information:
  grub-pc/kopt_extracted: false
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/sdc
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_failed: false
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
  grub-pc/chainload_from_menu.lst: true
  grub-pc/mixed_legacy_and_grub2: true
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJPivSqAAoJENiwmJtstTzsIt0QALHrp7n8WFgdyPCtzR3VbqBH
lFHnFraKTQAP9ulVRU7kq7bUl9Ra+R66qeluauzDKHxu+eSAM/EKZ6FT8GCreZbK
bUaz+Gl//X73sBiqoUyTBMvhCmcr961++85blTsxHm+fKmRJm+bWDySJyKnhBpxY
15Vlt+zQz6FQYkyshWR95Poi9hZJBtjZwh7V6M9AOKnW5DWGVHT5fuRm9jJoC6Ns
USLesUMCYKzRM5yxTczKr0VskxmcQNy+hOF5YW8piVtX2qiO4J0Ck3lcEiJMZ882
HxZMa/G/Xuti2UvDa7igJleQcLodmC5kHwJ+EhKSnnK2QZ/US/EdOpJR0epDF9tH
iGjPQzH7gxrnCbh9A6F2JgF/v4ne4EDdxgFbgOzNzPpli++44rV5dNKCFTDpS96s
80s2hWTuFuYtihZWd7pO9fNpY+ZzsKTnaF8hHoyF60RO7RtLKUxH20RhlQWeCbfE
5MuBqEvT7RmXXKPiON6X5NHTWoUH+h1SMVjLU7EHsU5+r27tPi9V8xovlaYXFo1D
sByDMYkW4JBEJRwgNr5ql5pkNP6HWipzxXmlQjH7UwQ8ll66b8Ik3m16NxUYQOpa
aO1/4772d1zGbtVCBbjgrdn/UaZXYd7YcTA0W1v/CV6sv8gQzO0OfEoLEsJI+5eg
9pYVL+odWTIizMfzKbtU
=IVEB
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Mon, 16 Apr 2012 08:00:07 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Mon, 16 Apr 2012 08:00:07 GMT) (full text, mbox, link).


Message #10 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Arne Goetje <arne@linux.org.tw>, 668920@bugs.debian.org
Subject: Re: Bug#668920: grub-pc: grub 1.99-21 fails to detect mdraid partitions
Date: Mon, 16 Apr 2012 08:56:21 +0100
On Mon, Apr 16, 2012 at 12:17:59AM +0800, Arne Goetje wrote:
> Upgrading from 1.99-17 to 1.99-21 on wheezy today renders the system
> unbootable.
> Grub cannot detect any mdraid partition and is therefor unable to load
> the kernel.

Does it emit any error messages that might be useful to help us track
this down?

> Downgrading to 1.99-17 solves the problem.
[...]
> *********************** BEGIN /proc/mdstat
> Personalities : [raid1] md1 : active raid1 sdc[0] sdd[1]
>       488386496 blocks [2/2] [UU]
>       md127 : active raid1 sda[0] sdb[1]
>       488386496 blocks [2/2] [UU]
>       unused devices: <none>
> *********************** END /proc/mdstat
[...]
> * grub-pc/install_devices: /dev/sdc

This jumped out at me.  Are you quite sure that your BIOS is actually
booting from /dev/sdc?  It's possible that it's attempting to boot from
an old copy of the GRUB core image installed to a different disk, which
then gets confused by the newer modules in /boot/grub/.  In this theory,
downgrading to 1.99-17 would help because perhaps that core image is
ABI-compatible with those modules; the support for non-512-byte sectors
in 1.99-19 was probably a core/modules ABI break so this is plausible
enough.

My standard advice is to install GRUB to all fixed disks
('dpkg-reconfigure grub-pc') unless you have a good reason not to.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Wed, 18 Apr 2012 20:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Alex Normand <anormnd@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 18 Apr 2012 20:24:03 GMT) (full text, mbox, link).


Message #15 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Alex Normand <anormnd@gmail.com>
To: 668920@bugs.debian.org
Subject: Re: Bug#668920: grub-pc: grub 1.99-21 fails to detect mdraid, partitions
Date: Thu, 19 Apr 2012 00:21:40 +0200
Hi,

I had the exact same problem as Arne,

I ran:

"dpkg-reconfigure grub-pc"

and followed Colin's advice  by installing grub on all disks.

This solved the problem perfectly ;).

Cheers,

Alex Normand




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Thu, 19 Apr 2012 07:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Arne Goetje <arne@linux.org.tw>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 19 Apr 2012 07:21:03 GMT) (full text, mbox, link).


Message #20 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Arne Goetje <arne@linux.org.tw>
To: 668920@bugs.debian.org
Subject: Re: Bug#668920: grub-pc: grub 1.99-21 fails to detect mdraid partitions
Date: Thu, 19 Apr 2012 15:11:44 +0800
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/16/2012 03:56 PM, Colin Watson wrote:
> On Mon, Apr 16, 2012 at 12:17:59AM +0800, Arne Goetje wrote:
>> Upgrading from 1.99-17 to 1.99-21 on wheezy today renders the
>> system unbootable. Grub cannot detect any mdraid partition and is
>> therefor unable to load the kernel.
> 
> Does it emit any error messages that might be useful to help us
> track this down?

Error message for each HD is "error: no such partition".
Since I have 4 HDs, the message appears 4 times.

>> Downgrading to 1.99-17 solves the problem.
> [...]
>> *********************** BEGIN /proc/mdstat Personalities :
>> [raid1] md1 : active raid1 sdc[0] sdd[1] 488386496 blocks [2/2]
>> [UU] md127 : active raid1 sda[0] sdb[1] 488386496 blocks [2/2]
>> [UU] unused devices: <none> *********************** END
>> /proc/mdstat
> [...]
>> * grub-pc/install_devices: /dev/sdc
> 
> This jumped out at me.  Are you quite sure that your BIOS is
> actually booting from /dev/sdc?  It's possible that it's attempting
> to boot from an old copy of the GRUB core image installed to a
> different disk, which then gets confused by the newer modules in
> /boot/grub/.  In this theory, downgrading to 1.99-17 would help
> because perhaps that core image is ABI-compatible with those
> modules; the support for non-512-byte sectors in 1.99-19 was
> probably a core/modules ABI break so this is plausible enough.
> 
> My standard advice is to install GRUB to all fixed disks 
> ('dpkg-reconfigure grub-pc') unless you have a good reason not to.

I remember I installed grub on all disks when I set up the machine.
However, 'dpkg-reconfigure grub-pc' doesn't give me any option to
configure that any more. I tried a manual 'grub-setup /dev/md127 ;
grub-setup /dev/md1' after installing the new version, but it didn't
help. grub-setup doesn't let me install on /dev/sd*, since the disks
are grouped into raid arrays now.

The boot device is /dev/md127 and the root partition /dev/md127p1.
(Itʼs named md127, because when I installed squeeze on the machine, I
chose the name md0 for the first raid array, not knowing that it would
secretly rename it to md127, since it somehow doesn't like the
numbering start from 0.)

Attached is my grub.cfg

HTH

Cheers
Arne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJPj7qnAAoJENiwmJtstTzsdEsQAJMyrigq08JBYf4YJgHUQK4o
xV2qQrFI6Uk/3nfwRFx3G4287c+BTNKPusV7wtS/PaNPLntXgNoy3TGu0LQioKiu
Q3nsqUJjCiNT7CbxyVpBeEdH+msT4qgP67V9pbVqwJLVHETDkecxWk67tcAHaETi
NNLZWDxqx4afHuBfX+7WvVPuuLwFWqKn6AZYp7S3xCZk0j3V9r9wuwO69maW5iuA
Lxh34LExEvD6+wzUpupDZdxo7Q3Diz1Z1e/w2t4ADRwhAoTYJPLxQx6n4K7nIk6R
79fXa8Alkb+8fzop8NQkj+b79Xp2Tqb/6tfjBQbFXr4Cr/Oayk+QLuQt1MEnY8qm
nQtyY76FOPSiasWRT2smM7syif4vZBSCJVG6XCO2+geva40kjeq/iD/Qv3d7hsfS
wmM7nnvGGS4jPwDsl5mpKpUjzZmb8f1rBVUWcjMEpcispX1btrrpGTJDNCVOIWui
HgTRo0SHwQSQORMsOUJoQFuV5sA5giWzqEUV7bDeFKLhS+g6XifoEQocHnLT9qf0
yFbgOxcYStYDzjktM+MzmqScoGVxRvwmddWQQ/gEeTt8fxhANV+Am9XL47WMhukz
zZvZYwEkEckzw5srEYAx8lFbcLViPOGrffw4/46Efp34Wftlt/IdoVnigCImQhKr
j8ldZU6tWaUdpmjKvGFU
=bB4z
-----END PGP SIGNATURE-----
[grub.cfg (text/plain, attachment)]
[grub.cfg.sig (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Sat, 28 Apr 2012 20:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Phillip Susi <psusi@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Sat, 28 Apr 2012 20:03:06 GMT) (full text, mbox, link).


Message #25 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Phillip Susi <psusi@ubuntu.com>
To: 668920@bugs.debian.org
Date: Sat, 28 Apr 2012 15:58:58 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You install grub to the disks, not the raid array.  dpkg-reconfigure grub-pc should have all of your disks checked, or at least the one your bios boots from.

I believe this can be closed as NOTABUG.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPnEv/AAoJEJrBOlT6nu75YzMH/2c0ezpKhd7M7k83csOTZZcS
SLSkKIDc6BAgjifRB25oILluBtI2lpnCqQogdJNCAEvSqB7SMWPqrQn12V+FHF1E
ZePZvv7a/3BGXL8V/HDo3DQ4Z06Zum3Y23QhcN/z/AU/8eV2lYi1vHl+ALXLeZnV
NdeIEszxJaHi4qmxNO4mMH3ME3pTU2LZLYnUF+Jy22zKmjfHhC1OY97i+X0wLdJZ
e9ZFU5+zmYM7LXlaJRaocduBg8/EzUspbxQz4lne7HXKYyYDX8y+yGu5PvJc/GHb
vK9AP8m+su85SUJ3V/m4ckcqp1P+a7eLkiLMcsQAntBzTAmAgyDFWyL6Ngg/BRM=
=VS+z
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Sat, 05 May 2012 16:36:07 GMT) (full text, mbox, link).


Acknowledgement sent to Luís Picciochi Oliveira <pitxyoki@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 05 May 2012 16:36:08 GMT) (full text, mbox, link).


Message #30 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Luís Picciochi Oliveira <pitxyoki@gmail.com>
To: 668920@bugs.debian.org
Subject: Re: Bug#668920: grub-pc: grub 1.99-21 fails to detect mdraid partitions
Date: Sat, 5 May 2012 17:35:02 +0100
Hi,

My setup is somewhat similar as my root partition is also on a RAID1
array with two disks. GRUB is installed on both of them.
This is just to note that I did not reproduce the reported problem
when I recently upgraded from 1.99-17 to 1.99-21. The upgrade went on
swiftly as always.


Best regards,
Luís Picciochi

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  grub-common            1.99-21
ii  grub-pc-bin            1.99-21
ii  grub2-common           1.99-21
ii  ucf                    3.0025+nmu3

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed: false
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
* grub-pc/install_devices:
/dev/disk/by-id/ata-WDC_WD10EARS-00MVWB0_WD-WCAZAA070307
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
* grub-pc/install_devices_disks_changed:
/dev/disk/by-id/ata-WDC_WD10EARS-00MVWB0_WD-WCAZAA070307
* grub2/linux_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Sat, 30 Jun 2012 14:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Adam R. Skutt" <askutt@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 30 Jun 2012 14:30:04 GMT) (full text, mbox, link).


Message #35 received at 668920@bugs.debian.org (full text, mbox, reply):

From: "Adam R. Skutt" <askutt@gmail.com>
To: Debian Bug Tracking System <668920@bugs.debian.org>
Subject: Re: grub-pc: grub 1.99-21 fails to detect mdraid partitions
Date: Sat, 30 Jun 2012 10:27:43 -0400
Package: grub-pc
Version: 1.99-22.1
Followup-For: Bug #668920

Transitioned to grub2 from LILO and saw this problem as well.  After booting rescue mode, fixing up prefix and root, and loading the raid modules, grub still doesn't see my md device at all.  I tried using grub-install to include the RAID modules early, but that did not seem to help either.  Going back to LILO for now.

Thanks,
Adam

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/8aff5614-49c4-4f3b-b35e-4d2b12309731 / ext3 rw,seclabel,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered,usrquota,grpquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-ST3160815AS_6RA9KQRJ
(hd1)	/dev/disk/by-id/ata-ST3160815AS_6RA9JHRC
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod raid
insmod mdraid09
insmod mdraid1x
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/95d2cd1a38d1ba55c216e01b73103c90)'
search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod raid
  insmod mdraid09
  insmod part_msdos
  insmod part_msdos
  insmod ext2
  set root='(mduuid/95d2cd1a38d1ba55c216e01b73103c90)'
  search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-686-pae' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(mduuid/95d2cd1a38d1ba55c216e01b73103c90)'
	search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
	echo	'Loading Linux 3.2.0-3-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-3-686-pae root=UUID=8aff5614-49c4-4f3b-b35e-4d2b12309731 ro security=selinux quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-3-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod part_msdos
	insmod ext2
	set root='(mduuid/95d2cd1a38d1ba55c216e01b73103c90)'
	search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
	echo	'Loading Linux 3.2.0-3-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-3-686-pae root=UUID=8aff5614-49c4-4f3b-b35e-4d2b12309731 ro single security=selinux
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-3-686-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Debian GNU/Linux, with Linux 3.2.0-3-686-pae (on /dev/sda1)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
	linux /boot/vmlinuz-3.2.0-3-686-pae root=UUID=8aff5614-49c4-4f3b-b35e-4d2b12309731 ro security=selinux quiet
	initrd /boot/initrd.img-3.2.0-3-686-pae
}
menuentry "Debian GNU/Linux, with Linux 3.2.0-3-686-pae (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
	linux /boot/vmlinuz-3.2.0-3-686-pae root=UUID=8aff5614-49c4-4f3b-b35e-4d2b12309731 ro single security=selinux
	initrd /boot/initrd.img-3.2.0-3-686-pae
}
menuentry "Debian GNU/Linux, with Linux 3.2.0-3-686-pae (on /dev/sdb1)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
	linux /boot/vmlinuz-3.2.0-3-686-pae root=UUID=8aff5614-49c4-4f3b-b35e-4d2b12309731 ro security=selinux quiet
	initrd /boot/initrd.img-3.2.0-3-686-pae
}
menuentry "Debian GNU/Linux, with Linux 3.2.0-3-686-pae (recovery mode) (on /dev/sdb1)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8aff5614-49c4-4f3b-b35e-4d2b12309731
	linux /boot/vmlinuz-3.2.0-3-686-pae root=UUID=8aff5614-49c4-4f3b-b35e-4d2b12309731 ro single security=selinux
	initrd /boot/initrd.img-3.2.0-3-686-pae
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      156288256 blocks [2/2] [UU]
      
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx. 1 root root  9 Jun 30 06:15 ata-HL-DT-ST_CD-RW_DVD-ROM_GCC-4482B -> ../../sr0
lrwxrwxrwx. 1 root root  9 Jun 30 10:15 ata-ST3160815AS_6RA9JHRC -> ../../sdb
lrwxrwxrwx. 1 root root 10 Jun 30 10:15 ata-ST3160815AS_6RA9JHRC-part1 -> ../../sdb1
lrwxrwxrwx. 1 root root  9 Jun 30 10:15 ata-ST3160815AS_6RA9KQRJ -> ../../sda
lrwxrwxrwx. 1 root root 10 Jun 30 10:15 ata-ST3160815AS_6RA9KQRJ-part1 -> ../../sda1
lrwxrwxrwx. 1 root root  9 Jun 30 10:21 md-uuid-95d2cd1a:38d1ba55:c216e01b:73103c90 -> ../../md0
lrwxrwxrwx. 1 root root  9 Jun 30 10:15 scsi-SATA_ST3160815AS_6RA9JHRC -> ../../sdb
lrwxrwxrwx. 1 root root 10 Jun 30 10:15 scsi-SATA_ST3160815AS_6RA9JHRC-part1 -> ../../sdb1
lrwxrwxrwx. 1 root root  9 Jun 30 10:15 scsi-SATA_ST3160815AS_6RA9KQRJ -> ../../sda
lrwxrwxrwx. 1 root root 10 Jun 30 10:15 scsi-SATA_ST3160815AS_6RA9KQRJ-part1 -> ../../sda1
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx. 1 root root 9 Jun 30 10:21 8aff5614-49c4-4f3b-b35e-4d2b12309731 -> ../../md0
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.44
ii  grub-common            1.99-22.1
ii  grub-pc-bin            1.99-22.1
ii  grub2-common           1.99-22.1
ii  ucf                    3.0025+nmu3

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline: security=selinux
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-ST3160815AS_6RA9KQRJ, /dev/disk/by-id/ata-ST3160815AS_6RA9JHRC
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Wed, 13 Feb 2013 19:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Josselin Mouette <joss@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 13 Feb 2013 19:18:03 GMT) (full text, mbox, link).


Message #40 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Josselin Mouette <joss@debian.org>
To: 668920@bugs.debian.org
Subject: Is that a bug?
Date: Wed, 13 Feb 2013 19:32:00 +0100
This looks clearly like a series of misconfigurations to me.

I just installed a wheezy system that boots on a MD partition, and grub
did work in a breeze.

Should we close, or at least downgrade, this?

-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#668920; Package grub-pc. (Sat, 02 Mar 2013 22:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Gilbert <mgilbert@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 02 Mar 2013 22:36:03 GMT) (full text, mbox, link).


Message #45 received at 668920@bugs.debian.org (full text, mbox, reply):

From: Michael Gilbert <mgilbert@debian.org>
To: 668920@bugs.debian.org
Subject: re: grub-pc: grub 1.99-21 fails to detect mdraid partitions
Date: Sat, 2 Mar 2013 17:34:16 -0500
control: severity -1 important

Downgrading the severity since those facing this problem incorrectly
configured grub for their setup.

Best wishes,
Mike



Severity set to 'important' from 'critical' Request was from Michael Gilbert <mgilbert@debian.org> to 668920-submit@bugs.debian.org. (Sat, 02 Mar 2013 22:36:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 08:30:32 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.