mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
Updated partial proc_booting-with-configfile-on-different-partition.adoc (#522)
This commit is contained in:
parent
a49f93a460
commit
a00ca7d52a
1 changed files with 17 additions and 9 deletions
|
@ -2,31 +2,39 @@
|
|||
= Booting the system using a configuration file on a 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:
|
||||
partition, as is often the case with multi-boot systems containing Ubuntu and Fedora. Follow the below procedure
|
||||
if you need to boot from a configuration file on a different partition.
|
||||
|
||||
.Procedure
|
||||
|
||||
. Load necessary modules to read the partitions.
|
||||
. Load the necessary modules to read your system's partitions (you will also need to load `part_msdos` or `part_gpt`, depending on your partition table).
|
||||
+
|
||||
* For BTRFS filesystems:
|
||||
+
|
||||
----
|
||||
insmod part_msdos
|
||||
insmod xfs
|
||||
insmod lvm
|
||||
grub> insmod btrfs
|
||||
----
|
||||
+
|
||||
* For LVM filesystems:
|
||||
+
|
||||
----
|
||||
grub> insmod xfs
|
||||
grub> insmod lvm
|
||||
----
|
||||
|
||||
. Set the root partition.
|
||||
. Set *GRUB2* root to your `/boot` partition. On UEFI systems, you should set *GRUB2* root to the EFI system partition.
|
||||
+
|
||||
----
|
||||
set root='hd0,msdos1'
|
||||
grub> set root=(hd0,msdos1)
|
||||
----
|
||||
|
||||
. Set the path to the configuration file.
|
||||
+
|
||||
----
|
||||
configfile /grub2/grub.cfg
|
||||
grub> 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.
|
||||
* 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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue