Debian Bug report logs - #612806
grub-pc: Doesn't boot and no menu. Error from memory grub_env not loaded(maybe set). Only applies v1.99

version graph

Package: grub-pc; Maintainer for grub-pc is GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>; Source for grub-pc is src:grub2.

Reported by: rob <rc.rattusrattus@googlemail.com>

Date: Thu, 10 Feb 2011 20:12:01 UTC

Severity: important

Found in version grub2/1.98+20100804-14

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#612806; Package grub-pc. (Thu, 10 Feb 2011 20:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to rob <rc.rattusrattus@googlemail.com>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 10 Feb 2011 20:12:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: rob <rc.rattusrattus@googlemail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub-pc: Doesn't boot and no menu. Error from memory grub_env not loaded(maybe set). Only applies v1.99
Date: Thu, 10 Feb 2011 19:51:10 +0000
Package: grub-pc
Version: 1.98+20100804-14
Severity: important

Upgraded 10/02/2011 approx 02:00gmt. Next time booted got error above followed
by grub-rescue prompt. Chrooted with sysrescuecd downgraded to
v1.98-20100804-04-14 now booting.



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/e5c0bffd-ed83-41de-b339-b79d7e34c123 / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/sdb3 /home ext3 rw,noatime,errors=continue,user_xattr,data=ordered 0 0
/dev/sdb4 /audio ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/truecrypt1 /media/truecrypt1 ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/truecrypt1 /home/iid2 ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-WDC_WD2500JS-00NCB1_WD-WCANKD502570
(hd1)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ13P229775
(hd2)	/dev/disk/by-id/ata-KINGSTON_SNVP325S264GB_30QS10BCT72Z
*********************** 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 part_msdos
insmod ext2
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/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_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.36-0.slh.1-aptosid-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.36-0.slh.1-aptosid-amd64 ...'
	linux	/boot/vmlinuz-2.6.36-0.slh.1-aptosid-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro  quiet vga=795
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.36-0.slh.1-aptosid-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36-0.slh.1-aptosid-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.36-0.slh.1-aptosid-amd64 ...'
	linux	/boot/vmlinuz-2.6.36-0.slh.1-aptosid-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.36-0.slh.1-aptosid-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-5.slh.4-aptosid-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.35-5.slh.4-aptosid-amd64 ...'
	linux	/boot/vmlinuz-2.6.35-5.slh.4-aptosid-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro  quiet vga=795
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-5.slh.4-aptosid-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-5.slh.4-aptosid-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.35-5.slh.4-aptosid-amd64 ...'
	linux	/boot/vmlinuz-2.6.35-5.slh.4-aptosid-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-5.slh.4-aptosid-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro  quiet vga=795
	echo	'Loading initial ramdisk ...'
	initrd	/boot/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 {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31-2-multimedia-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.31-2-multimedia-amd64 ...'
	linux	/boot/vmlinuz-2.6.31-2-multimedia-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro  quiet vga=795
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31-2-multimedia-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31-2-multimedia-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd2,msdos1)'
	search --no-floppy --fs-uuid --set e5c0bffd-ed83-41de-b339-b79d7e34c123
	echo	'Loading Linux 2.6.31-2-multimedia-amd64 ...'
	linux	/boot/vmlinuz-2.6.31-2-multimedia-amd64 root=UUID=e5c0bffd-ed83-41de-b339-b79d7e34c123 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31-2-multimedia-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

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.38           Debian configuration management sy
ii  grub-common             1.98+20100804-14 GRand Unified Bootloader, version 
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1      2:1.02.48-5      The Linux Kernel Device Mapper use
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  6.0.5      common files for the Debian Deskto

-- 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: false
* grub-pc/install_devices: /dev/disk/by-id/ata-KINGSTON_SNVP325S264GB_30QS10BCT72Z
  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 vga=795
  grub-pc/mixed_legacy_and_grub2: true




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#612806; Package grub-pc. (Thu, 10 Feb 2011 20:21:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ferdinand Thommes <ferdinand.thommes@googlemail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 10 Feb 2011 20:21:11 GMT) Full text and rfc822 format available.

Message #10 received at 612806@bugs.debian.org (full text, mbox):

