Discussion:
Question about the boot protocol
(too old to reply)
Sherry Zhang(BJ-RD)
2018-08-30 06:25:24 UTC
Permalink
Hi all,
Recently I have learned the grub2.02 source code.
Legacy BIOS
Target=I386-pc
Linux kernel Documents/x86/boot.txt :

(1) 16-bit boot protocol

(2) 32-bit boot protocol:

(3) 64-bit boot protocol: 64-bit cpu/kernel/bootloader
Some questions about it.

Question 1: How do I check that grub2 is 16-bit, 32-bit or 64-bit?

Question 2: How do I see which boot protocol is adopted?

Question 3: What the different about efi-kernel?
Question 4: linux /boot/bzImage
The code for the protection mode was copied to 0x100000, and I found through debugging that it was the virtual address, and the physical address was 0x1000000, while the value of the bzImage header code32_start at 0x214/4 is 0x100000, is the value the physical address ?
And what the relationships between code32_start at 0x214/4 and pref_address at 0258/8?

Best regards,
Sherry Zhang


?????
?????????????????????????????????????????????????????
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
Continue reading on narkive:
Loading...