The questions are numbered 1 - 3...
Quote from one of the old answers to one of my question:
"In general, the BIOS will look at the MBR for an active partition, then load the VBR for that partition and pass control to the boot code from that VBR. There are a few exceptions -- if you're using a multi-boot loader, it will generally be loaded in the MBR, and IT (rather than the BIOS) will pass control to the appropriate VBR after you've selected which OS to boot."
Based on the quotation above, once the active partition is found, BIOS loads the VBR along with the initial boot code. Once VBR + Boot Code is loaded, BIOS passes control to that boot code inside the VBR.
1. I thought every primary partition has its own VBR and the BIOS just loads the boot code in the active partition. I didn't know that the BIOS loads the Boot Code along with VBR. Can you please clarify, i might not read the quotation well or i had some misconceptions.
2. After BIOS passes control where does BIOS go? When BIOS does all this things, from where does it do it? From RAM or ROM. I read somewhere said that after BIOS does its job, it unloads itself. ROM is firmware, BIOS can't unload itself from there. Can you please clarify.
"There are a few exceptions -- if you're using a multi-boot loader, it will generally be loaded in the MBR, and IT (rather than the BIOS) will pass control to the appropriate VBR after you've selected which OS to boot"
If my system is multi-boot, BIOS will load the VBR as well as the boot code into the MBR instead of active partition. Ok this part confuses me:
"IT (rather than the BIOS) will pass control to the appropriate VBR after you've selected which OS to boot""
3. MBR will pass control to the appropriate VBR? Based on the previous quotation I think this should be written as: MBR will load the VBR + boot code into partition that has OS you wanted to boot with. Any idea?
I hope my questions are clear enough.
Thanks