Skip to content

Commit

Permalink
#8 started work on this page
Browse files Browse the repository at this point in the history
  • Loading branch information
darksidemilk committed Feb 25, 2023
1 parent 86392e0 commit 3c3382e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions reference/dual_boot_multi_disk_linux_image_postInstall_script.rst
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"
```

0 comments on commit 3c3382e

Please sign in to comment.