Menu

How to mass deploy Debian with UEFI

adfc
2014-11-21
2014-11-25
  • adfc

    adfc - 2014-11-21

    Hello.

    I have a software image that I want to mass deploy on many UEFI computers (all computers are EQUAL in terms of hardware).

    System being captured:
    Debian 7 amd64 based distribution
    UEFI activated
    HDD with MBR partition layout

    To install GRUB with UEFI support I ran:
    apt-get install grub-efi
    grub-install /dev/sda --bootloader-id=Linux

    I can capture and deploy the image by using CZ 2.2.3-25-amd64 in UEFI mode without any issues.
    But after system restore, GRUB doesn't load and shows me:


    GRUB loading.
    error: file not found.
    Entering rescue mode...
    grub rescue> _


    I know how to fix this, but applying a fix one-by-one is impossible in Mass Deployment.
    The software image is being applied by HDD duplicators.

    Is there anyway I can reconstruct and apply the MASTER software image directly, without needing to rebuild GRUB and recreating the bootloader-id on every computer?

    Thanks.

     

    Last edit: adfc 2014-11-21

Log in to post a comment.