All of lore.kernel.org
 help / color / mirror / Atom feed
* My implementation of the grub2 boot rom
@ 2007-12-02 20:19 Bean
  2009-08-23 12:09 ` Robert Millan
  0 siblings, 1 reply; 2+ messages in thread
From: Bean @ 2007-12-02 20:19 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

Hi,

I've written my own code for grub2 boot rom, the steps are:

1, Use make to compile romboot.S and grub-mkrom.c, it will generate
romboot.img and grub-mkrom.
2, Create kernel image core.img with grub-mkimage
3, Create rom image with grub-mkrom, like this:

grub-mkrom romboot.img core.img output_file

grub-mkrom support the following options:

 -m message         Boot message
 -t timeout            Timeout in seconds
 -k key                Hotkey
 -x edx                Value of EDX

default hotkey is SPACE, default timeout is 2 seconds.

The new code is much smaller than the romos version (only 240 bytes),
and it runs grub2 after POST, so that int 13 can be used to access the
disk.

-- 
Bean

[-- Attachment #2: romgrub.zip --]
[-- Type: application/zip, Size: 6010 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-23 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-02 20:19 My implementation of the grub2 boot rom Bean
2009-08-23 12:09 ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.