Bug#515757: grub-install warning: /usr/sbin/grub-install: line 374: [: =: unary operator expected

Andrei Emeltchenko andrei.emeltchenko.news at gmail.com
Tue Feb 17 13:44:02 UTC 2009


Package: grub
Version: 0.97-47lenny2
Severity: minor


niko at niko:mnt$ LANG=C sudo grub-install --recheck --root-directory=/mnt/flash /dev/sdb
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your device.map.

/usr/sbin/grub-install: line 374: [: =: unary operator expected
Installation finished. No error reported.
This is the contents of the device map /mnt/flash/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)	/dev/fd0
(hd0)	/dev/sda
(hd1)	/dev/sdb

Best regards 
Andrei Emeltchenko 


-- Package-specific info:

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

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

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)
pn  mdadm                         <none>     (no description available)
pn  multiboot-doc                 <none>     (no description available)

-- no debconf information





More information about the Pkg-grub-devel mailing list