mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-12-01 07:39:48 +00:00
Lukas Ruzicka
15cd9db9b7
* Edit original content * Add new content * Fix asciidoc markup * Modularize
32 lines
899 B
Text
32 lines
899 B
Text
= Booting the system using a configuration file on a different partition.
|
|
[[booting-with-configfile-on-different-partition]]
|
|
|
|
If you end up in *GRUB2* boot prompt, it is also possible to boot using a _configfile_ that's located on another
|
|
partition, as is often the case with multi-boot systems containing Ubuntu and Fedora. To boot the system using a configuration files on a different partition:
|
|
|
|
.Procedure
|
|
|
|
. Load necessary modules to read the partitions.
|
|
+
|
|
----
|
|
insmod part_msdos
|
|
insmod xfs
|
|
insmod lvm
|
|
----
|
|
|
|
. Set the root partition.
|
|
+
|
|
----
|
|
set root='hd0,msdos1'
|
|
----
|
|
|
|
. Set the path to the configuration file.
|
|
+
|
|
----
|
|
configfile /grub2/grub.cfg
|
|
----
|
|
|
|
.More information
|
|
* The *hd0,msdos1* line shows the pertinent _boot_ partition, which holds the
|
|
`grub.cfg` file. The setting may be different on your system. See also xref:using-grub2-prompt[Using the GRUB2 boot prompt] for more information.
|
|
|