Debian Bug report logs - #558042
generated grub.cfg uses /boot with separate boot partition

version graph

Package: grub-common; Maintainer for grub-common is GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>; Source for grub-common is src:grub2 (PTS, buildd, popcon).

Reported by: Simon Danner <simon@danner-urloffen.de>

Date: Thu, 26 Nov 2009 07:42:01 UTC

Severity: important

Merged with 558243, 558255, 558286, 558306, 558486

Found in version grub2/1.97+20091125-1

Fixed in version grub2/1.97+20091125-2

Done: Felix Zielcke <fzielcke@z-51.de>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, simon@danner-urloffen.de, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Thu, 26 Nov 2009 07:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Simon Danner <simon@danner-urloffen.de>:
New Bug report received and forwarded. Copy sent to simon@danner-urloffen.de, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 26 Nov 2009 07:42:04 GMT) (full text, mbox, link).


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

From: Simon Danner <simon@danner-urloffen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub-pc: grub fails to load kernel
Date: Thu, 26 Nov 2009 08:36:47 +0100
Package: grub-pc
Version: 1.97+20091125-1
Severity: critical
Tags: patch
Justification: breaks unrelated software

Hi after a recent update of grub, grub fails to load the kernel.
In the autogenerated grub.cfg it searches the kernel in /boot/vm.. with this configuration the startup fails.
If i remove the /boot part it can successfull load the kernel and boots it.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/debian--simon-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/mapper/debian--simon-home /home ext3 rw,relatime,errors=continue,commit=15,data=ordered 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 ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
if loadfont /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 locale_dir=/boot/grub/locale
set lang=de
insmod gettext 
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
insmod png
if background_image /grub/moreblue-orbit-grub.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_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-rc8-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.32-rc8-amd64 root=/dev/mapper/debian--simon-root ro video=i915:modeset=1 quiet
	initrd	/boot/initrd.img-2.6.32-rc8-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-rc8-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.32-rc8-amd64 root=/dev/mapper/debian--simon-root ro single vga=0x0368
	initrd	/boot/initrd.img-2.6.32-rc8-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian--simon-root ro vga=0x0368 quiet
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian--simon-root ro single vga=0x0368
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/debian--simon-root ro vga=0x0368 quiet
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e9d95f60-c584-4378-84fa-288a02e2c1c8
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/debian--simon-root ro single vga=0x0368
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
### 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 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 ###
*********************** END /boot/grub/grub.cfg

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

Kernel: Linux 2.6.32-rc8-amd64 (SMP w/2 CPU cores)
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.28          Debian configuration management sy
ii  grub-common              1.97+20091125-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline: vga=0x0368
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/sda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet




Removed tag(s) patch. Request was from Simon Danner <simon@danner-urloffen.de> to control@bugs.debian.org. (Thu, 26 Nov 2009 09:12:14 GMT) (full text, mbox, link).


Changed Bug title to 'generated grub.cfg uses /boot with separate boot partition' from 'grub-pc: grub fails to load kernel' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 26 Nov 2009 10:18:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Thu, 26 Nov 2009 13:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Panayiotis Tembriotis <panayiotist@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 26 Nov 2009 13:27:03 GMT) (full text, mbox, link).


Message #14 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Panayiotis Tembriotis <panayiotist@gmail.com>
To: 558042@bugs.debian.org
Date: Thu, 26 Nov 2009 15:22:35 +0200
[Message part 1 (text/plain, inline)]
Με εκτίμηση,

Παναγιώτης Τεμπριώτης


message encoding: UTF-8
[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#558042; Package grub-pc. (Thu, 26 Nov 2009 13:51:11 GMT) (full text, mbox, link).


Acknowledgement sent to Muammar El Khatib <muammarelkhatib@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 26 Nov 2009 13:51:11 GMT) (full text, mbox, link).


Message #19 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Muammar El Khatib <muammarelkhatib@gmail.com>
To: 558042@bugs.debian.org
Subject: [grub-pc] Confirming this report
Date: Thu, 26 Nov 2009 09:18:54 -0430
Package: grub-pc
Version: 1.97+20091125-1

Hi,

I can confirm this bug. My machine wasn't able to boot using the entries found
in grub.cfg. So that, I proceeded to boot manually and the process was
successful. Then, I stumble into this bug, and I changed the entry for my
current kernel from:

menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/obey-root ro  quiet
	initrd	/boot/initrd.img-2.6.31-1-amd64

}

to

menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
	linux	/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/obey-root ro  quiet
	initrd	/initrd.img-2.6.31-1-amd64
}

And my machine was able to boot again.

Regards,

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31-1-amd64

Debian Release: squeeze/sid
  990 unstable        www.debian-multimedia.org
  990 unstable        ftp.us.debian.org
  500 stable          dl.google.com
    1 experimental    ftp.us.debian.org

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-====================
libc6                      (>= 2.3) | 2.10.2-2
debconf                   (>= 0.5)  | 1.5.28
 OR debconf-2.0                     |
grub-common     (= 1.97+20091125-1) | 1.97+20091125-1
ucf                                 | 3.0025


