I've fixed a bug in stage1 that GRUB cannot boot from any floppy drive but the first drive. However, I found another bug that is not fixed yet. In the bootloop, a start C/H/S is calculated by dividing a logical sector by the number of sectors and the number of heads. But stage1 uses word-size div instructions, so the maximum sizes of the quotients are 2^16 - 1. That means GRUB cannot load stage2 (or stage1.5) from any >4128705 block (4128705 block is less than 2GB). Ideally, GRUB should boot from <8GB blocks even in CHS mode, so this problem should be fixed, though that will make stage1's code a bit larger... Any help is welcome. Thanks, OKUJI ---------------------------------------------------------------------- OKUJI Yoshinori <[EMAIL PROTECTED]> ^o-o^ http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English) m /
