kmalloc wrote:
Well, I thought that int 0x13h was a old BIOS interrupt routine to read the drive. LBA is pretty much used. Also, is the master boot record really a disk partition or is the disk partitions is inside of the master boot record? I would like to know.
Int 13h has a number of functions, including a couple of newer ones that support LBA (0x42=read and 0x43=write):
http://wiki.osdev.org/ATA_in_x86_RealMode_%28BIOS%29#LBA_in_Extended_Mode
The master boot record (MBR, the first sector on the hard disk) contains the partition table: a list of the four possible primary partitions on the hard disk, along with various details about them. The partition table only takes up part of the master boot sector. The actual partitions themselves start further into the hard disk, depending on the values that are stored in the MBR's partition table. Different operating systems begin the first partition in different places, some leaving a noticeable gap before the first partition so that special software can be stored in the unpartitioned space and loaded before booting the active partition (Example: LVM2 under Linux). The remaining sectors in the first track of the hard disk, just after the MBR, can also be used for storing the details of extra partitions (partitions #5-64), if I remember correctly.
The MBR is never part of a partition, although it would be possible to make it a part of one, I guess. Not sure why you would want to do that, as you DON'T want your MBR overwritten by other processes.