Bug#556586: xfs bootstrap problem caused of wrong grub-probe
Klaus Ethgen
Klaus at Ethgen.de
Mon Nov 16 23:23:11 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: grub
Version: 0.97-47lenny2
Severity: normal
Tags: patch
When bootstraping grub on a fresh xfs partition will fail caused of
wrong grub-probe (see the patch:
- --- grub-install 2009-01-16 22:26:27.000000000 +0100
+++ grub-install 2009-11-13 20:59:03.167599593 +0100
@@ -371,7 +371,7 @@
sync
# On XFS, sync() is not enough.
- -if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then
+if [ `grub-probe --device-map=${device_map} -t fs ${grubdir}` = "xfs" ] ; then
xfs_freeze -f ${grubdir} && xfs_freeze -u ${grubdir}
# We don't have set -e. If xfs_freeze failed, it's worth trying anyway,
# maybe we're lucky.
- -- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (800, 'stable'), (700, 'oldstable'), (600, 'unstable'), (60, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.10
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub depends on:
ii grub-common 1.96+20080724-16 GRand Unified Bootloader, version
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
grub recommends no packages.
Versions of packages grub suggests:
pn grub-legacy-doc <none> (no description available)
ii mdadm 2.6.7.2-3 tool to administer Linux MD arrays
pn multiboot-doc <none> (no description available)
- -- no debconf information
- --
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEVAwUBSwHe3Z+OKpjRpO3lAQpp8wf/QTaoYsJxt3LbZ+nicVDlirOE9sEGhX4l
grC3wBdWi7sQDBkoeO2vV4VR3dmWalHiFF7SAZAkU0IU/WOIvYiLHpEVCnUihMm9
OYd9nvO3UfcWYaV6ukBNUvLVs92bejHAsA4Xw9ORkSSXZparB93kSxFPBTclT3S0
g3m36+XTa2HqNZ7ImVpIx6HnBrxF0mvT6RF2gwr0ZgBh3yxEro1o00HuO8GzRQhk
20X0vHh5ZxvbmvMMfMWtpU1ZpDpFYfZ4yee5n+/TDuetrjkWYAYzCiuI9ZXXIKS9
LfADzdkktIxdQjXHpx2DyIXrvptUrxjjL1e1ZNybXSdeefp60AgrcQ==
=DUNX
-----END PGP SIGNATURE-----
More information about the Pkg-grub-devel
mailing list