--- grub.texi 2011-04-18 10:49:48.180220300 +0200 +++ mygrub.texi 2011-04-18 15:48:11.042181500 +0200 @@ -1487,13 +1487,12 @@ reside anywhere on the file system, and After the embedded configuration file (if any) is executed, GRUB will load the @samp{normal} module (@pxref{normal}), which will then read the real -configuration file from @file{$prefix/grub.cfg}. By this point, the +configuration file from @file{$prefix/grub.cfg}. By this point, the @code{root} variable will also have been set to the root device name. For example, @code{prefix} might be set to @samp{(hd0,1)/boot/grub}, and @code{root} might be set to @samp{hd0,1}. Thus, in most cases, the embedded configuration file only needs to set the @code{prefix} and @code{root} -variables, and then drop through to GRUB's normal processing. A typical -example of this might look like this: +variables, and then drop through to GRUB's normal processing. A typical example of this might look like this: @example @group @@ -3089,6 +3088,7 @@ you forget a command, you can run the co * load_env:: Load variables from environment block * loopback:: Make a device from a filesystem image * ls:: List devices or files +* lsmod:: List loaded modules * normal:: Enter normal mode * normal_exit:: Exit from normal mode * parttool:: Modify partition table entries @@ -3098,6 +3098,7 @@ you forget a command, you can run the co * pxe_unload:: Unload the PXE environment * read:: Read user input * reboot:: Reboot your computer +* rmmod:: Remove named module * save_env:: Save variables to environment block * search:: Search devices by file, label, or UUID * sendkey:: Emulate keystrokes @@ -3547,6 +3548,14 @@ name syntax}), then list the contents of @end deffn address@hidden lsmod address@hidden lsmod + address@hidden Command lsmod +List the currently loaded modules. address@hidden deffn + + @node normal @subsection normal @@ -3676,6 +3685,14 @@ Reboot the computer. @end deffn address@hidden rmmod address@hidden rmmod + address@hidden Command rmmod module +Unload/remove the dynamic GRUB module called @var{module}. address@hidden deffn + + @node save_env @subsection save_env