GNU Info

Info Node: (grub.info)Loading an operating system directly

(grub.info)Loading an operating system directly


Next: Chain-loading Up: General boot methods
Enter node , (file) or (file)node

How to boot an OS directly with GRUB
------------------------------------

   Multiboot (Note: Multiboot Specification.) is the
native format supported by GRUB.  For the sake of convenience, there
are also support for Linux, FreeBSD, NetBSD and OpenBSD. If you want to
boot other operating systems, you will have to chain-load them (Note:
Chain-loading).

   Generally, GRUB can boot any Multiboot-compliant OS in the following
steps:

  1. Set GRUB's root device to the drive where the OS images are stored
     by the command `root' (Note: root).

  2. Load the kernel image by the command `kernel' (Note: kernel).

  3. If you need modules, load them with the command `module' (Note:
     module) or `modulenounzip' (Note: modulenounzip).

  4. Run the command `boot' (Note: boot).

   Linux, FreeBSD, NetBSD and OpenBSD can be booted in a similar
manner. You can load a kernel image by the command `kernel' and then
run the command `boot'. If the kernel requires some parameters, just
append the parameters to `kernel', after the file name of the kernel.
Also, please refer to Note: OS-specific notes, for the information on
your OS-specific issues.


automatically generated by info2www version 1.2.2.9