Package: grub
Version: 0.5.93.1
Severity: normal

I start the grub shell command, and attempt to access the file 
/boot/grub/stage1.  In my example I show using a kernel= line (for
simplicity) but the same thing happens with the install command.

I type kernel=/ TAB and I get a correct list, with the cursor after
the /:

grub> kernel=/
 Possible files are: lost+found usr hurd1 hurd2 boot vmlinuz lib bin sbin etc var 
floppy dev cdrom home initrd mnt proc root tmp vmlinuz.old

grub> kernel=/

Now I type boo TAB TAB and I see:

grub> kernel=/boot/
 Possible files are: boot.b.preserved boot.b chain.b os2_d.b mbr.b chain.b.preserved 
os2_d.b.preserved grub boot.0301 map config-2.2.14 vmlinuz-2.2.14 System.map-2.2.13 
config-2.2.13 vmlinuz-2.2.13 System.map-2.2.14

grub> kernel=/boot/


Now I type gru TAB.  It completes, but with no trailing slash and a space. 
It thinks "grub" is a regular file:

grub> kernel=/boot/grub 

So I hit BS /stage1 RET, and I get:

grub> kernel=/boot/grub/stage1

 Disk read error


Note that the following does not report that sort of error, and the
error it does give indicates it is able to read the file:

grub> kernel=/boot/System.map-2.2.14 

 Invalid or unsupported executable format


-- System Information
Debian Release: 2.2
Kernel Version: Linux aquinas 2.2.14 #1 Sat Feb 12 22:05:58 EST 2000 i686 unknown

Versions of the packages grub depends on:
ii  libc6          2.1.3-5        GNU C Library: Shared libraries and Timezone
ii  libncurses4    4.2-8          Shared libraries for terminal handling

Reply via email to