Im having some problems with booting linux and i think i dont understand few things.
- What is the grub doing? Is it just loaded into MBR and loading VBRs, or doing more?
- Where in booting chain using grup linux enters protected mode?
I would like to put linux in single partition, and bot it using my own bootloader. Linux can keep its own VBR. How can i do it? I have a linux on HDD, i want to use rest 3 primary partitions (linux is on 4th primary), have myy own MBR and boot linux of my own os from another partition.
- In MBR partition table, is it safe to assume if:
0x08 LBA is 0, wich means LBA field is invalid, as its lowest value can be 1 (sector 1). LBA 0 means sector 1, wich is MBR, partition cant start there.
0x01 CHS bits are all 0, meaning that CHS bits are not supported, so i have to use LBA. CHS 0, means sector 0 and sector 1 is actual 0 so invalid.
Can i assume those? Can chs be all 0 and be valid, or LBA be 0 and still be valid?
Is the CHS addressing limited to 8GB, and is it logical address or physical one? Can i pass CHS directly to int 13h?
I want my mbr work on legacy OS like DOS or windows 9x wich dont know LBA, as well on newest OS wich use LBA. So on old os i use CHS field, will that be ok? Will os use logical CHS, or do some conversions?
|