• 0 Posts
  • 94 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle




  • Anna@lemmy.mltoLinux@lemmy.mlGRUB is confusing
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    6 days ago

    What’s confusing, when x86 initializes it preloads specific address in IP motherboard manufacturer has BIOS there that sets up first 512 bytes. and IP jumps to the new address then it sets up rest of /boot and switches your CPU to real mode up until that point it was in 8bit mode now it is in 16 bit. then jumps to that, now it switches to protected mode I.e. 32bit and loads kernel and initramfs (to solve chicken and egg problem) and then your os boots.

    Throw in cryptsetup and shim and switching to 64 bit somewhere there.