Package: grub-pc
Version: 1.99-27+deb7u2
Severity: important
Dear Maintainer,
I installed wheezy from scratch on my 2 x 4TB server, but I did not succeed
in booting the following configuration on my two drives :
# parted /dev/sda p
Model: ATA WDC WD4000FYYZ-0 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End SizeFile system Name Flags
1 1049kB 2097kB 1049kBbios_grub
2 2097kB 3967GB 3967GB ext4 raid
3 3967GB 4001GB 34.2GB linux-swap(v1)
# parted /dev/sdb p
Model: ATA WDC WD4000FYYZ-0 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End SizeFile system Name Flags
1 1049kB 2097kB 1049kBbios_grub
2 2097kB 3967GB 3967GBraid
3 3967GB 4001GB 34.2GB linux-swap(v1)
At boot time, I land in grub rescue mode with "no such disk" error.
I do not undersand the issue because :
- the installation is OK while not using the second drive + not declaring any
raid
- the "grub-install /dev/sda" does not report any error and we can see in its
traces:
# bash -x grub-install /dev/sda
...
/usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc
--output=/boot/grub/core.img
'--prefix=(mduuid/2d81babd13f240ec4e10b2c7291977fc)/boot/grub' biosdisk
ext2 part_gpt
part_gpt raid mdraid1x
...
which looks fine for me.
-- Package-specific info:
*** BEGIN /proc/mounts
/dev/loop0 /livemnt/squashfs squashfs ro,relatime 0 0
/dev/md0 / ext4 rw,relatime,data=ordered 0 0
*** END /proc/mounts
*** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/scsi-350014ee2b2ad56db
(hd1) /dev/disk/by-id/scsi-350014ee208026f90
*** 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 mdraid1x
insmod part_gpt
insmod part_gpt
insmod ext2
set root='(mduuid/2d81babd13f240ec4e10b2c7291977fc)'
search --no-floppy --fs-uuid --set=root 520daa3d-296c-4e7a-b0e6-62c1ff36f921
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod raid
insmod mdraid1x
insmod part_gpt
insmod part_gpt
insmod ext2
set root='(mduuid/2d81babd13f240ec4e10b2c7291977fc)'
search --no-floppy --fs-uuid --set=root 520daa3d-296c-4e7a-b0e6-62c1ff36f921
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-4-amd64' --class debian --class
gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod raid
insmod mdraid1x
insmod part_gpt
insmod part_gpt
insmod ext2
set root='(mduuid/2d81babd13f240ec4e10b2c7291977fc)'
search --no-floppy --fs-uuid --set=root
520daa3d-296c-4e7a-b0e6-62c1ff36f921
echo'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64
root=UUID=520daa3d-296c-4e7a-b0e6-62c1ff36f921 ro quiet
echo'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class
debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod raid
insmod mdraid1x
insmod part_gpt
insmod part_gpt
insmod ext2
set root='(mduuid/2d81babd13f240ec4e10b2c7291977fc)'
search --no-floppy --fs-uuid --set=root
520daa3d-296c-4e7a-b0e6-62c1ff36f921
echo'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64
root=UUID=520daa3d-296c-4e7a-b0e6-62c1ff36f921 ro single
echo'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-amd64
}
### 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 ###
### E