• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. DarkSwordsman
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 18
    • Best 0
    • Controversial 0
    • Groups 0

    DarkSwordsman

    @DarkSwordsman

    0
    Reputation
    48
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    DarkSwordsman Unfollow Follow

    Latest posts made by DarkSwordsman

    • RE: Auto Deploy restarts PCs, but boots back into Windows

      @Sebastian-Roth It appears the UEFI Network boot selection is not available. Only the PXE option from Legacy works.

      Amidst me trying to load different pxe binaries onto the server, I rm -rf /*'ed in root, so I destroyed the server by accident. Just made a new one and thankfully I have a PC with the existing image in tact with no modifications.

      Is there a more in-depth guide to setting iPXE binaries? I was messing around with custom fog.local parameters using all sorts of iPXE commands I found on their site. It’s definitely getting the changes, but I can’t tell if it can’t load the bootloaders or if it the bootloaders can’t find windows.

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      So it appears the following happens:

      BIOS types:

      • select… - : blinking cursor
        SANBOOT : blinking cursor
        GRUB : starting c.main()…
        GRUB_FIRST_HDD: starting c.main()…
        GRUB_FIRST_FOUND_WINDOWS: goes to grub> cli
        REFIND: blinking cursor.

      Running “geometry (hd0)” when GRUB_FIRST_FOUND_WINDOWS shows the cli gives me:
      " drive 0x80(LBA): C/H/S=1023/255/63, Sector Count/Size=16434495/512
      Partition num: 0, Filesystem type unknown, partition type 0xEE"

      UEFI: All of the options lead to blinking cursor.

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      Hey Guys,

      So I was able to experiment a little bit and I realized that, by default, it’s booting using the BIOS option, and not UEFI. I had GRUB_FIRST_HDD set for BIOS and REFIND_EFI set for UEFI, and it used GRUB.

      I don’t know if that helps us identify an issue. Also, I am into computers and programming, but this whole DHCP thing and handing out efi binaries just goes over my head. Are there any guides, start to finish, on the process? I tried following the one on your wiki but I just don’t get it.

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      @Sebastian-Roth Thanks for the reply. We have to figure out the user and password for the Ubuntu server so we can edit files, but this is what I found:

      In boot.php, these are the lines you mentioned:

      choose --default fog.local --timeout 3000 target && goto ${target}
      :fog.local
      imgfetch ${boot-url}/service/ipxe/refind.conf
      chain -ar ${boot-url}/service/ipxe/refind.efi || goto MENU
      

      In our refind.conf, these are all the options (I excluded all white space):

      timeout 5
      
      textonly
      
      scanfor internal,manual
      
      uefi_deep_legacy_scan true
      
      scan_delay 2
      
      default_selection Windows
      
      menuentry "Windows" {
          volume 0:
          ostype: "Windows"
          loader \EFI\Microsoft\Boot\bootmgfw.efi
          enabled
      }
      

      I’ll play around a bit once we get the linux credentials back. Looking forward to your reply.

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      Hey @Tom-Elliott @Sebastian-Roth I am back at the LAN center and was able to test with a new version of refind.efi from http://www.rodsbooks.com/refind/getting.html

      I noticed there were two refind config files. One is refind.efi and the other is refind_linux.conf. I went into both of these and set one to 5 second timeout and the other to 10 seconds. It didn’t pick up either of these settings.

      I want to understand, what do you mean by setting up the DHCP to hand out EFI binaries? I can boot into the FOG menu just fine and I can deploy images and what not. It’s just that when I select “Boot from Disk” in the FOG PXE menu, the default option, none of the bootloaders seem to work.

      I can also confirm that it’s picking up the different boot loaders when I change them. Grub and Sansboot both come to the error c.main() issue or whatever, and Refind.efi comes to a blinking cursor.

      So, firstly, is there something I need to do to get refind.efi to see the config files in the first place? And secondly, what do I need to set, if any, in the config files to make it see the OS?

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      Currently trying to download a new version of refind, as suggested by someone on the internet somewhere.

      I dunno, I’m tired and just want this to work. It’s ridiculous that it’s not working by now.

      Edit: Ah, yes, it was on this site: https://forums.fogproject.org/topic/11993/refind-pxe-booting-issue

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      Refind is definitely not picking up the config file. I restarted our VM twice and no luck.

      Also, @Tom-Elliott your suggestion to cp the config file without any other parameters didn’t make much sense to me, but it apparently worked for another user. What am I missing from your cp suggestion on that thread?

      Edit: Thread for reference: https://forums.fogproject.org/topic/12356/refind-conf-doesn-t-appear-to-be-used/5

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      Is there anything I can put into the fog.local parameters or Boot Options? Would there be a reason that refind.efi is not picking up my refind.conf file?

      alt text

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      So I’m kind of tired of this at the moment. I’m 90% certain it’s booting into Windows, but it’s not booting into it correctly.

      I swear that in my previous IT experience, I have seen the blinking cursor issue, and it had to do with trying to legacy boot Windows instead of EFI booting through Windows Boot Manager.

      If I set the boot device to UEFI Hard Disk: Windows Boot Manager it boots into Windows 10 fine, but REFIND_EFI and GRUB_FIRST_FOUND_WINDOWS both result in the blinking cursor, a common Windows issue with booting.

      It also feels like refind.efi is not picking up my changes in the configuration file at all.

      posted in General Problems
      D
      DarkSwordsman
    • RE: Auto Deploy restarts PCs, but boots back into Windows

      I tried to enable the graphics menu with timeout 0 and textonly 0 at least to just see if there is anything.

      Refind didn’t pop up with any menu at all.

      posted in General Problems
      D
      DarkSwordsman