Bug#683890: grub: GRUB on Debian Installer 2012-08-05 AMD64 fails due to syntax error

Frederik Schwarzer schwarzerf at gmail.com
Sun Aug 5 07:37:50 UTC 2012


Package: grub-common
Version: 1.99-22.1
Severity: normal
File: grub

Dear Maintainer,

   * What led up to the situation?

I installed Debian from the following iso on an UEFI Thinkpad T430:
http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/daily-builds/sid_d-i/20120805-1/amd64/iso-cd/
(I know that it's an inofficial image, but I did not have the time to
check with the official media.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I ran the installer from a USB stick.

   * What was the outcome of this action?

The GRUM install part throws an error tahat it could not be installed in
the MBR. The error console (F4) told me that there was a syntax error in
/usr/bin/grub-installer at line 45.
Looking at that file indeed showed a missing "then" in an "if"
statement. Adding that "then" and just rerunning the GRUB step of the
installer worked for me.

Regards



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

Kernel: Linux 3.2.20-rt32-fs (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  gettext-base        0.18.1.1-9
ii  libc6               2.13-35
ii  libdevmapper1.02.1  2:1.02.74-4
ii  libfreetype6        2.4.9-1
ii  libfuse2            2.9.0-5
ii  zlib1g              1:1.2.7.dfsg-13

Versions of packages grub-common recommends:
pn  os-prober  <none>

Versions of packages grub-common suggests:
pn  desktop-base   <none>
pn  grub-emu       <none>
pn  multiboot-doc  <none>
pn  xorriso        <none>

-- no debconf information



More information about the Pkg-grub-devel mailing list