Go to file
okuji 5709cfc4d1 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org>
Make the format of Environment Block plain text. The boot loader
    part is not tested well yet.
    
    * util/grub-editenv.c (DEFAULT_ENVBLK_SIZE): New macro.
    (buffer): Removed.
    (envblk): Likewise.
    (usage): Remove "info" and "clear". Add "unset". Update the
    description of "set", as this does not delete variables any
    longer.
    (create_envblk_file): Complete rewrite.
    (open_envblk_file): Likewise.
    (cmd_info): Removed.
    (cmd_list): Likewise.
    (cmd_set): Likewise.
    (cmd_clear): Likewise.
    (list_variables): New function.
    (write_envblk): Likewise.
    (set_variables): Likewise.
    (unset_variables): Likewise.
    (main): Complete rewrite.

    * commands/loadenv.c (buffer): Removed.
    (envblk): Likewise.
    (open_envblk_file): New function.
    (read_envblk_file): Complete rewrite.
    (grub_cmd_load_env): Likewise.
    (grub_cmd_list_env): Likewise.
    (struct blocklist): New struct.
    (free_blocklists): New function.
    (check_blocklists): Likewise.
    (write_blocklists): Likewise.
    (grub_cmd_save_env): Complete rewrite.

    * include/grub/lib/envblk.h (GRUB_ENVBLK_SIGNATURE): Replaced with
    a plain text signature.
    (GRUB_ENVBLK_MAXLEN): Removed.
    (struct grub_envblk): Complete rewrite.
    (grub_envblk_find): Removed.
    (grub_envblk_insert): Likewise.
    (grub_envblk_open): New prototype.
    (grub_envblk_set): Likewise.
    (grub_envblk_delete): Put const to VALUE.
    (grub_envblk_iterate): Put const to NAME and VALUE.
    (grub_envblk_close): New prototype.
    (grub_envblk_buffer): New inline function.
    (grub_envblk_size): Likewise.

    * lib/envblk.c: Include grub/mm.h.
    (grub_env_find): Removed.
    (grub_envblk_open): New function.
    (grub_envblk_close): Likewise.
    (escaped_value_len): Likewise.
    (find_next_line): Likewise.
    (grub_envblk_insert): Removed.
    (grub_envblk_set): New function.
    (grub_envblk_delete): Complete rewrite.
    (grub_envblk_iterate): Likewise.
2009-03-28 19:58:15 +00:00
boot/i386/pc 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
bus 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
commands 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
conf 2009-03-28 Robert Millan <rmh@aybabtu.com> 2009-03-28 12:53:16 +00:00
disk 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
docs 2008-08-13 Robert Millan <rmh@aybabtu.com> 2008-08-13 16:59:12 +00:00
font 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
fs 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 07:35:04 +00:00
hello 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
hook 2008-08-15 Bean <bean123ch@gmail.com> 2008-08-15 15:39:02 +00:00
include 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
io 2008-08-01 Bean <bean123ch@gmail.com> 2008-08-01 04:06:55 +00:00
kern 2009-03-28 Robert Millan <rmh@aybabtu.com> 2009-03-28 12:53:16 +00:00
lib 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
loader 2009-03-28 Robert Millan <rmh@aybabtu.com> 2009-03-28 12:53:16 +00:00
normal 2009-03-22 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-22 10:05:31 +00:00
partmap 2009-03-04 Felix Zielcke <fzielcke@z-51.de> 2009-03-04 12:45:41 +00:00
term 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
util 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
video 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
AUTHORS 2005-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2005-09-03 16:54:27 +00:00
COPYING 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
ChangeLog 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
DISTLIST 2009-03-22 Vladimir Serbinenko <phcoder@gmail.com> 2009-03-22 12:28:00 +00:00
INSTALL 2009-02-01 Felix Zielcke <fzielcke@z-51.de> 2009-02-01 16:17:32 +00:00
Makefile.in 2009-03-04 Robert Millan <rmh@aybabtu.com> 2009-03-04 22:00:41 +00:00
NEWS 2008-09-29 Felix Zielcke <fzielcke@z-51.de> 2008-09-29 15:50:27 +00:00
README Update the URL of the wiki. 2006-04-02 08:59:23 +00:00
THANKS 2007-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2007-09-03 20:33:20 +00:00
TODO 2008-01-07 Robert Millan <rmh@aybabtu.com> 2008-01-07 19:21:34 +00:00
aclocal.m4 2009-03-22 Pavel Roskin <proski@gno.org> 2009-03-22 00:31:30 +00:00
autogen.sh 2008-09-21 Felix Zielcke <fzielcke@z-51.de> 2008-09-21 16:39:28 +00:00
config.guess 2009-01-19 Robert Millan <rmh@aybabtu.com> 2009-01-19 12:33:07 +00:00
config.h.in 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
config.sub 2009-01-19 Robert Millan <rmh@aybabtu.com> 2009-01-19 12:33:07 +00:00
configure 2009-03-29 Yoshinori K. Okuji <okuji@enbug.org> 2009-03-28 19:58:15 +00:00
configure.ac 2009-03-22 Pavel Roskin <proski@gno.org> 2009-03-22 00:31:30 +00:00
gencmdlist.sh 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
gendistlist.sh 2009-02-14 Christian Franke <franke@computer.org> 2009-02-14 16:02:12 +00:00
genfslist.sh 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
geninit.sh 2007-07-22 Robert Millan <rmh@aybabtu.com> 2007-07-22 19:17:27 +00:00
geninitheader.sh 2007-07-22 Robert Millan <rmh@aybabtu.com> 2007-07-22 19:17:27 +00:00
genkernsyms.sh.in 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
genmk.rb 2009-03-24 Pavel Roskin <proski@gnu.org> 2009-03-24 14:01:23 +00:00
genmoddep.awk 2006-05-29 Yoshinori K. Okuji <okuji@enbug.org> 2006-05-28 23:01:43 +00:00
genmodsrc.sh 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
genpartmaplist.sh 2008-08-22 Bean <bean123ch@gmail.com> 2008-08-23 14:20:45 +00:00
gensymlist.sh.in 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
install-sh 2008-03-01 Yoshinori K. Okuji <okuji@enbug.org> 2008-03-01 17:27:51 +00:00
mkinstalldirs 2006-06-04 Yoshinori K. Okuji <okuji@enbug.org> 2006-06-04 12:59:19 +00:00
stamp-h.in Initial revision 2002-12-27 08:53:07 +00:00

README

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.

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>.

For now, there is not much documentation yet. Please look at the GRUB
Wiki <http://grub.enbug.org> for testing procedures.