Bug#546021: error: no such disk, root device wrong

Marc Haber mh+debian-bugs at zugschlus.de
Thu Sep 10 18:20:09 UTC 2009


Package: grub-pc
Version: 1.97~beta2-2
Severity: normal

Hi,

/etc/grub.d/00_header misdetects the root file system and sets the
root variable to the wrong value. This results in a "error: no such
disk" being printed while chainlading.

Strangely, after that, the grub menu shows up fine and the system can
be booted.

Greetings
Marc

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/zgserver--sid-root / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/mapper/zgserver--sid-usr /mnt/usr ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/mapper/zgserver--sid-home /mnt/home ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/mapper/zgserver--sid-var /mnt/var ext3 rw,relatime,errors=continue,data=writeback 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** END /boot/grub/device.map

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

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod ext2
set root=(zgserver-sid-usr)
search --no-floppy --fs-uuid --set cd87941b-24fd-476c-90d4-1f274180bc45
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
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, Linux 2.6.31-zgsrv20080" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.31-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro  quiet
	initrd	/initrd.img-2.6.31-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.31-zgsrv20080 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.31-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro single 
	initrd	/initrd.img-2.6.31-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.30.3-zgsrv20080" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.30.3-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro  quiet
	initrd	/initrd.img-2.6.30.3-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.30.3-zgsrv20080 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.30.3-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro single 
	initrd	/initrd.img-2.6.30.3-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.30.2-zgsrv20080" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.30.2-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro  quiet
	initrd	/initrd.img-2.6.30.2-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.30.2-zgsrv20080 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.30.2-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro single 
	initrd	/initrd.img-2.6.30.2-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1-zgsrv20080" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.29.1-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro  quiet
	initrd	/initrd.img-2.6.29.1-zgsrv20080
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1-zgsrv20080 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 32d7a56a-968c-409a-b5e0-57107da55e63
	linux	/vmlinuz-2.6.29.1-zgsrv20080 root=/dev/mapper/zgserver--sid-root ro single 
	initrd	/initrd.img-2.6.29.1-zgsrv20080
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-zgsrv20080 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.27       Debian configuration management sy
ii  grub-common                 1.97~beta2-2 GRand Unified Bootloader, version 
ii  libc6                       2.9-26       GNU C Library: Shared libraries
ii  ucf                         3.0021       Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
pn  genisoimage                   <none>     (no description available)

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/install_devices:
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet





More information about the Pkg-grub-devel mailing list