[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BIOS int13/48h does not return the right physical sector count...
From: |
Yoshinori K. Okuji |
Subject: |
Re: BIOS int13/48h does not return the right physical sector count... |
Date: |
Sun, 24 Mar 2002 20:23:15 +0900 |
User-agent: |
Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (UnebigoryĆmae) APEL/10.3 Emacs/21.1 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) |
At Fri, 22 Mar 2002 09:39:22 +0100,
Jean-Jacques Michel wrote:
> - Can you rely on the information given by int13/48h : it should be the
> number of PHYSICAL sectors
> on the disk, but it gives the number of sectors that you can access
> using a CHS addressing scheme.
Does the interrupt return a valid value in your environment? Because
some bogus BIOSes just return zero as a total number, GRUB calculates
it based on C/H/S values, if your BIOS returns zero.
Okuji