Package's Recommends field is empty.

Suggests          (Version) | Installed
===========================-+-===========
desktop-base     (>= 4.0.6) | 5.0.5
genisoimage                 | 9:1.1.9-1



--- Output from package bug script ---

*********************** BEGIN /proc/mounts
/dev/mapper/obey-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/obey-home /home ext3 rw,relatime,errors=continue,data=ordered 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 ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
if loadfont /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 locale_dir=/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 ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
insmod png
if background_image /grub/moreblue-orbit-grub.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_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
	linux	/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/obey-root ro  quiet
	initrd	/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/obey-root ro single
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.18-4-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
	linux	/boot/vmlinuz-2.6.18-4-amd64 root=/dev/mapper/obey-root ro  quiet
	initrd	/boot/initrd.img-2.6.18-4-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.18-4-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0e6da3bc-9422-423b-8fd6-7c525a939fa9
	linux	/boot/vmlinuz-2.6.18-4-amd64 root=/dev/mapper/obey-root ro single
	initrd	/boot/initrd.img-2.6.18-4-amd64
}
### 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 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 ###
*********************** END /boot/grub/grub.cfg

-- 
Muammar El Khatib.
Linux user: 403107.
Key fingerprint = 90B8 BFC4 4A75 B881 39A3 1440 30EB 403B 1270 29F1
http://muammar.me | http://proyectociencia.org
  ,''`.
 : :' :
 `. `'
   `-




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Thu, 26 Nov 2009 15:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Patrick Winnertz <winnie@der-winnie.de>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 26 Nov 2009 15:18:03 GMT) (full text, mbox, link).


Message #24 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Patrick Winnertz <winnie@der-winnie.de>
To: 558042@bugs.debian.org
Subject: confirming
Date: Thu, 26 Nov 2009 16:06:29 +0100
Hey,

I can also confirm that bug, after a recent upgrade the path to the initrd and 
vmlinuz was wrong a /boot/ was added before. Removing /boot/ from the path 
worked without any problems.

I've /boot on a separate partition, if this helps (/dev/sda1), /dev/sda2 is my 
root-filesystem.

Greetings
Winnie




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Thu, 26 Nov 2009 15:48:08 GMT) (full text, mbox, link).


Acknowledgement sent to Muammar El Khatib <muammarelkhatib@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Thu, 26 Nov 2009 15:48:08 GMT) (full text, mbox, link).


Message #29 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Muammar El Khatib <muammarelkhatib@gmail.com>
To: 558042@bugs.debian.org
Subject: [grub-pc] Additional information
Date: Thu, 26 Nov 2009 11:14:18 -0430
Hi,

I forgot to post my partitioning scheme:

muammar@obey:~$ sudo fdisk -lu

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x90029002

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      498014      248976   83  Linux
/dev/sda2          498015   234436544   116969265    5  Extended
/dev/sda5          498078   234436544   116969233+  83  Linux

Regards
--
Muammar El Khatib.
Linux user: 403107.
Key fingerprint = 90B8 BFC4 4A75 B881 39A3 1440 30EB 403B 1270 29F1
http://muammar.me | http://proyectociencia.org
  ,''`.
 : :' :
 `. `'
   `-




Information forwarded to debian-bugs-dist@lists.debian.org, edjunior@gmail.com, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Fri, 27 Nov 2009 00:48:07 GMT) (full text, mbox, link).


Acknowledgement sent to junior <edjunior@gmail.com>:
Extra info received and forwarded to list. Copy sent to edjunior@gmail.com, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 00:48:07 GMT) (full text, mbox, link).


Message #34 received at 558042@bugs.debian.org (full text, mbox, reply):

From: junior <edjunior@gmail.com>
To: Debian Bug Tracking System <558042@bugs.debian.org>
Subject: grub-common: Additional information
Date: Thu, 26 Nov 2009 22:44:16 -0200
Package: grub-common
Severity: normal


Hi,

I reproduce this bug here on my sid box.

>From what I was able to verify here, it seems this is a problem with the
grub-mkrelpath application. As far as I could see, it was recently
modified on grub suite (it was a piece of shell script and now is an
executable).

Using the verification method ('stat -c %d <dir>') from
make_system_path_relative_to_its_root() function found in
/usr/lib/grub/grub-mkconfig_lib on grub-common-1.97~beta3-1 and
comparing with the new grub-mkrelpath output:

junior@sister:~$ stat -c %d /boot/
2049
junior@sister:~$ stat -c %d /boot/..
65024
junior@sister:~$ grub-mkrelpath /boot/
/boot

As already mentioned, this is not reproducible in my other machine running debian testing (grub-common-1.97~beta3-1).

Thanks, and please let me know if there is anything else I can do to help.


jr.

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pt_BR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  dpkg                   1.15.5.2          Debian package management system
ii  gettext-base           0.17-8            GNU Internationalization utilities
ii  install-info           4.13a.dfsg.1-5    Manage installed documentation in 
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages grub-common recommends:
ii  os-prober                     1.35       utility to detect other OSes on a 

