Page 1 of 1
Will GRUB (legacy) corrupt BIOS data
Posted: Wed Feb 25, 2015 9:13 am
by songziming
I use GRUB Legacy to boot my kernel, and my kernel use information from BIOS data area. So I just wonder will GRUB corrupt the content of the BIOS data area, since GRUB need space for itself and the kernel it's loading.
Re: Will GRUB (legacy) corrupt BIOS data
Posted: Wed Feb 25, 2015 10:01 am
by Brendan
Hi,
songziming wrote:I use GRUB Legacy to boot my kernel, and my kernel use information from BIOS data area. So I just wonder will GRUB corrupt the content of the BIOS data area, since GRUB need space for itself and the kernel it's loading.
The multi-boot specification states that the boot loader must leave the firmware in a usable state (e.g. so that the OS can return to real mode and use the BIOS). This mostly means GRUB should not corrupt the BIOS data area (if the OS uses multi-boot).
Cheers,
Brendan