Thread (8 messages) 8 messages, 4 authors, 2016-07-06

Bios , Mbr, Grub

From: Gnoleba GNOGBO <hidden>
Date: 2016-07-06 08:33:53

Hi !

Thanks for your answears.
Can you give le the link where i can find "Understanding the linux system
startup " please ?
Regards

Gnoleba
Le 6 juil. 2016 04:00, "arshad hussain" [off-list ref] a ?crit :
quoted
On 04-Jul-2016, at 2:30 pm, Gnoleba GNOGBO [off-list ref] wrote:

Hi !

I had read a lot of book and link about initialization of the boot
starting of linux.
quoted
I read that , after the post by the bios the mbr is loaded in memory
which routine load this sector ?

This is architecture specific and is done by BIOS.
quoted
In this sector  of 512 bytes we have 440 bytes for a routine what is the
function of this routine ?

Actually its 446 bytes. These are executable code.

16bytes per partition * 4 = 64bytes + (0xAA55) 2 bytes for MBR Marker =
66bytes

512 - 66 = 446 bytes
quoted
When this routine is executed ?
Just after POST. Done by BIOS.
quoted
The 2 bytes with 0xAA55 what is its function ?
Its denotes that the sector is executable. Can also be seen as Marker.
quoted
Who load it in memory ? And the all book i had read said the mbr load
the loader grub How ? And the grub launch the kernel, ok . How this grub is
load ? By which programm ?
quoted
So, i would like that someone give me the names of routines, the order
of their launching and which load or execute what until the grub ex?cution ?

I would suggest work it floppy on qemu/bochs first to understand then
gradually
move on to partition tables and boot loaders.

Read ?Understanding the linux kernel? - System Startup chapter for
thorough understanding.

Thanks.
quoted
Thank you for your help.
Greg i am waiting a lot from you !

Best regards
Gnoleba GNOGBO

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160706/d770e791/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help