Versions of packages grub-common suggests:
pn  grub-emu                      <none>     (no description available)
pn  multiboot-doc                 <none>     (no description available)

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Fri, 27 Nov 2009 09:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ben Stewart <debbugs@tucuxi.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 09:27:03 GMT) (full text, mbox, link).


Message #39 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Ben Stewart <debbugs@tucuxi.org>
To: 558042@bugs.debian.org
Subject: Fixed /etc/grub.d/10_linux script
Date: Fri, 27 Nov 2009 20:12:47 +1100
Hi all,

I came across this bug on my sid system, and have updated the script
/etc/grub.d/10_linux to resolve this bug in a somewhat hackish way.

The attached code is a diff against the version as shipped with
1.97+20091125-1.

----- /etc/grub.d/10_linux.patch -----
--- 10_linux.dpkg-new	2009-11-26 05:41:40.000000000 +1100
+++ 10_linux	2009-11-27 20:05:29.000000000 +1100
@@ -65,11 +65,11 @@
   fi
   printf '%s\n' "${prepare_boot_cache}"
   cat << EOF
-	linux	${rel_dirname}/${basename} root=${linux_root_device_thisversion}
ro ${args}
+	linux	${fixed_imagename}/${basename}
root=${linux_root_device_thisversion} ro ${args}
 EOF
   if test -n "${initrd}" ; then
     cat << EOF
-	initrd	${rel_dirname}/${initrd}
+	initrd	${fixed_initrd}
 EOF
   fi
   cat << EOF
@@ -88,6 +88,7 @@
   basename=`basename $linux`
   dirname=`dirname $linux`
   rel_dirname=`make_system_path_relative_to_its_root $dirname`
+  fixed_imagename=$(grub-mkrelpath "$linux")
   version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
   alt_version=`echo $version | sed -e "s,\.old$,,g"`
   linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
@@ -108,6 +109,8 @@
     linux_root_device_thisversion=${GRUB_DEVICE}
   fi

+  fixed_initrd=$(grub-mkrelpath "${dirname}/${initrd}")
+
   linux_entry "${OS}" "${version}" false \
       "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
   if [ "x${GRUB_DISABLE_LINUX_RECOVERY}" != "xtrue" ]; then

--------------------------------------

I have not tested this against a system with /boot on the same partition
as the root, but it does work for the aforementioned system with /boot
on a separate partition.





Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-pc. (Fri, 27 Nov 2009 09:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ben Stewart <debbugs@tucuxi.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 09:57:05 GMT) (full text, mbox, link).


Message #44 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Ben Stewart <debbugs@tucuxi.org>
To: 558042@bugs.debian.org
Subject: Patch correction
Date: Fri, 27 Nov 2009 20:53:23 +1100
A slight correction to the patch posted earlier; the line:

+	linux	${fixed_imagename}/${basename}

should read:

+	linux	${fixed_imagename}






Bug reassigned from package 'grub-pc' to 'grub-common'. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Fri, 27 Nov 2009 10:48:13 GMT) (full text, mbox, link).


Bug No longer marked as found in versions grub2/1.97+20091125-1. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Fri, 27 Nov 2009 10:48:14 GMT) (full text, mbox, link).


Forcibly Merged 558042 558243. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Fri, 27 Nov 2009 10:48:14 GMT) (full text, mbox, link).


Forcibly Merged 558042 558243 558255. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Fri, 27 Nov 2009 12:57:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Fri, 27 Nov 2009 13:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Matthias Dellweg" <2500@gmx.de>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 13:21:04 GMT) (full text, mbox, link).


Message #57 received at 558042@bugs.debian.org (full text, mbox, reply):

From: "Matthias Dellweg" <2500@gmx.de>
To: 558042@bugs.debian.org
Subject: sugesting another patch
Date: Fri, 27 Nov 2009 14:15:28 +0100
since grub-mkrelpath works correct on files (they cannot be mountpoints, right?) I would sugest to try the following patch. Sadly I cannot test it until this evening.

--- 10_linux    2009-11-25 19:41:40.000000000 +0100
+++ 09_linux    2009-11-27 14:03:04.000000000 +0100
@@ -87,7 +87,9 @@ while [ "x$list" != "x" ] ; do
   echo "Found linux image: $linux" >&2
   basename=`basename $linux`
   dirname=`dirname $linux`
-  rel_dirname=`make_system_path_relative_to_its_root $dirname`
+  rel_linux=`make_system_path_relative_to_its_root $linux`
+#  rel_dirname=`make_system_path_relative_to_its_root $dirname`
+  rel_dirname=`dirname $rel_linux`
   version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
   alt_version=`echo $version | sed -e "s,\.old$,,g"`
   linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Fri, 27 Nov 2009 14:27:09 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Hommey <mh@glandium.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 14:27:09 GMT) (full text, mbox, link).


Message #62 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Mike Hommey <mh@glandium.org>
To: Matthias Dellweg <2500@gmx.de>, 558042@bugs.debian.org
Subject: Re: Bug#558042: sugesting another patch
Date: Fri, 27 Nov 2009 15:22:02 +0100
On Fri, Nov 27, 2009 at 02:15:28PM +0100, Matthias Dellweg wrote:
> since grub-mkrelpath works correct on files (they cannot be mountpoints, right?)

FWIW, they can, with bind mounts.

Mike




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Fri, 27 Nov 2009 15:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to pancho horrillo <pancho@pancho.name>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 15:42:03 GMT) (full text, mbox, link).


Message #67 received at 558042@bugs.debian.org (full text, mbox, reply):

From: pancho horrillo <pancho@pancho.name>
To: Matthias Dellweg <2500@gmx.de>, 558042@bugs.debian.org
Subject: Re: Bug#558042: sugesting another patch
Date: Fri, 27 Nov 2009 16:33:09 +0100
On Fri, Nov 27, 2009 at 02:15:28PM +0100, Matthias Dellweg wrote:
> since grub-mkrelpath works correct on files (they cannot be
> mountpoints, right?) I would sugest to try the following patch. Sadly
> I cannot test it until this evening.
> 
> --- 10_linux    2009-11-25 19:41:40.000000000 +0100
> +++ 09_linux    2009-11-27 14:03:04.000000000 +0100
> @@ -87,7 +87,9 @@ while [ "x$list" != "x" ] ; do
>    echo "Found linux image: $linux" >&2
>    basename=`basename $linux`
>    dirname=`dirname $linux`
> -  rel_dirname=`make_system_path_relative_to_its_root $dirname`
> +  rel_linux=`make_system_path_relative_to_its_root $linux`
> +#  rel_dirname=`make_system_path_relative_to_its_root $dirname`
> +  rel_dirname=`dirname $rel_linux`
>    version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
>    alt_version=`echo $version | sed -e "s,\.old$,,g"`
>    linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"

Just tried it, and this happens:
N.B.: Duplicate set of entries, and // instead of /
Grub is able to boot from // paths, though.

My 2¢.

******** /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=(debian-usr)
search --no-floppy --fs-uuid --set c37e1192-952d-4c62-8d29-99c7df365726
if loadfont /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 locale_dir=/boot/grub/locale
set lang=en
insmod gettext 
set timeout=2
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_hiddenmenu ###
echo -n "Press 'ESC' to enter the menu... "
if sleep --verbose --interruptible 2 ; then
  set timeout=0
else
  set timeout=-1
fi
### END /etc/grub.d/01_hiddenmenu ###

### BEGIN /etc/grub.d/02_graphics_mode ###
915resolution 3c 1920 1200
### END /etc/grub.d/02_graphics_mode ###

### 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/06_pancho_theme ###
set menu_color_normal=green/black
set menu_color_highlight=black/green
### END /etc/grub.d/06_pancho_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64-macmini" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	//vmlinuz-2.6.31-1-amd64-macmini root=/dev/mapper/debian-root ro  quiet
	initrd	//initrd.img-2.6.31-1-amd64-macmini
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64-macmini (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	//vmlinuz-2.6.31-1-amd64-macmini root=/dev/mapper/debian-root ro single 
	initrd	//initrd.img-2.6.31-1-amd64-macmini
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	//vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian-root ro  quiet
	initrd	//initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	//vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian-root ro single 
	initrd	//initrd.img-2.6.31-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_linux.orig ###
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64-macmini" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	/boot/vmlinuz-2.6.31-1-amd64-macmini root=/dev/mapper/debian-root ro  quiet
	initrd	/boot/initrd.img-2.6.31-1-amd64-macmini
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64-macmini (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	/boot/vmlinuz-2.6.31-1-amd64-macmini root=/dev/mapper/debian-root ro single 
	initrd	/boot/initrd.img-2.6.31-1-amd64-macmini
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian-root ro  quiet
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/debian-root ro single 
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
### END /etc/grub.d/10_linux.orig ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set a4be9d25-49cd-40c3-8915-e0abdff0e1a7
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### 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 ###

******** END /boot/grub/grub.cfg

-- 
pancho horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

		Benjamin Disraeli




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Fri, 27 Nov 2009 17:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Dellweg <2500@gmx.de>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 27 Nov 2009 17:33:03 GMT) (full text, mbox, link).


Message #72 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Matthias Dellweg <2500@gmx.de>
To: pancho horrillo <pancho@pancho.name>
Cc: 558042@bugs.debian.org
Subject: Re: Bug#558042: sugesting another patch
Date: Fri, 27 Nov 2009 18:25:50 +0100
The following hot fix patch seems to work. And it also kills the doubled 
slashes (They must have been around with the old method, too.).
Greetings, Matthias

--- 10_linux.OLD        2009-11-27 18:17:52.000000000 +0100
+++ 10_linux    2009-11-27 18:18:18.000000000 +0100
@@ -87,7 +87,9 @@ while [ "x$list" != "x" ] ; do
   echo "Found linux image: $linux" >&2
   basename=`basename $linux`
   dirname=`dirname $linux`
-  rel_dirname=`make_system_path_relative_to_its_root $dirname`
+  rel_linux=`make_system_path_relative_to_its_root $linux`
+  rel_dirname=`dirname $rel_linux`
+  [ "$rel_dirname" = "/" ] && rel_dirname=
   version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
   alt_version=`echo $version | sed -e "s,\.old$,,g"`
   linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"


Am Freitag, 27. November 2009 schrieb pancho horrillo:
> Just tried it, and this happens:
> N.B.: Duplicate set of entries, and // instead of /
> Grub is able to boot from // paths, though.

--
I must have had my mind bound to forget about the mount bind.




Forcibly Merged 558042 558243 558255 558286. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Fri, 27 Nov 2009 20:42:07 GMT) (full text, mbox, link).


Severity set to 'critical' from 'important' Request was from kurt@roeckx.be (Kurt Roeckx) to control@bugs.debian.org. (Fri, 27 Nov 2009 21:27:15 GMT) (full text, mbox, link).


Forcibly Merged 558042 558243 558255 558286 558306. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Fri, 27 Nov 2009 22:33:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Sat, 28 Nov 2009 08:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to pancho horrillo <pancho@pancho.name>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 28 Nov 2009 08:36:03 GMT) (full text, mbox, link).


Message #83 received at 558042@bugs.debian.org (full text, mbox, reply):

From: pancho horrillo <pancho@pancho.name>
To: Matthias Dellweg <2500@gmx.de>
Cc: 558042@bugs.debian.org
Subject: Re: Bug#558042: sugesting another patch
Date: Sat, 28 Nov 2009 09:34:08 +0100
On Fri, Nov 27, 2009 at 06:25:50PM +0100, Matthias Dellweg wrote:
> The following hot fix patch seems to work. And it also kills the doubled 
> slashes (They must have been around with the old method, too.).
> Greetings, Matthias
> 
Works like a charm now.  Vielen dank!

> --- 10_linux.OLD        2009-11-27 18:17:52.000000000 +0100
> +++ 10_linux    2009-11-27 18:18:18.000000000 +0100
> @@ -87,7 +87,9 @@ while [ "x$list" != "x" ] ; do
>    echo "Found linux image: $linux" >&2
>    basename=`basename $linux`
>    dirname=`dirname $linux`
> -  rel_dirname=`make_system_path_relative_to_its_root $dirname`
> +  rel_linux=`make_system_path_relative_to_its_root $linux`
> +  rel_dirname=`dirname $rel_linux`
> +  [ "$rel_dirname" = "/" ] && rel_dirname=
>    version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
>    alt_version=`echo $version | sed -e "s,\.old$,,g"`
>    linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
> 
> 
> Am Freitag, 27. November 2009 schrieb pancho horrillo:
> > Just tried it, and this happens:
> > N.B.: Duplicate set of entries,
er, my fault.  I left around a 10_linux.orig, and it got executed too.

> > and // instead of / Grub is able to boot from // paths, though.
> 
Extra note.  I noticed that memtest86 entries get the relative path OK
(in the unpatched version, I mean).

-- 
pancho horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

		Benjamin Disraeli




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Sat, 28 Nov 2009 13:06:06 GMT) (full text, mbox, link).


Acknowledgement sent to Florian Maier <droneauth@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 28 Nov 2009 13:06:06 GMT) (full text, mbox, link).


Message #88 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Florian Maier <droneauth@gmail.com>
To: 558042@bugs.debian.org
Date: Sat, 28 Nov 2009 14:01:53 +0100
Matthias latest patch also worked for me, thanks!




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Sun, 29 Nov 2009 10:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Danjean <vdanjean@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 29 Nov 2009 10:48:06 GMT) (full text, mbox, link).


Message #93 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Vincent Danjean <vdanjean@debian.org>
To: 558042@bugs.debian.org
Subject: Re: generated grub.cfg uses /boot with separate boot partition
Date: Sun, 29 Nov 2009 11:26:25 +0100
  Hi,

  In the latest patch, you need to use a "if ...;then ...; fi" construct
and not a "... && ...". Else you will have an error (that will stop
the script if it is executed with -e) if the test is false.
[ "$rel_dirname" = "/" ] && rel_dirname=
should be replaced by
if [ "$rel_dirname" = "/" ]; then rel_dirname= ; fi

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         vdanjean@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main





Forcibly Merged 558042 558243 558255 558286 558306 558486. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Sun, 29 Nov 2009 14:12:14 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Sun, 29 Nov 2009 19:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Dellweg <matthias@dellweg.net>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Sun, 29 Nov 2009 19:03:06 GMT) (full text, mbox, link).


Message #100 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Matthias Dellweg <matthias@dellweg.net>
To: 558042@bugs.debian.org
Date: Sun, 29 Nov 2009 19:58:24 +0100
Hi Vincent,
may i cite the dash man page:
"
-e errexit       If not interactive, exit immediately if any untested command 
fails.  The exit status of a command is consid-
                            ered to be explicitly tested if the command is 
used to control an if, elif, while, or until; or if the command
                            is the left hand operand of an «&&» or «||» 
operator.
"
So it would in fact be sufficient to do && or ||, but as your version is more 
readable i'm just fine with it. If grub really accepts doubled slashes, its 
cosmetical anyway.
I think more important is the question whether grub-mkrelpath is doing the 
right thing on mount points.

Matthias

-- 
Letzte Worte eines Heimwerkers:
  "Das müßte halten."




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#558042; Package grub-common. (Sun, 29 Nov 2009 19:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Zielcke <fzielcke@z-51.de>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 29 Nov 2009 19:21:03 GMT) (full text, mbox, link).


Message #105 received at 558042@bugs.debian.org (full text, mbox, reply):

From: Felix Zielcke <fzielcke@z-51.de>
To: Matthias Dellweg <matthias@dellweg.net>, 558042@bugs.debian.org
Subject: Re: Bug#558042: (no subject)
Date: Sun, 29 Nov 2009 20:18:05 +0100
tag 558042 pending fixed-upstream
thanks

Am Sonntag, den 29.11.2009, 19:58 +0100 schrieb Matthias Dellweg:
> Hi Vincent,

It looks like you sent the mail just to the report but not to him
directly.
If he didn't explicitly subscribed to the bug report, he didn't got it.

> may i cite the dash man page:
> "
> -e errexit       If not interactive, exit immediately if any untested
> command 
> fails.  The exit status of a command is consid-
>                             ered to be explicitly tested if the
> command is 
> used to control an if, elif, while, or until; or if the command
>                             is the left hand operand of an «&&» or
> «||» 
> operator.
> "
> So it would in fact be sufficient to do && or ||, but as your version
> is more 
> readable i'm just fine with it. If grub really accepts doubled
> slashes, its 
> cosmetical anyway.
> I think more important is the question whether grub-mkrelpath is doing
> the 
> right thing on mount points.

Yes and it's not doing the right thing with them.
And just before I saw your mail, I fixed the problem :)
Will be uploaded soon.

> Matthias
> 

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer





Added tag(s) fixed-upstream and pending. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Sun, 29 Nov 2009 19:21:05 GMT) (full text, mbox, link).


Removed tag(s) fixed-upstream. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Sun, 29 Nov 2009 21:12:10 GMT) (full text, mbox, link).


Reply sent to Felix Zielcke <fzielcke@z-51.de>:
You have taken responsibility. (Sun, 29 Nov 2009 22:03:17 GMT) (full text, mbox, link).


Notification sent to Simon Danner <simon@danner-urloffen.de>:
Bug acknowledged by developer. (Sun, 29 Nov 2009 22:03:18 GMT) (full text, mbox, link).


Message #114 received at 558042-close@bugs.debian.org (full text, mbox, reply):

From: Felix Zielcke <fzielcke@z-51.de>
To: 558042-close@bugs.debian.org
Subject: Bug#558042: fixed in grub2 1.97+20091125-2
Date: Sun, 29 Nov 2009 21:58:14 +0000
Source: grub2
Source-Version: 1.97+20091125-2

We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive:

grub-common_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-common_1.97+20091125-2_amd64.deb
grub-coreboot_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-coreboot_1.97+20091125-2_amd64.deb
grub-efi-amd64_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-efi-amd64_1.97+20091125-2_amd64.deb
grub-efi-ia32_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-efi-ia32_1.97+20091125-2_amd64.deb
grub-efi_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-efi_1.97+20091125-2_amd64.deb
grub-emu_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-emu_1.97+20091125-2_amd64.deb
grub-firmware-qemu_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-firmware-qemu_1.97+20091125-2_amd64.deb
grub-ieee1275_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-ieee1275_1.97+20091125-2_amd64.deb
grub-linuxbios_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-linuxbios_1.97+20091125-2_amd64.deb
grub-pc_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-pc_1.97+20091125-2_amd64.deb
grub-rescue-pc_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub-rescue-pc_1.97+20091125-2_amd64.deb
grub2_1.97+20091125-2.diff.gz
  to main/g/grub2/grub2_1.97+20091125-2.diff.gz
grub2_1.97+20091125-2.dsc
  to main/g/grub2/grub2_1.97+20091125-2.dsc