From: Ferdinand Thommes <ferdinand.thommes@googlemail.com>
To: 612806@bugs.debian.org
Subject: correct error message
Date: Thu, 10 Feb 2011 21:20:28 +0100
[Message part 1 (text/plain, inline)]
Hi,
the correct error message is:  symbol not found: `grub_env_export'

regards
Ferdinand
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#612806; Package grub-pc. (Mon, 04 Apr 2011 21:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Mon, 04 Apr 2011 21:33:04 GMT) Full text and rfc822 format available.

Message #15 received at 612806@bugs.debian.org (full text, mbox):

From: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
To: rob <rc.rattusrattus@googlemail.com>, 612806@bugs.debian.org
Cc: Debian Bug Tracking System <control@bugs.debian.org>
Subject: Re: Bug#612806: grub-pc: Doesn't boot and no menu. Error from memory grub_env not loaded(maybe set). Only applies v1.99
Date: Mon, 04 Apr 2011 23:30:14 +0200
usertag 612806 not-upstream
thanks
> Next time booted got error above followed by grub-rescue prompt.

I think you meant
symbol not found: grub_env_export
This is a symptom of desync between core.img and modules. Like #589737.

On 10.02.2011 20:51, rob wrote:
> * grub-pc/install_devices: /dev/disk/by-id/ata-KINGSTON_SNVP325S264GB_30QS10BCT72Z
Are you sure that it's the device you boot from?

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko





Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#612806; Package grub-pc. (Mon, 04 Apr 2011 23:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robin <rc.rattusrattus@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Mon, 04 Apr 2011 23:03:03 GMT) Full text and rfc822 format available.

Message #20 received at 612806@bugs.debian.org (full text, mbox):

From: Robin <rc.rattusrattus@gmail.com>
To: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
Cc: 612806@bugs.debian.org, Debian Bug Tracking System <control@bugs.debian.org>
Subject: Re: Bug#612806: grub-pc: Doesn't boot and no menu. Error from memory grub_env not loaded(maybe set). Only applies v1.99
Date: Mon, 4 Apr 2011 23:58:18 +0100
2011/4/4 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
> usertag 612806 not-upstream
> thanks
>> Next time booted got error above followed by grub-rescue prompt.
>
> I think you meant
> symbol not found: grub_env_export

Very likely:)

> This is a symptom of desync between core.img and modules. Like #589737.

Checked #589737, looks similar.


>
> On 10.02.2011 20:51, rob wrote:
>>
>> * grub-pc/install_devices
>> /dev/disk/by-id/ata-KINGSTON_SNVP325S264GB_30QS10BCT72Z
>
> Are you sure that it's the device you boot from?

No, at that time booted from
(hd0)	/dev/disk/by-id/ata-WDC_WD2500JS-00NCB1_WD-WCANKD502570 as
couldn't get grub to install to SSD

--
rob




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#612806; Package grub-pc. (Mon, 04 Apr 2011 23:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Mon, 04 Apr 2011 23:15:03 GMT) Full text and rfc822 format available.

Message #25 received at 612806@bugs.debian.org (full text, mbox):

From: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
To: Robin <rc.rattusrattus@gmail.com>
Cc: 612806@bugs.debian.org
Subject: Re: Bug#612806: grub-pc: Doesn't boot and no menu. Error from memory grub_env not loaded(maybe set). Only applies v1.99
Date: Tue, 05 Apr 2011 01:12:48 +0200
>> On 10.02.2011 20:51, rob wrote:
>>> * grub-pc/install_devices
>>> /dev/disk/by-id/ata-KINGSTON_SNVP325S264GB_30QS10BCT72Z
>> Are you sure that it's the device you boot from?
> No, at that time booted from
> (hd0)	/dev/disk/by-id/ata-WDC_WD2500JS-00NCB1_WD-WCANKD502570
Install-device has to contain the device you boot from.
>   as
> couldn't get grub to install to SSD
How so? What error? If it's a non-512B sector disk, then this is 
scheduled for 2.00 release (wasn't much of priority since most BIOSes 
reject non-512B disks anyway)

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko





Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#612806; Package grub-pc. (Tue, 05 Apr 2011 00:42:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Tue, 05 Apr 2011 00:42:13 GMT) Full text and rfc822 format available.

Message #30 received at 612806@bugs.debian.org (full text, mbox):

From: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
To: Robin <rc.rattusrattus@gmail.com>, 612806@bugs.debian.org
Subject: Re: Bug#612806: grub-pc: Doesn't boot and no menu. Error from memory grub_env not loaded(maybe set). Only applies v1.99
Date: Tue, 05 Apr 2011 02:39:39 +0200
> Not sure I understand, during installation selected  SSD as / (was
> /dev/sdc) and selected that device to install grub. There was not an
> error
> and installation reported success but on reboot no bootable media/disk
> found. Tried again using BIOS facility to choose correct disk but no
> joy. Loaded live cd and chrooted into debian installation and ran
> grub-install to SSD again. Grub-install reported  success but on
> reboot no bootable disk again. So repeated live cd, chroot and ran
> grub-install /dev/sda (/dev/sda was western digital standard
> harddisk). This was 9 months ago so whether still an issue I do not
> know.  I assumed  at that time grub maybe had an issue with SSDs.
>
This looks more like BIOS not considering booting from SSD at all. Some 
BIOSes ignore the disks unless at least one partition is active. You may 
need to use fdisk to mark a partition active.
> SSD info:
>
> Disk /dev/sda: 64.0 GB, 64023257088 bytes
> 255 heads, 63 sectors/track, 7783 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000d1984
>
> If you want I can try to install grub to the SSD again. Be a couple of
> days time.


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko





Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 15:09:30 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.