[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#75333: grub-install: -e: command not found
From: |
Björn Torkelsson |
Subject: |
Bug#75333: grub-install: -e: command not found |
Date: |
Sun, 22 Oct 2000 13:31:12 +0200 |
Package: grub
Version: 0.5.96.1
Severity: normal
When running grub-install I get the following errors:
/usr/sbin/grub-install: -e: command not found
/usr/sbin/grub-install: -e: command not found
/usr/sbin/grub-install: -e: command not found
/usr/sbin/grub-install: -e: command not found
Installation finished. No error reported.
The following patch solves the problem:
--- grub-install.orig Sun Oct 22 13:23:58 2000
+++ grub-install Sun Oct 22 13:28:26 2000
@@ -76,9 +76,9 @@
# Break the device name into the disk part and the partition part.
case "$host_os" in
linux*)
- tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%'
+ tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
-e 's%/part[0-9]*$%/disc%'`
- tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%'
+ tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'`
;;
gnu*)
/torkel
-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux pip 2.2.17 #1 Mon Oct 2 14:15:59 CEST 2000 i686
Versions of packages grub depends on:
ii libc6 2.1.95-1 GNU C Library: Shared libraries an
ii libncurses5 5.0-7 Shared libraries for terminal hand
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug#75333: grub-install: -e: command not found,
Björn Torkelsson <=