Bug#566735: grub-pc: data point +1

aelschuring at hotmail.com aelschuring at hotmail.com
Wed May 18 11:41:06 UTC 2011


Package: grub-pc
Version: 1.99-2
Followup-For: Bug #566735

I'll add another data point, since I'm seeing the exact same problem. But
since my /boot is not on LVM, I'm only noticing this now that I've tried to
configure a splash image for grub.

At grub startup, I see these messages:
error: no such device: 7038645b-2445-4c6f-963b-9da9991445f6
error: no such disk
error: no suitable mode found
error: no such device: 7038645b-2445-4c6f-963b-9da9991445f6
error: no video mode activated

Dropping to grub command line (lsmod confirmed that lvm was already loaded,
but I was hoping for an error message):
grub> insmod lvm
grub> ls
(hd0) (hd0,gpt2) (hd0,gpt1) (hd1) (hd1,msdos3) (hd1,msdos2) (hd1,msdos1)
grub> ls (hd1)
Device hd1: Not a known filesystem - Total size 1465149168 sectors
grub> ls (hd1,msdos2)
Partition hd1,msdos2: Not a known filesystem - Partition start 2361555 - Total size 75810735 sectors
grub> ls (hd1,msdos3)
Partition hd1,msdos3: Not a known filesystem - Partition start 78172290 - Total size 1386971775 sectors


hd0 is an IDE CompactFlash card. It is the boot device and houses /boot (gpt2).
(hd1,msdos2) is a PV for the satyr volume group, (hd1,msdos3) is a PV for the
data VG. hd1 is a 750GB sata drive.

I'm attaching the first 64kB of both LVM partitions, and the partition listings.
I can provide more information should you need it.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/satyr-root / ext3 rw,relatime,errors=remount-ro,barrier=0,data=ordered 0 0
/dev/sdb2 /boot ext3 rw,noatime,errors=continue,barrier=0,data=ordered 0 0
/dev/mapper/data-home /home xfs rw,relatime,noquota 0 0
/dev/mapper/data-video /var/lib/mythtv xfs rw,noatime,attr2,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-WDC_WD7500AACS-00D6B0_WD-WCAU40556906
(hd1)	/dev/disk/by-id/ata-Delock_54110_256MB_
*********************** 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 lvm
insmod part_msdos
insmod ext2
set root='(satyr-root)'
search --no-floppy --fs-uuid --set=root 7038645b-2445-4c6f-963b-9da9991445f6
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x960
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(/dev/sda,gpt2)'
  search --no-floppy --fs-uuid --set=root 0acb48d9-f5f2-4e66-81b1-2ad619bf6166
  set locale_dir=($root)/grub/locale
  set lang=en_GB
  insmod gettext
fi
terminal_output gfxterm
insmod lvm
insmod part_msdos
insmod ext2
set root='(satyr-root)'
search --no-floppy --fs-uuid --set=root 7038645b-2445-4c6f-963b-9da9991445f6
insmod png
background_image -m stretch /usr/share/plymouth/themes/solar/star.png
if sleep --interruptible 2 ; then
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_msdos
insmod ext2
set root='(satyr-root)'
search --no-floppy --fs-uuid --set=root 7038645b-2445-4c6f-963b-9da9991445f6
insmod png
if background_image /usr/share/plymouth/themes/solar/star.png; then
  true
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 2.6.38-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(/dev/sda,gpt2)'
	search --no-floppy --fs-uuid --set=root 0acb48d9-f5f2-4e66-81b1-2ad619bf6166
	echo	'Loading Linux 2.6.38-2-amd64 ...'
	linux	/vmlinuz-2.6.38-2-amd64 root=/dev/mapper/satyr-root ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(/dev/sda,gpt2)'
	search --no-floppy --fs-uuid --set=root 0acb48d9-f5f2-4e66-81b1-2ad619bf6166
	echo	'Loading Linux 2.6.38-2-amd64 ...'
	linux	/vmlinuz-2.6.38-2-amd64 root=/dev/mapper/satyr-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(/dev/sda,gpt2)'
	search --no-floppy --fs-uuid --set=root 0acb48d9-f5f2-4e66-81b1-2ad619bf6166
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/satyr-root ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='(/dev/sda,gpt2)'
	search --no-floppy --fs-uuid --set=root 0acb48d9-f5f2-4e66-81b1-2ad619bf6166
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/satyr-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-5-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 ###
### 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
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 May 18 13:05 ata-ATAPI_DVD_D_DH16D2S -> ../../sr0
lrwxrwxrwx 1 root root  9 May 18 13:05 ata-Delock_54110_256MB -> ../../sdb
lrwxrwxrwx 1 root root 10 May 18 13:05 ata-Delock_54110_256MB-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 18 13:05 ata-Delock_54110_256MB-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 May 18 13:05 ata-WDC_WD7500AACS-00D6B0_WD-WCAU40556906 -> ../../sda
lrwxrwxrwx 1 root root 10 May 18 13:05 ata-WDC_WD7500AACS-00D6B0_WD-WCAU40556906-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 18 13:05 ata-WDC_WD7500AACS-00D6B0_WD-WCAU40556906-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 18 13:05 ata-WDC_WD7500AACS-00D6B0_WD-WCAU40556906-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 18 13:05 dm-name-data-home -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 18 13:05 dm-name-data-video -> ../../dm-2
lrwxrwxrwx 1 root root 10 May 18 13:05 dm-name-satyr-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 18 13:05 dm-uuid-LVM-V068PmR7mMXY4yuBsqE0hJKZQVmACK26a3zo30yCcyJbA7a6tP2HeXFJMj7bEFDk -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 18 13:05 dm-uuid-LVM-oEyRA6T042yu64CM5LU3lp0QIOepR19iBn7aPNFsyIffVr2HXahFvfdDfRFBSt6s -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 18 13:05 dm-uuid-LVM-oEyRA6T042yu64CM5LU3lp0QIOepR19iKh0VLJxadcaohwUvpqlDYNqQX2IXGKBN -> ../../dm-2
lrwxrwxrwx 1 root root  9 May 18 13:05 scsi-SATA_Delock_54110_25 -> ../../sdb
lrwxrwxrwx 1 root root 10 May 18 13:05 scsi-SATA_Delock_54110_25-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 18 13:05 scsi-SATA_Delock_54110_25-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 May 18 13:05 scsi-SATA_WDC_WD7500AACS-_WD-WCAU40556906 -> ../../sda
lrwxrwxrwx 1 root root 10 May 18 13:05 scsi-SATA_WDC_WD7500AACS-_WD-WCAU40556906-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 18 13:05 scsi-SATA_WDC_WD7500AACS-_WD-WCAU40556906-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 18 13:05 scsi-SATA_WDC_WD7500AACS-_WD-WCAU40556906-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 May 18 13:05 usb-Myson_CS8819A2-113_0_100-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 May 18 13:05 usb-Myson_CS8819A2-113_1_100-0:1 -> ../../sdd
lrwxrwxrwx 1 root root  9 May 18 13:05 usb-Myson_CS8819A2-113_2_100-0:2 -> ../../sde
lrwxrwxrwx 1 root root  9 May 18 13:05 usb-Myson_CS8819A2-113_3_100-0:3 -> ../../sdf
lrwxrwxrwx 1 root root  9 May 18 13:05 wwn-0x50014ee2ac47f00a -> ../../sda
lrwxrwxrwx 1 root root 10 May 18 13:05 wwn-0x50014ee2ac47f00a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 18 13:05 wwn-0x50014ee2ac47f00a-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 18 13:05 wwn-0x50014ee2ac47f00a-part3 -> ../../sda3
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 May 18 13:05 0acb48d9-f5f2-4e66-81b1-2ad619bf6166 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 18 13:05 7038645b-2445-4c6f-963b-9da9991445f6 -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 18 13:05 8cbe0cc1-4ec4-4dd1-943e-eedb63050cdb -> ../../dm-2
lrwxrwxrwx 1 root root 10 May 18 13:05 f7d051b3-8f40-4ca0-a720-683c3ed1a1d8 -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 18 13:05 faf5f270-f2ad-4086-b49e-265904375879 -> ../../sda1
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]        1.5.39      Debian configuration management sy
ii  grub-common                  1.99-2      GRand Unified Bootloader (common f
ii  grub-pc-bin                  1.99-2      GRand Unified Bootloader, version 
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

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_WD7500AACS-00D6B0_WD-WCAU40556906, /dev/disk/by-id/ata-Delock_54110_256MB
  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 splash
  grub-pc/mixed_legacy_and_grub2: true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sda2.dump
Type: application/octet-stream
Size: 65536 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110518/c7ff1c0f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sda3.dump
Type: application/octet-stream
Size: 65536 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110518/c7ff1c0f/attachment-0003.obj>
-------------- next part --------------

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x43c13709

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63     2361554     1180746   82  Linux swap / Solaris
/dev/sda2         2361555    78172289    37905367+  8e  Linux LVM
/dev/sda3        78172290  1465144064   693485887+  8e  Linux LVM
-------------- next part --------------
GPT fdisk (gdisk) version 0.6.14

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 503808 sectors, 246.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): CC81EF6D-226A-4A37-B676-FEA914F17CDC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 503774
Partitions will be aligned on 64-sector boundaries
Total free space is 30 sectors (15.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              64             575   256.0 KiB   EF02  BIOS boot partition
   2             576          503774   245.7 MiB   0700  Linux/Windows data
-------------- next part --------------
  --- Logical volume ---
  LV Name                /dev/data/home
  VG Name                data
  LV UUID                Bn7aPN-FsyI-ffVr-2HXa-hFvf-dDfR-FBSt6s
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                120.00 GiB
  Current LE             30720
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
   
  --- Logical volume ---
  LV Name                /dev/data/video
  VG Name                data
  LV UUID                Kh0VLJ-xadc-aohw-Uvpq-lDYN-qQX2-IXGKBN
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                541.36 GiB
  Current LE             138588
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
   
  --- Logical volume ---
  LV Name                /dev/satyr/root
  VG Name                satyr
  LV UUID                a3zo30-yCcy-JbA7-a6tP-2HeX-FJMj-7bEFDk
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                8.00 GiB
  Current LE             2048
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
   


More information about the Pkg-grub-devel mailing list