grub2_1.97+20091125-2_amd64.deb
  to main/g/grub2/grub2_1.97+20091125-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 558042@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Felix Zielcke <fzielcke@z-51.de> (supplier of updated grub2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 29 Nov 2009 21:26:37 +0100
Source: grub2
Binary: grub2 grub-linuxbios grub-efi grub-common grub-emu grub-pc grub-rescue-pc grub-coreboot grub-efi-ia32 grub-efi-amd64 grub-ieee1275 grub-firmware-qemu
Architecture: source amd64
Version: 1.97+20091125-2
Distribution: unstable
Urgency: low
Maintainer: GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Felix Zielcke <fzielcke@z-51.de>
Description: 
 grub-common - GRand Unified Bootloader, version 2 (common files)
 grub-coreboot - GRand Unified Bootloader, version 2 (Coreboot version)
 grub-efi   - GRand Unified Bootloader, version 2 (dummy package)
 grub-efi-amd64 - GRand Unified Bootloader, version 2 (EFI-AMD64 version)
 grub-efi-ia32 - GRand Unified Bootloader, version 2 (EFI-IA32 version)
 grub-emu   - GRand Unified Bootloader, version 2 (emulated version)
 grub-firmware-qemu - GRUB firmware image for QEMU
 grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
 grub-linuxbios - GRand Unified Bootloader, version 2 (dummy package)
 grub-pc    - GRand Unified Bootloader, version 2 (PC/BIOS version)
 grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
 grub2      - GRand Unified Bootloader, version 2 (dummy package)
Closes: 558039 558042
Changes: 
 grub2 (1.97+20091125-2) unstable; urgency=low
 .
   [ Updated translations ]
   * Bulgarian (bg.po) by Damyan Ivanovi (Closes: #558039)
 .
   [ Robert Millan ]
   * control: Remove genisoimage from Build-Depends/Suggests (no longer
     used).
   * grub.d/05_debian_theme: Make output string distro-agnostic.
 .
   [ Felix Zielcke ]
   * patches/02_fix_mountpoints_in_mkrelpath.diff: New patch to handle
     mount points like the old shell function did. (Closes: #558042)
Checksums-Sha1: 
 6ac9f9d2fbfe9145ed2ce8ee4f4dc3e6dfdceb9c 2090 grub2_1.97+20091125-2.dsc
 24af8c106e8c8ab60e98a19efb2b8841765c7660 100765 grub2_1.97+20091125-2.diff.gz
 18fa300963f86a7741a853eab634589b637bae55 206182 grub2_1.97+20091125-2_amd64.deb
 f0f3cc5054cf5beb269ccec69eeed2bc342ac08a 204992 grub-linuxbios_1.97+20091125-2_amd64.deb
 43cf666c95ed9fb872432bed4f88a9f350b80729 204984 grub-efi_1.97+20091125-2_amd64.deb
 bd4c22293060c9c322822f4af2741d3a49326578 1449252 grub-common_1.97+20091125-2_amd64.deb
 52021bc167f1aa1cde1cececc95753d9529b37f3 660552 grub-emu_1.97+20091125-2_amd64.deb
 659972f45f5fc0992982348422429fa0d984ea7b 692442 grub-pc_1.97+20091125-2_amd64.deb
 a4f1308d99ced817db6723832d4e23f1bbe7d790 205720 grub-rescue-pc_1.97+20091125-2_amd64.deb
 1107f0ca9e1e3c33dadf44f38215809ce851647e 486490 grub-coreboot_1.97+20091125-2_amd64.deb
 aa253d1dd775805994c56e8d183b909d93ce43f1 509406 grub-efi-ia32_1.97+20091125-2_amd64.deb
 6c1826a6960b7384bb735eb6538f541ba7d5eb6d 562836 grub-efi-amd64_1.97+20091125-2_amd64.deb
 e4021ed8bbc859d32effb3e4c94e1420358ba2a3 471040 grub-ieee1275_1.97+20091125-2_amd64.deb
 ab56b5d8459af9ea913101f063a4c54b9a37c2c5 448062 grub-firmware-qemu_1.97+20091125-2_amd64.deb
Checksums-Sha256: 
 cc33371b313a5bbb054dc39226a10fc62b5a8f875781c48f79a5f295fa749572 2090 grub2_1.97+20091125-2.dsc
 9f882f6d1f03fcc6fe1f6761029a652694fee06bfcabe31774333703bf177603 100765 grub2_1.97+20091125-2.diff.gz
 0d587780284abab317a685d8c8c3413304b4d63d718157aa8db548de51ef2f6d 206182 grub2_1.97+20091125-2_amd64.deb
 94d0ee8ae164e5bbf6a9f3eb87233932fa954824e18bb192038928761f3b476c 204992 grub-linuxbios_1.97+20091125-2_amd64.deb
 3f24a317f04309f789d97e1d1807d530336624902b86797f707241dc0b4aeab8 204984 grub-efi_1.97+20091125-2_amd64.deb
 1e500f401c63aa6982a4054954916facc63a5b5832a7a0d3f419554b84fa9eef 1449252 grub-common_1.97+20091125-2_amd64.deb
 e19f24e14479282840bf947b1f34f36a2999b0096ae3c8f65d9491166ac38a6b 660552 grub-emu_1.97+20091125-2_amd64.deb
 ce846259625bf8b71a47b55b210c5f1af9c14f0fef01827c1047290cb6c36440 692442 grub-pc_1.97+20091125-2_amd64.deb
 450fe68f1db58932cc9a02159442392e3c65bd5e271dddd024c557ee97871563 205720 grub-rescue-pc_1.97+20091125-2_amd64.deb
 c56abc5fb1c43697c5f62685517aab8053089f8f8dca2d97586d5ea85f307769 486490 grub-coreboot_1.97+20091125-2_amd64.deb
 bdab495742bcdf9f1094e9deec33f8a6cfe4e2f403ea836d87dc3da3428bb909 509406 grub-efi-ia32_1.97+20091125-2_amd64.deb
 78d5b972f64f650a809e156512ca223b6e6cd1639cf408f5941565ff8d3c3272 562836 grub-efi-amd64_1.97+20091125-2_amd64.deb
 0d5b627831d3f531ed77519d0c73fb2497a31ccafd7ebf436a033183239e8bf2 471040 grub-ieee1275_1.97+20091125-2_amd64.deb
 e017ae47711aafbc167f4e92080e10cc7b5421d52f7aebfdc73924e9b3cabb74 448062 grub-firmware-qemu_1.97+20091125-2_amd64.deb
Files: 
 14091c994c712ee667bd258ab33d64f6 2090 admin extra grub2_1.97+20091125-2.dsc
 9fd4fb65b04ac9e8985176b34eafdbdb 100765 admin extra grub2_1.97+20091125-2.diff.gz
 2addb6a4267ea60824df0f69c797e139 206182 admin extra grub2_1.97+20091125-2_amd64.deb
 560e5ae6d7c203d013752b398771f551 204992 admin extra grub-linuxbios_1.97+20091125-2_amd64.deb
 a5b712b1b295aeffb4341187ce3768d0 204984 admin extra grub-efi_1.97+20091125-2_amd64.deb
 6383c65f7c94ccf31d7d2ecb3b4af5e8 1449252 admin extra grub-common_1.97+20091125-2_amd64.deb
 6996cb70346f2a871a829ebfe51ec32b 660552 admin extra grub-emu_1.97+20091125-2_amd64.deb
 93d1a63a3ba24a93cf6e9a2e9f771143 692442 admin extra grub-pc_1.97+20091125-2_amd64.deb
 5428d050a10f88e0318e944e7e348700 205720 admin extra grub-rescue-pc_1.97+20091125-2_amd64.deb
 8e976e516efef12578170cc180c3a695 486490 admin extra grub-coreboot_1.97+20091125-2_amd64.deb
 18c5865e35e39f8d9d8efaa168bca423 509406 admin extra grub-efi-ia32_1.97+20091125-2_amd64.deb
 f518f2da0339211843ce7ac0f3d2d3c9 562836 admin extra grub-efi-amd64_1.97+20091125-2_amd64.deb
 574945082ba785235132780053db3418 471040 admin extra grub-ieee1275_1.97+20091125-2_amd64.deb
 d700021e62c8358eb710dbcfbb769245 448062 admin extra grub-firmware-qemu_1.97+20091125-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCgAGBQJLEuEiAAoJEH84BcfYL7nIDJYIAJjjBgeqaXOQ9YmnC9cGjOFr
cxUbEqHBIQD2IPpcGUFgqdH+qMqAOrfGr+S2463UmaD93PKZadGtC6agJcMPfcLs
SaWKlJb7dg+ZMHeYa3/YKp2C1oPdbL2SLsuY2iyiJ1xdVshg3HQz7PF1mi+7ngl6
ErqDl5ameC+zCnmHNEwl8GnW9d6gP99bxAJaaOwguD3Hi0+oBPmfu42pJHgZQnf4
F0PQemmToGY3PFlMqjppXzaObXbfntsnZyFCrsxGXn3jtwms+DBjU1plwelAVCv/
RwbApzFOUIRkEcDV3qIkP4obVBr2Xf7znFXoHAfkYnQffTNeSYzw7VGu3oOrgPg=
=mfNM
-----END PGP SIGNATURE-----





Reply sent to Felix Zielcke <fzielcke@z-51.de>:
You have taken responsibility. (Sun, 29 Nov 2009 22:03:18 GMT) (full text, mbox, link).


Notification sent to justbooted <justbooted@yahoo.it>:
Bug acknowledged by developer. (Sun, 29 Nov 2009 22:03:19 GMT) (full text, mbox, link).


Reply sent to Felix Zielcke <fzielcke@z-51.de>:
You have taken responsibility. (Sun, 29 Nov 2009 22:03:19 GMT) (full text, mbox, link).


Notification sent to Vladimir Stavrinov <vs@inist.ru>:
Bug acknowledged by developer. (Sun, 29 Nov 2009 22:03:20 GMT) (full text, mbox, link).


Reply sent to Felix Zielcke <fzielcke@z-51.de>:
You have taken responsibility. (Sun, 29 Nov 2009 22:03:21 GMT) (full text, mbox, link).


Notification sent to Michael Rasmussen <mir@datanom.net>:
Bug acknowledged by developer. (Sun, 29 Nov 2009 22:03:21 GMT) (full text, mbox, link).


Reply sent to Felix Zielcke <fzielcke@z-51.de>:
You have taken responsibility. (Sun, 29 Nov 2009 22:03:22 GMT) (full text, mbox, link).


Notification sent to Vincent Bernat <bernat@debian.org>:
Bug acknowledged by developer. (Sun, 29 Nov 2009 22:03:22 GMT) (full text, mbox, link).


Reply sent to Felix Zielcke <fzielcke@z-51.de>:
You have taken responsibility. (Sun, 29 Nov 2009 22:03:22 GMT) (full text, mbox, link).


Notification sent to Markus Schulz <msc@antzsystem.de>:
Bug acknowledged by developer. (Sun, 29 Nov 2009 22:03:23 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Dec 2009 07:27:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 01:03:07 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.