Update grub2.adoc
* Edit original content * Add new content * Fix asciidoc markup * Modularize
This commit is contained in:
parent
0f5a22920c
commit
15cd9db9b7
21 changed files with 1709 additions and 97 deletions
|
@ -1,9 +1,9 @@
|
|||
= Adding other operating systems to the *GRUB2* menu
|
||||
[[adding-other-operating-systems-to-the-grub-2-menu]]
|
||||
[[adding-other-operating-systems-grub2]]
|
||||
|
||||
Normally, *GRUB2* is preset to boot multiple operating systems during the Fedora installation process. If you can, it is advisable to install non-Linux operating systems first. Then, during the installation process, all those operating systems and their locations will be discovered and properly set.
|
||||
|
||||
Sometimes, however, you cannot use this approach and you will have to create the bootloader configuration file again to enable it to boot more operating systems.
|
||||
Adding other records into the *GRUB2* menu only means to run `grub2-mkconfig` command to regenerate the configuration files. During this process, all operating systems known to the system will be added into the configuration. By reinstalling *GRUB2* into the MBR, this configuration will be used for further boots.
|
||||
|
||||
.Before you start
|
||||
|
||||
|
@ -12,18 +12,19 @@ Sometimes, however, you cannot use this approach and you will have to create the
|
|||
|
||||
.Procedure
|
||||
|
||||
. Install *GRUB2* into the MBR of your primary hard disk.
|
||||
+
|
||||
----
|
||||
$ sudo grub2-install /dev/sda
|
||||
----
|
||||
|
||||
. Recreate the *GRUB2* configuration file.
|
||||
+
|
||||
----
|
||||
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
----
|
||||
|
||||
. Install *GRUB2* into the MBR of your primary hard disk.
|
||||
+
|
||||
----
|
||||
$ sudo grub2-install /dev/sda
|
||||
----
|
||||
|
||||
|
||||
.More information
|
||||
* The `grub2-mkconfig` command will add entries for all operating systems it can find.
|
||||
* When problems appear, see the link:http://www.gnu.org/software/grub/manual/grub.html#Multi_002dboot-manual-config[GRUB manual] to solve issues with booting secondary operating systems.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue