Go to file
okuji 18aa81f206 2004-09-18 Yoshinori K. Okuji <okuji@enbug.org>
Make the source code of the menu interface more readable.

  * normal/menu.c: Include grub/mm.h.
  (TERM_WIDTH): New macro.
  (TERM_HEIGHT): Likewise.
  (TERM_INFO_HEIGHT): Likewise.
  (TERM_MARGIN): Likewise.
  (TERM_SCROLL_WIDTH): Likewise.
  (TERM_TOP_BORDER_Y): Likewise.
  (TERM_LEFT_BORDER_X): Likewise.
  (TERM_BORDER_WIDTH): Likewise.
  (TERM_MESSAGE_HEIGHT): Likewise.
  (TERM_BORDER_HEIGHT): Likewise.
  (TERM_NUM_ENTRIES): Likewise.
  (TERM_FIRST_ENTRY_Y): Likewise.
  (TERM_ENTRY_WIDTH): Likewise.
  (TERM_CURSOR_X): Likewise.
  (draw_border): Use macros instead of magic numbers.
  (print_entry): Likewise.
  (print_entries): Likewise.
  (run_menu): Likewise. Also, handle the key 'e'.
  (run_menu_entry): Ignore empty command lines.
  (print_message): Added a new argument EDIT. If EDIT is true,
  print a different message.
  (init_page): Likewise.
  (edit_menu_entry): New function. Not implemented yet.
2004-09-18 13:42:05 +00:00
boot 2004-09-14 Yoshinori K. Okuji <okuji@enbug.org> 2004-09-14 08:56:51 +00:00
commands 2004-08-24 Marco Gerards <metgerards@student.han.nl> 2004-08-24 20:32:47 +00:00
conf 2004-09-17 Marco Gerards <metgerards@student.han.nl> 2004-09-17 09:36:52 +00:00
disk 2004-08-21 Yoshinori K. Okuji <okuji@enbug.org> 2004-08-21 13:54:22 +00:00
font 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
fs 2004-09-17 Marco Gerards <metgerards@student.han.nl> 2004-09-17 09:36:52 +00:00
hello 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
include/grub 2004-09-17 Marco Gerards <metgerards@student.han.nl> 2004-09-17 09:36:52 +00:00
kern 2004-09-14 Hollis Blanchard <hollis@penguinppc.org> 2004-09-14 21:21:12 +00:00
loader 2004-09-17 Marco Gerards <metgerards@student.han.nl> 2004-09-17 09:36:52 +00:00
normal 2004-09-18 Yoshinori K. Okuji <okuji@enbug.org> 2004-09-18 13:42:05 +00:00
term 2004-09-14 Hollis Blanchard <hollis@penguinppc.org> 2004-09-14 21:21:12 +00:00
util 2004-08-28 Marco Gerards <metgerards@student.han.nl> 2004-08-28 13:14:29 +00:00
.cvsignore Initial revision 2002-12-27 08:53:07 +00:00
AUTHORS 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
COPYING Initial revision 2002-12-27 08:53:07 +00:00
ChangeLog 2004-09-18 Yoshinori K. Okuji <okuji@enbug.org> 2004-09-18 13:42:05 +00:00
INSTALL 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
Makefile.in 2004-08-02 Peter Bruin <pjbruin@dds.nl> 2004-08-02 10:28:11 +00:00
NEWS 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
README 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
THANKS 2004-09-14 Yoshinori K. Okuji <okuji@enbug.org> 2004-09-14 08:56:51 +00:00
TODO Fix out-of-dated information. 2004-08-01 13:19:38 +00:00
aclocal.m4 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
autogen.sh Initial revision 2002-12-27 08:53:07 +00:00
config.guess Initial revision 2002-12-27 08:53:07 +00:00
config.h.in 2003-12-03 Marco Gerards <metgerards@student.han.nl> 2003-12-03 19:17:27 +00:00
config.sub Initial revision 2002-12-27 08:53:07 +00:00
configure 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
configure.ac 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
genkernsyms.sh shinori K. Okuji <okuji@enbug.org> 2004-02-24 17:21:53 +00:00
genmk.rb 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
genmodsrc.sh 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
gensymlist.sh 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
install-sh Initial revision 2002-12-27 08:53:07 +00:00
mkinstalldirs Initial revision 2002-12-27 08:53:07 +00:00
stamp-h.in Initial revision 2002-12-27 08:53:07 +00:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

Because GRUB 2 was formerly developed under the project PUPA, there
remain still many places where PUPA is used instead of GRUB 2. So
suppose that PUPA is a synonym of GRUB 2 for now.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.



Because GRUB 2 is still in developmental stage, GRUB 2 is not for general
use (yet). For now, you can install GRUB 2 into a floppy by these
instructions:

$ configure && make
$ ./grub-mkimage -v -d . -o core.img _chain ext2
$ dd if=boot.img of=/dev/fd0 bs=512 count=1
$ dd if=core.img of=/dev/fd0 bs=512 seek=1

It would be easier to use Bochs <http://bochs.sf.net/> than a real
machine.