After
tar xvfz grub-0.5.96.1.tar.gz
cd grub-0.5.96.1
./configure
make
make install
the command
grub-install --root-directory=/boot /dev/hda
gives error messages
grub-install: -e: command not found
And indeed, grub-install contains the code
# 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%'
-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%'`
;;
that tries to invoke the command -e.
Probably my shell is too old or too new, but in any case
it would be better to end the sed lines with \ and avoid
this problem.
Andries
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub