[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-grub] Some GRUB issues (0.5.96.1)
From: |
Jason Thomas |
Subject: |
Re: [Bug-grub] Some GRUB issues (0.5.96.1) |
Date: |
Tue, 12 Jun 2001 16:48:30 +1000 |
User-agent: |
Mutt/1.3.18i |
On Tue, Jun 12, 2001 at 08:23:55AM +0200, Joachim Backes wrote:
> Hi, dear GRUB team,
>
> my platform is RH Linux 7.1, Kernel 2.4.5. My GRUB version is 0.5.96.1.
> GRUB seems to be great (more understandable than LILO), but ...
>
> 1. Having problems to run grub-install (some weird messages):
>
> Input: grub-install --root-directory=/mnt/floppy /dev/fd0
>
> Output:
>
> /usr/local/sbin/grub-install: -e: command not found
> /usr/local/sbin/grub-install: -e: command not found
> expr: non-numeric argument
> /usr/local/sbin/grub-install: -e: command not found
> /usr/local/sbin/grub-install: -e: command not found
> expr: non-numeric argument
here is the fix for that one, it's already fixed in CVS.
--- grub-install.orig Tue Jun 12 16:45:01 2001
+++ grub-install Tue Jun 12 16:45:11 2001
@@ -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*)
>
> GRUB version 0.5.96.1 (640K lower / 3072K upper memory)
>
> [ Minimal BASH-like line editing is supported. For the first word,
> TAB
> lists possible command completions. Anywhere else TAB lists the
> possible
> completions of a device/filename. ]
>
> grub> root(fd0,)
>
> Error 12: Invalid device requested
>
> grub>
>
> setup --stage2=/mnt/floppy/boot/grub/stage2 --prefix=/boot/grub
> (fd0,)
>
> Error 12: Invalid device requested
>
> grub> quit
you don't want to use setup, you want to use install.
>
> Any idea?
>
> 2. The keyboard attached to my PC is a german keyboard. Therefore, during
> booting with GRUB, a lot of keys have another meaning than on US keyboards.
> The "setkey" command can be helpful, but it would be better if a command
> like "setkeytable" would be available, for example:
>
> setkeytable de-latin1 or
> setkeytable de-latin1-nodeadkeys,
>
> which could be in the file /boot/grub/menu.lst, so that the
> keymap is already correct if stage2 is loaded.
>
> Thanx and regards
>
> Joachim Backes
>
> --
>
> Joachim Backes <address@hidden> | Univ. of Kaiserslautern
> Computer Center, High Performance Computing | Phone: +49-631-205-2438
> D-67653 Kaiserslautern, PO Box 3049, Germany | Fax: +49-631-205-3056
> ---------------------------------------------+------------------------
> WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
>
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub
>
>
> _______________________________________________
> bug-grub mailing list
> address@hidden
> http://mail.topic.com.au/cgi-bin/mailman/listinfo/bug-grub
--
Jason Thomas Phone: +61 2 6257 7111
System Administrator - UID 0 Fax: +61 2 6257 7311
tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81
1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/
pgp_zRxpH8f8C.pgp
Description: PGP signature