Bug#487755: grub2: behaviour changed, with 1.96+20080621-1 I get an error message

Holger Fischer hoo.mb at web.de
Tue Jun 24 06:32:05 UTC 2008


Package: grub2
Version: 1.96+20080621-1
Followup-For: Bug #487755

With Version 1.96+20080617-1 grub-install ran through and worked in a
virtual machine directly after install, but not after a reboot anymore.

with version 1.96+20080621-1 I get this
:~$ mount /dev/sda7 /1
:~$ grub-install /dev/sda6                                                                                     
grub-setup: error: Cannot read `/boot/grub/core.img' correctly                                                                         
:~$ grub-install --root-directory=/1 /dev/sda7
grub-setup: error: Cannot read `/boot/grub/core.img' correctly        

:~# grub-setup -d /1/boot/grub -r '(hd0,7)' '(hd0,7)'
grub-setup: error: Cannot read `/boot/grub/core.img' correctly
:~# grub-setup  '(hd0,6)'
grub-setup: error: Cannot read `/boot/grub/core.img' correctly

Oh and (maybe again) some hardware info:
MB: Asus m2a-vm (sb600/amd690g)
RAM: 8gb ddr800
sata disk samsung 2,5" connected to sata port 4 on mainboard
filesytems mounted with uuid in fstab and grub.cfg

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/c329d509-b7d7-4c73-a2eb-34dc2f6bd41e / ext2 rw,noatime,errors=remount-ro 0 0
/dev/disk/by-uuid/c329d509-b7d7-4c73-a2eb-34dc2f6bd41e /dev/.static/dev ext2 rw,errors=remount-ro 0 0
/dev/sda7 /1 ext3 rw,errors=continue,user_xattr,acl,data=journal 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/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
set root=(hd0,6)
search --fs-uuid --set c329d509-b7d7-4c73-a2eb-34dc2f6bd41e
if font /usr/share/grub/unicode.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 ###
set root=(hd0,6)
search --fs-uuid --set c329d509-b7d7-4c73-a2eb-34dc2f6bd41e
insmod png
if background_image /usr/share/images/desktop-base/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 ###
set root=(hd0,6)
search --fs-uuid --set c329d509-b7d7-4c73-a2eb-34dc2f6bd41e
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" {
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=c329d509-b7d7-4c73-a2eb-34dc2f6bd41e ro iommu=soft 
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=c329d509-b7d7-4c73-a2eb-34dc2f6bd41e ro single iommu=soft
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
### END /etc/grub.d/10_linux ###

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

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub2 depends on:
ii  debconf                  1.5.22          Debian configuration management sy
ii  grub-pc                  1.96+20080621-1 GRand Unified Bootloader, version 

grub2 recommends no packages.

-- debconf information:
  grub2/numbering_scheme_transition:





More information about the Pkg-grub-devel mailing list