GRUB2 limits number of sectors read at once in LBA mode to the
number reported in CHS disk geometry by BIOS.
This is unnecessary, as IBM/MS INT13 Extensions does not have
such limit and it is safe to read up to 127 sectors in a single call.

This fixes greatly increased boot times on WYSE C10LE x86 thin
client with Phoenix bios.

See: 
https://lore.kernel.org/grub-devel/d42a11fa-2a59-b5e7-08b1-d2c60444b...@valdikss.org.ru/

ValdikSS (2):
  disk: read up to 63 sectors in LBA mode
  disk: increase sector size up to 127 for LBA reads

 grub-core/disk/i386/pc/biosdisk.c | 5 ++++-
 include/grub/disk.h               | 7 +++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

-- 
2.41.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to