-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86392e0
commit 3c3382e
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
reference/dual_boot_multi_disk_linux_image_postInstall_script.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
.. include:: /includes.rst | ||
|
||
-------------------------------------------- | ||
Deploying a Dual-Boot Multi-Disk Linux Image | ||
-------------------------------------------- | ||
|
||
If you create a Multi-Disk image with a dual boot configuration, the efi boot entries will not be maintained automatically when deployed to different hardware | ||
|
||
To Fix this you should create a post-install script to handle it | ||
|
||
See also https://forums.fogproject.org/topic/16703/dual-boot-2-disks-unable-to-boot-grub | ||
|
||
Post-Install Script | ||
=================== | ||
|
||
Post install scripts can be added on the fog server at /images/post-install | ||
|
||
You need to use efibootmgr in a post script to configure the efi boot entries and maintain your dual boot config | ||
|
||
``` | ||
efibootmgr -c -d /dev/nvme0n1 -p 1 -L "Debian" -l "\EFI\debian\shimx64.efi" | ||
``` | ||
|