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

    FOG exit to local GRUB option

    Scheduled Pinned Locked Moved Unsolved
    Linux Problems
    1
    1
    84
    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.
    • J
      justjason
      last edited by

      I am looking for a way to exit from a FOG task to a specific GRUB menu option on the client machine.
      My goal it to find a way to achieve a one time iPXE boot option on a legacy GRUB Linux machine by copying the iPXE kernel to the /boot folder on the client machine, then adding a grub menu entry for iPXE so that I have a grub menu.lst file similar to

      default 0
      timeout 0
      
      title BIOS iPXE Boot
          root (hd0,0)    
          kernel /boot/ipxe.lkrn
      
      title openSUSE - Kernel 3.1.0-1.2 
          root (hd0,0)
          cedarview_gfx.modeset=0
          kernel /boot/vmlinuz splash=silent quiet 
          initrd /boot/initrd
      

      I have tested this and it works well , but I end up in a boot-loop and I can not see a method to automatically exit a FOG session that would allow me to move on to the next menu option as all EXIT options I have tried so far end up back at the GRUB menu with a default of iPXE

      Is there a way to use a custom GRUB_EXIT_TO_MENU_OPTION or maybe some better way to achieve this ?

      So far I have tried the following exit options
      GRUB - finds the local GRUB , but oots to the default iPXE option
      GRUB-FIRT-HDD -same as above , - I have the ipxe bootloader and menu option on the HDD
      REFIND-EFI - this machine is very legacy and did not manage to load REFIND neither from FOG, nor a rEFInd bootable USB for testing ( this USB was tested on more modern machines and did work)
      EXIT - Still ends up back at the same grub menu with iPXE as default

      I can see that there are other ways to booting to iPXE ( eg bootable USB , BIOS option etc), but this method of adding the files to the main HDD would allow me to do all this remotely, without the need for access to the machine, e.g. over ssh and the basic concept is working well. I just am not sure how to solve the boot loop EXIT issue

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

      197

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project