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

[Solved] Grub rescue after deploy task

Scheduled Pinned Locked Moved
Linux Problems
2
6
903
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.
  • B
    Bristow 0
    last edited by Bristow 0 Jul 1, 2021, 8:08 AM Jun 30, 2021, 11:00 AM

    Hello,

    I have prepared an Ubuntu Mate image with 3 partitions

    • /efi 100 Mb
    • /
    • swap

    Everything went well and I captured my image with this setting:

    Sélection_073.png

    Now I deployed to test on another workstation, and every time it starts, I get a grub rescue error:

    error no such partition
    grub rescue>
    

    Is this a problem with my host settings?

    Sélection_072.png

    Thanks for your help!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jun 30, 2021, 1:25 PM

      @Bristow-0 Not sure if this is the GRUB we provide with FOG to chainload to disk after PXE boot if there is no task scheduled or if this is GRUB loaded from your disk that has an issue after the deploy.

      Please change the boot order to let this machine boot from disk directly to see if that works.

      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

      B 1 Reply Last reply Jun 30, 2021, 1:48 PM Reply Quote 0
      • B
        Bristow 0 @Sebastian Roth
        last edited by Jun 30, 2021, 1:48 PM

        @sebastian-roth said in Grub rescue after deploy task:

        Please change the boot order to let this machine boot from disk directly to see if that works.

        This machine is already booting on the disk, or I didn’t understand how FOG works and if I need to change something else?

        Is this setting correct, I don’t understand what it does?
        Sélection_805.png

        Thanks

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Jun 30, 2021, 4:16 PM

          @bristow-0 said in Grub rescue after deploy task:

          This machine is already booting on the disk, or I didn’t understand how FOG works and if I need to change something else?

          What I mean is not the FOG settings for boot type BUT the UEFI/BIOS settings! With FOG we usually set boot order to boot from network (PXE) first so it will boot into the FOG boot menu and run a task if you have one scheduled. If no task is scheduled the default option of the FOG boot menu is to try and chainload from the local disk. That’s what these boot type settings are for that we see in the picture you posted.

          So I ask you to go to the UEFI/BIOS settings on your device and set it to directly boot from disk instead of network. Do you run into the same GRUB rescue shell then?

          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

          B 1 Reply Last reply Jun 30, 2021, 4:29 PM Reply Quote 0
          • B
            Bristow 0 @Sebastian Roth
            last edited by Jun 30, 2021, 4:29 PM

            @sebastian-roth Thank you, I understood correctly.

            I don’t use this type of setup: PXE and then hard disk in the BIOS. PXE does not start by default.

            B 1 Reply Last reply Jul 1, 2021, 2:07 PM Reply Quote 0
            • B
              Bristow 0 @Bristow 0
              last edited by Jul 1, 2021, 2:07 PM

              @Sebastian-Roth you put me on the track!

              The bios was configured in legacy bios first, I switched to uefi first and it works!

              Thank you!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              1 / 1
              • First post
                4/6
                Last post

              190

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project