Bug#502949: No such disk error testing grub2 on raid1 (chainloaded from grub)
Michael Welsh Duggan
mwd at sei.cmu.edu
Tue Oct 21 06:52:31 UTC 2008
Package: grub2
Version: 1.96+20080724-10
Severity: important
I am testing grub2 by chainloading it from my legacy grub loader
using:
title Chainload into GRUB 2
root (hd1,0)
kernel /boot/grub/core.img
Grub2 errors out with a "No such disk" error. (md0) is a raid1 over /dev/hdb1
and hdi1. I am certainly willing to do more testing, but I may need a
little handholding figuring out what to test.
This bug may be related to bug #500157 (no such disk after un- and
replugging disk belonging to RAID1 array). Since the discovery
conditions were different, I am creating a nuew bug. If the bugs are
related, feel free to merge.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/root / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/mapper/datavg-backuplv /var/cache/rsnapshot ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/raidvg-usrlv /usr ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/hdg6 /mnt/steam vfat rw,gid=50,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1 0 0
/dev/sdc1 /mnt/usb1 ext3 rw,nosuid,nodev,noexec,errors=continue,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/hdg
(hd3) /dev/hdi
(hd4) /dev/hdk
(hd5) /dev/sda
(hd6) /dev/sdb
(hd7) /dev/sdc
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
insmod raid
set root=(md0)
search --fs-uuid --set aa7c8b96-9d27-496c-a5e7-f3a76d8b8b08
if font /boot/grub/ascii.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
set root=(md0)
search --fs-uuid --set aa7c8b96-9d27-496c-a5e7-f3a76d8b8b08
insmod png
if background_image /boot/grub/debian-blueish-wallpaper-640x480.png ; then
set color_normal=black/black
set color_highlight=magenta/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_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
insmod raid
set root=(md0)
search --fs-uuid --set aa7c8b96-9d27-496c-a5e7-f3a76d8b8b08
menuentry "Debian GNU/Linux, linux 2.6.26" {
linux /boot/vmlinuz-2.6.26 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, linux 2.6.26 (single-user mode)" {
linux /boot/vmlinuz-2.6.26 root=/dev/md0 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.25" {
linux /boot/vmlinuz-2.6.25 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, linux 2.6.25 (single-user mode)" {
linux /boot/vmlinuz-2.6.25 root=/dev/md0 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.24" {
linux /boot/vmlinuz-2.6.24 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, linux 2.6.24 (single-user mode)" {
linux /boot/vmlinuz-2.6.24 root=/dev/md0 ro single
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux /memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/hda1)" {
set root=(hd0,1)
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/hda2)" {
set root=(hd0,2)
chainloader +1
}
menuentry "Debian GNU/Linux, hda4 kernel 2.6.12 (on /dev/hda4)" {
set root=(hd0,4)
linux /boot/vmlinuz-2.6.12 root=/dev/hda4 ro
initrd /boot/initrd.img-2.6.12
}
menuentry "Debian GNU/Linux, hda4 kernel 2.6.12 (recovery mode) (on /dev/hda4)" {
set root=(hd0,4)
linux /boot/vmlinuz-2.6.12 root=/dev/hda4 ro single
initrd /boot/initrd.img-2.6.12
}
menuentry "Debian GNU/Linux, kernel 2.6.20-1-686 Default (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz root=/dev/md0 ro
initrd /boot/initrd.img
}
menuentry "Debian GNU/Linux, kernel 2.6.20-1-686 Default (recovery mode) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz root=/dev/md0 ro single
initrd /boot/initrd.img
}
menuentry "Debian GNU/Linux, kernel 2.6.21 (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.21 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.21 (recovery mode) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.21 root=/dev/md0 ro single
}
menuentry "Debian GNU/Linux, kernel 2.6.20-1-686 (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.20-1-686 root=/dev/md0 ro
initrd /boot/initrd.img-2.6.20-1-686
}
menuentry "Debian GNU/Linux, kernel 2.6.20-1-686 (recovery mode) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.20-1-686 root=/dev/md0 ro single
initrd /boot/initrd.img-2.6.20-1-686
}
menuentry "Debian GNU/Linux, kernel 2.6.18 (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.18 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.18 (recovery mode) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.18 root=/dev/md0 ro single
}
menuentry "Debian GNU/Linux, kernel 2.6.17 (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.17 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.17 (recovery mode) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.17 root=/dev/md0 ro single
}
menuentry "Debian GNU/Linux, kernel memtest86+ (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/memtest86+.bin
}
menuentry "Debian GNU/Linux, kernel 2.6.18 (backup) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.18 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.18 (recovery-mode) (backup) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.18 root=/dev/md0 ro single
}
menuentry "Debian GNU/Linux, kernel 2.6.17 (backup) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.17 root=/dev/md0 ro
}
menuentry "Debian GNU/Linux, kernel 2.6.17 (recovery-mode) (backup) (on /dev/hdk1)" {
set root=(hd4,1)
linux /boot/vmlinuz-2.6.17 root=/dev/md0 ro single
}
menuentry "Windows NT/2000/XP (loader) (on /dev/sda2)" {
set root=(hd5,2)
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (102, 'unstable'), (101, 'experimental'), (99, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub2 depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii grub-pc 1.96+20080724-10 GRand Unified Bootloader, version
grub2 recommends no packages.
grub2 suggests no packages.
-- debconf-show failed
More information about the Pkg-grub-devel
mailing list