Re: Bios , Mbr, Grub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <arshad.super@xxxxxxxxx> a écrit :

> On 04-Jul-2016, at 2:30 pm, Gnoleba GNOGBO <gnognoleba@xxxxxxxxx> wrote:
>
> Hi !
>
> I had read a lot of book and link about initialization of the boot starting of linux.
>
> 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.

> 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

> When this routine is executed ?

Just after POST. Done by BIOS.

> The 2 bytes with 0xAA55 what is its function ?

Its denotes that the sector is executable. Can also be seen as Marker.

> 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 ?
> 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.

>
> Thank you for your help.
> Greg i am waiting a lot from you !
>
> Best regards
> Gnoleba GNOGBO
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux