Your message dated Fri, 24 Jul 2009 22:28:26 +0200
with message-id <[email protected]>
and subject line Re: Bug#514201: grub-pc: update-grub failing only reporting 
"exiting with value 1" when problems with /boot/grub/device.map
has caused the Debian Bug report #514201,
regarding grub-pc: update-grub failing only reporting "exiting with value 1" 
when problems with /boot/grub/device.map
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
514201: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514201
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-pc
Version: 1.96+20080724-14
Severity: normal


I had an update-grub fail only reporting "exiting with value 1".

I eventually found the problem that /boot/grub/device.map was 
inaccurate, due to having to use different device names as I sometimes 
have usb drives plugged in when booting which can use the /dev/sda name 
like the SCSI disk.

My working /boot/grub/device.map is:

(hd0)   /dev/hda
(hd1)   /dev/disk/by-id/scsi-SIBM_DCAS-34330W_F3T92021

I use the /dev/disk/by-id/* path for the real SCSI disk, and 
/dev/disk/by-label/* path for any usb drives, but others might be using 
/dev/disk/by-uuid/*.

Could someone please fix the update-grub script to better report a 
failure due to problems with /boot/grub/device.map?

Arthur. 

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/026a3f5c-0064-4ae7-869e-519d2cee05e7 / ext3 
rw,errors=remount-ro,data=ordered 0 0
/dev/hda1 /victoriac vfat 
rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8
 0 0
/dev/sdb1 /scsic vfat 
rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8
 0 0
/dev/hda3 /mirror3 ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda7 /victoriad vfat 
rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8
 0 0
/dev/sdb5 /scsid vfat 
rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8
 0 0
/dev/sda1 /mnt/usbdrive vfat 
rw,nosuid,nodev,noexec,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8
 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/hda
(hd1)   /dev/disk/by-id/scsi-SIBM_DCAS-34330W_F3T92021
*********************** 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=10
terminal console
### 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_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.28-1-686" {
        set root=(hd0,5)
        search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
        linux   /boot/vmlinuz-2.6.28-1-686 
root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
        initrd  /boot/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28-1-686 (single-user mode)" {
        set root=(hd0,5)
        search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
        linux   /boot/vmlinuz-2.6.28-1-686 
root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
        initrd  /boot/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28" {
        set root=(hd0,5)
        search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
        linux   /boot/vmlinuz-2.6.28 
root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
        initrd  /boot/initrd.img-2.6.28
}
menuentry "Debian GNU/Linux, linux 2.6.28 (single-user mode)" {
        set root=(hd0,5)
        search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
        linux   /boot/vmlinuz-2.6.28 
root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
        initrd  /boot/initrd.img-2.6.28
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
        set root=(hd0,5)
        search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
        linux   /boot/vmlinuz-2.6.26-1-686 
root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
        initrd  /boot/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" {
        set root=(hd0,5)
        search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
        linux   /boot/vmlinuz-2.6.26-1-686 
root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
        initrd  /boot/initrd.img-2.6.26-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        linux   /boot/memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 95/98/Me (on /dev/hda1)" {
        set root=(hd0,1)
        chainloader +1
}
menuentry "Windows 95/98/Me (on /dev/sdb1)" {
        set root=(hd1,1)
        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: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]   1.5.24           Debian configuration management sy
ii  grub-common             1.96+20080724-14 GRand Unified Bootloader, version 
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  liblzo2-2               2.03-1           data compression library
ii  libncurses5             5.7+20090124-1   shared libraries for terminal hand

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  os-prober                     1.28       utility to detect other OSes on a 

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Am Donnerstag, den 05.02.2009, 23:19 +1030 schrieb Arthur Marsh:
> Even weirder... I don't get an error if I have the correct device.map, a 
> device.map that includes a non-existent drive, no device.map or an empty 
> device.map.
> 
> Maybe there was something wrong that has just cleared itself.
> 
> Feel free to tag as unreproducible
> 
> Arthur.

I close it now.
Feel free to reopen it when it happens again.

-- 
Felix Zielcke



--- End Message ---

Reply via email to