<p dir="ltr">Hi !</p>
<p dir="ltr">Thanks for your answears. <br>
Can you give le the link where i can find "Understanding the linux system startup " please ?<br>
Regards</p>
<p dir="ltr">Gnoleba </p>
<div class="gmail_quote">Le 6 juil. 2016 04:00, "arshad hussain" <<a href="mailto:arshad.super@gmail.com">arshad.super@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On 04-Jul-2016, at 2:30 pm, Gnoleba GNOGBO <<a href="mailto:gnognoleba@gmail.com">gnognoleba@gmail.com</a>> wrote:<br>
><br>
> Hi !<br>
><br>
> I had read a lot of book and link about initialization of the boot starting of linux.<br>
><br>
> I read that , after the post by the bios the mbr is loaded in memory which routine load this sector ?<br>
<br>
This is architecture specific and is done by BIOS.<br>
<br>
> In this sector of 512 bytes we have 440 bytes for a routine what is the function of this routine ?<br>
<br>
Actually its 446 bytes. These are executable code.<br>
<br>
16bytes per partition * 4 = 64bytes + (0xAA55) 2 bytes for MBR Marker = 66bytes<br>
<br>
512 - 66 = 446 bytes<br>
<br>
> When this routine is executed ?<br>
<br>
Just after POST. Done by BIOS.<br>
<br>
> The 2 bytes with 0xAA55 what is its function ?<br>
<br>
Its denotes that the sector is executable. Can also be seen as Marker.<br>
<br>
> 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 ?<br>
> 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 ?<br>
<br>
I would suggest work it floppy on qemu/bochs first to understand then gradually<br>
move on to partition tables and boot loaders.<br>
<br>
Read “Understanding the linux kernel” - System Startup chapter for thorough understanding.<br>
<br>
Thanks.<br>
<br>
><br>
> Thank you for your help.<br>
> Greg i am waiting a lot from you !<br>
><br>
> Best regards<br>
> Gnoleba GNOGBO<br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
</blockquote></div>