bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#98750: grub: /usr/sbin/grub-install: -e: command not found


From: Josh Wilmes
Subject: Bug#98750: grub: /usr/sbin/grub-install: -e: command not found
Date: Fri, 25 May 2001 20:18:35 -0700

Package: grub
Version: 0.5.96.1-0.1
Severity: important

I get these errors when i run grub-install as follows:

address@hidden:~% sudo grub-install /dev/sda
/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.
This is the contents of the device map /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
address@hidden:~% 

The errors are here:

        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%'
                                 -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'
;;


I believe that all is needed is a "\" at the end of those lines.


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux galactic 2.2.18 #1 SMP Sat Jan 6 20:37:33 PST 2001 i686 
unknown

Versions of the packages grub depends on:
ii  libc6          2.2.3-1        GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.2.20010318-1 Shared libraries for terminal handling




reply via email to

[Prev in Thread] Current Thread [Next in Thread]