Sunday, November 29, 2009

Multiboot ( mboot )

Not to boot multiple OS, but to define the protocol between boot loader and OS.
Boot loader can also load lots modules into memory, and info OS to get use of it.
A good use case is for Xen, or other hypervisor, to load additional initramfs.

Grub 2 support mboot
http://www.gnu.org/software/grub/grub-2.en.html

syslinux + mboot.c32
http://syslinux.zytor.com/wiki/index.php/Mboot.c32

Multiboot speification
http://www.gnu.org/software/grub/manual/multiboot/
-> contain detail information about protocol definitions, also piece of code that OS parts may need.

Article about multiboot :
http://onlamp.com/pub/a/bsd/2007/03/01/inside-multiboot.html

Explain some idea about why multiboot been designed. One goal is to have a unify boot loader to load all kind of OS.

不過裡面提到的,BIOS 要 load HD 的第一個 sector 這件事來說。現存的各種 boot loader,也都有能力 load foreign OS 了。所以是不是要搶占這個位置,倒不重要了。

對於 boot loader 怎 load linux 這塊,這兩年搞很熟了,應該補一下關於 load Windows 這塊的知識倒是。

No comments: