Hard Disk Sizing
Hard Disk Sizing
(OP)
Hai All ,
I am having a basic doubt in Harddisk Sizing. When a new Harddisk is connected to the computer, How the size of the Harddisk is calculated? Or the size of the Harddisk is stored anywhere in the Harddisk itself..
With regards
Sivasakthivel
I am having a basic doubt in Harddisk Sizing. When a new Harddisk is connected to the computer, How the size of the Harddisk is calculated? Or the size of the Harddisk is stored anywhere in the Harddisk itself..
With regards
Sivasakthivel
RE: Hard Disk Sizing
Practically any information you would ever need about a formatted disk can be found in the boot record. It can be accessed with a simple call to Interrupt 13h, function 2h.
Do your research at http://www.ctyme.com/rbrown.htm (Ralf Brown's Interrupt List). You'll find many pages of tables, etc. relating to data stored in the boot record.
Take the usual precautions: always experiment on a drive that you won't mind reformatting.
A plain black box
Don't sit down. It's time to dig another one.
RE: Hard Disk Sizing
I have got the Ralf Browns Interrupt list. And I saw the Int 41h. The vector does not point a routine. It points a table. The table has info about the number of cylynders, number of heads etc. It does not have info related to the size.
And one more thing. The BIOS only has to the fill the table info . How the BIOS get the info?
with regards
Siva
RE: Hard Disk Sizing
Does anybody know a more direct way to do this?
A plain black box
Don't sit down. It's time to dig another one.
RE: Hard Disk Sizing
To change the values in the CMOS you have to press <DEL> at startup (or <F1> or <ESC> or you have to restart the machine with <Ctrl-Alt-ESC> or <Ctrl-Alt-Enter>).
The harddidsk specific information you will find in its documentations (sometimes it is written somewhere on the disk itself, but then you'll need to open your computer).
Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
www.geocities.com/thevhbcompany/index.html
Don't worry what people think about you. They're too busy wondering what you think about them.