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

Issue with FOG Deployment - Disk Not Bootable After Deployment (Debian 12)

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
5
145
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.
  • D
    DzOnizuka
    last edited by Dec 11, 2024, 10:12 PM

    Hello,

    I’m currently facing an issue with FOG when deploying a Debian 12 image to a target machine. Here’s the situation:

    1. I captured the image of the source machine using FOG with Partclone as the imaging tool.

    2. The image deployment to the target machine completes without errors.

    3. However, after deployment, the target machine is not bootable. It seems the bootloader (GRUB) is not correctly configured or missing. It boots from the FOG menu when I choose to boot from the HDD, but it seems like some kind of live boot because when I reboot, it is no longer possible to boot from the HDD. I have tried several actions in the BIOS/UEFI menu.

    I suspect the problem lies in Partclone not handling the bootloader (GRUB) installation properly during the image deployment process, especially in an EFI/UEFI environment.

    Verified the mode of boot (UEFI/Legacy) is consistent on both source and target machines.

    My questions are:

    1. Is there a way to configure FOG to properly handle GRUB during deployment, especially for UEFI systems?

    2. Would switching the imaging tool in FOG from Partclone to DD help in this case, or is there another recommended approach?

    3. Can a post-deployment script be used in FOG to automate GRUB reinstallation? If so, how can this be implemented effectively?

    I’d appreciate any guidance or solutions for this issue, especially tips to ensure a seamless bootloader setup after deployment.

    Thank you in advance for your help!

    T 1 Reply Last reply Dec 12, 2024, 11:36 AM Reply Quote 0
    • T
      Tom Elliott @DzOnizuka
      last edited by Dec 12, 2024, 11:36 AM

      @DzOnizuka I dont think it’s grub specifically but rather the fstab.

      Debian, and Ubuntu, tend to set the /etc/fstab to use the drive’s UUID to indicate which drive to load the OS from. I’ll bet if your drive layouts are consistent at least (like for like) if your replace the uuid and point specifically at the device name (/dev/sda1, /dev/sdb2 etc…) things would work perfectly fine.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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

      D 1 Reply Last reply Dec 12, 2024, 2:10 PM Reply Quote 0
      • D
        DzOnizuka @Tom Elliott
        last edited by DzOnizuka Dec 12, 2024, 8:11 AM Dec 12, 2024, 2:10 PM

        @Tom-Elliott Thanks for your reply. Should I disable the “Reproduce ?” in the image options?

        T 1 Reply Last reply Dec 12, 2024, 5:55 PM Reply Quote 0
        • T
          Tom Elliott @DzOnizuka
          last edited by Dec 12, 2024, 5:55 PM

          @DzOnizuka No you’d have to change your OS /etc/fstab to use the device names over the UUID’s.

          Otherwise what you’re capturing is an FSTAB of the “golden” machine, then putting it on a different machine, who’s UUIDs are not the same thing.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          D 1 Reply Last reply Dec 13, 2024, 8:46 AM Reply Quote 0
          • D
            DzOnizuka @Tom Elliott
            last edited by Dec 13, 2024, 8:46 AM

            @Tom-Elliott Thank you Tom. I change the UUID’s by the devices names on the /etc/fstab on the “golden” machine before I capture a new image and I redeploy it, but apparently it doesn’t change anything

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

            216

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project