The sed lines in grub-install get broken into two lines, leaving lots
of error messages. Here is the two-character patch ;)
Matthias
--- grub/util/grub-install.in 2000/10/15 18:24:58 1.22
+++ grub/util/grub-install.in 2000/10/21 06:32:05
@@ -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*)
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub