Bug#239111: your mail

martin f krafft martin f krafft <madduck@debian.org>, 239111@bugs.debian.org
Thu, 17 Jun 2004 23:11:45 +0200


--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 239111 + patch
tags 246111 + patch
tags 243835 + patch
thanks

> 4. When grub installs, it displays a notice that it may take a long
>    time in text mode. I think this should also be displayed by d-i
>    so as to not confuse users.
>=20
> 5. Grub actually doesn't install. It hangs at 50% of 'grub-install
>    (hd0)'. The console says it's probing BIOS drives. And it has
>    been for 20 minutes...
>=20
>    NOTE: This seems to be related to XFS and is a known bug in Grub.
>    Killing grub-install from the console and restarting it from the
>    menu does the trick.

The following patch seems to fix this by calling sync just before
invoking the grub shell:

--- grub-install.orig   2004-06-17 23:05:52.000000000 +0200
+++ grub-install        2004-06-17 23:11:20.000000000 +0200
@@ -446,6 +446,10 @@
 # Create a safe temporary file.
 test -n "$mklog" && log_file=3D`$mklog`
=20
+# Sync the filesystem to help XFS (and possibly others) to find the
+# stageX files (see Debian bugs #239111, #246111, #243835)
+/bin/sync
+
 # Now perform the installation.
 $grub_shell --batch $no_floppy --device-map=3D$device_map <<EOF >$log_file
 root $root_drive

Cheers,

--=20
Please do not CC me when replying to lists; I read them!
=20
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
=20
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFA0gkRIgvIgzMMSnURArtEAJ9c03+HMEwGiMxWDHIYURhX4c2wYgCgpR/k
36hk3kuEct+3WOkaxeGV450=
=Qfnn
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--