• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Boot Order changed after restore

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    2
    2
    186
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gazzer82
      last edited by

      I have a system that I am booting from a PXELinux USB Stick to do a restore.

      It has 3 internal HDD, and I am selectively only backing up/restore the first one (/dev/sda), by defining it in the client image settings.

      The backup/restore works fine, and as long as I only boot via the USB/Refind then the system works fine.

      However for some reason the process of restoring the system is changing the default boot order and putting the EFI shell as the first device, causing the computer to get stuck on that shell once the PXELinux USB has been removed.

      This doesn’t happen all the time, but regularly enough to be a pain.

      Anyone got any ideas why this might be happening? Or indeed a way we might be able to get around it/modify the boot order manually to be correct. Either as part of the restore process, or once the OS has booted for the first time (Via PXELinux)?

      Thanks

      Gareth

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @gazzer82 You should be able to use the efibootmgr tool if the machine is properly booting in UEFI mode. Please describe in more detail how you boot from USB. One time you say pxelinux (which is really old and not used by FOG since years) and then you say rEFInd…

        If you boot up to a FOS debug shell run efibootmgr, take a picture of the output and post here.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        119

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project