• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. rodluz
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 142
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: "Not shrinking (/dev/nvme0n1p1) as it is detected as fixed size

      @sami-blackkite What filesystem are you using on your device?

      posted in Linux Problems
      R
      rodluz
    • RE: Microsoft 365 install / update via snapin pack

      @pauleb I use this powershell script for my M365 snappin. Hope it helps you.

      $username = "DOMAIN\USERNAME"
      $password = ConvertTo-SecureString "PASSWORD" -AsPlainText -Force
      $creds = New-Object System.Management.Automation.PSCredential $username, $password
      
      New-PSDrive -Persist -Name "Z" -PSProvider FileSystem -Root "\\SHARE\AppRepo" -Credential $creds
      
      Start-Process -Wait -FilePath "Z:\Microsoft\Microsoft365_x64\setup.exe" -ArgumentList '/configure "Z:\Microsoft\Microsoft365_x64\configuration.xml"' -NoNewWindow
      
      Remove-PSDrive -Name "Z"
      
      posted in FOG Problems
      R
      rodluz
    • RE: Invalid Token.dat with Deep Freeze

      @PCF24 Here is a quick and dirty script to reset all your hosts.
      I tested it with two hosts and it is working for me. I don’t want to reset all my hosts.

      You will have to paste your FOG server IP, FOG user api token, and FOG settings api token to the script.
      You will also need to install jq in your FOG server.
      Debian base: sudo apt install jq. RHEL based: sudo dnf install jq

      #!/bin/bash
      
      server_ip="http://10.10.10.10"
      fog_user_token="PASTE_YOUR_USER_API_TOKEN_HERE"
      fog_api_token="PASTE_YOUR_FOG_SETTINGS_API_TOKEN_HERE"
      
      all_hosts=$(curl -S -s -X GET -H 'content-type: application/json' -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" $server_ip/fog/host/ | jq '.hosts[]')
      all_ids=$(echo "$all_hosts" | jq '.id')
      all_ids=${all_ids//\"/}
      
      for host_id in $all_ids
      do
              curl -S -s -o /dev/null -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" -X PUT -d '{"pub_key":""}' $server_ip/fog/host/$host_id/edit
              curl -S -s -o /dev/null -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" -X PUT -d '{"sec_tok":""}' $server_ip/fog/host/$host_id/edit
              curl -S -s -o /dev/null -H "fog-user-token: $fog_user_token" -H "fog-api-token: $fog_api_token" -X PUT -d '{"sec_time":"0000-00-00 00:00:00"}' $server_ip/fog/host/$host_id/edit
      done
      
      posted in General Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe Okay, I did some changes and reuploaded dist_virt_1 & dist_virt_2. Can you try them again?

      posted in FOG Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe I uploaded two more kernels with virtualization enabled (dist_virt_1 & dist_virt_2). Let me know if this works for you.
      https://drive.google.com/drive/folders/1sP6dfRymYaFTCr8iRiK64hN2pp2X836n

      posted in FOG Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @SaturTP That’s an interesting find, I’ll check why this would be the problem.
      @sgilbe If disabling virtualization makes it work for you too, I’ll add one more kernel to the drive share for you to try.

      posted in FOG Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe Hi, sorry for the delay.
      I have 3 new kernels to try. I hope one of these works for you https://drive.google.com/drive/folders/1sP6dfRymYaFTCr8iRiK64hN2pp2X836n?usp=drive_link

      If any one of these works, please let me know which one so I can document it.

      posted in FOG Problems
      R
      rodluz
    • RE: Surface Go 4 incompatible

      @JJ-Fullmer I’m currently working on new kernels and inits. Having issues with building partclone for the inits, but I’ll hopefully have some time this weekend to get it done.
      I will include the ufs changes for the kernels.

      posted in Hardware Compatibility
      R
      rodluz
    • RE: Update to 1.5.10

      @bballmcoe I haven’t used CentOS 7 in a while so unless this is a CentOS quirk that I don’t remember, you are running the install script using shell not bash.
      Try running the installer like this: ./installfog.sh or bash installfog.sh

      posted in FOG Problems
      R
      rodluz
    • RE: No deja subir ni clonar imágenes de procesador de generación 10

      @Eliza Ese error pasa cuando el Kernel no encuentra ningún interfaz de red. Unas preguntas:

      1. Como esta conectada la computadora a la red? Ethernet cable conectado directo o un adaptador (ejemplo: USB-C a Ethernet)
      2. Que version de FOG y Kernel esta en uso?
      3. Alguna otra computadora con el mismo error, o solo esta?

      That error happens when the kernel doesn’t find any network interface. A few questions:

      1. How is the computer connected to the network? Ethernet cable directly connected to the computer or an adapter (example: USB-C to Ethernet)
      2. What version of FOG and Kernel is in use?
      3. Are there any other computers with the same error, or is this the only one?
      posted in General Problems
      R
      rodluz
    • RE: No deja subir ni clonar imágenes de procesador de generación 10

      @Eliza Cual version de FOG y de Kernel esta usando? Puede poner una foto de la pantalla con el error de Kernel?


      What version of FOG and Kernel are you using? Can you post a photo os the screen with the Kernel error?

      posted in General Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe I made a few changes to the kernel. Can you try the with the new one here? https://drive.google.com/drive/folders/1sP6dfRymYaFTCr8iRiK64hN2pp2X836n

      posted in FOG Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe Have you tried removing the QSFP card to see if it is still giving you that issue? I doubt that it’s the problem, but it wouldn’t hurt to try.

      I’ll keep looking at the kernel config options to see if I find something else that could be missing. It may be a lot of back-and-forth trying different kernel options, since I don’t have any system with those CPUs.

      posted in FOG Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe Try this kernel out. https://drive.google.com/drive/folders/1sP6dfRymYaFTCr8iRiK64hN2pp2X836n?usp=sharing

      This is kernel 6.5.6 with some config changes specific for gen 3/4 scalable Xeon CPUs. Please let us know if this works so I can document the changes.

      Something else to look at… I had an issue like this with another Linux system last week. The issue turned out to be a Mellanox 40G PCIe card not playing nicely with the Kernel. Have you tried taking out non-essential PCIe cards from the host to test?

      posted in FOG Problems
      R
      rodluz
    • RE: Client hangs at EFI stub:

      @sgilbe @george1421 I think I have an idea of what kernel modules need to be enabled for this type of CPU. I don’t have my dev laptop with me now, but I’ll work on it tonight/tomorrow so you can try it out.

      posted in FOG Problems
      R
      rodluz
    • RE: Snapin issue - using powershell to copy items

      @anwoke8204 Tom is right. I had that same issue when trying to use snapins the first time.
      You would need to do something like this:

      $username = "DOMAIN\USERNAME""
      $password = ConvertTo-SecureString "PASSWORD!" -AsPlainText -Force
      $creds = New-Object System.Management.Automation.PSCredential $username, $password
      
      New-PSDrive -Persist -Name "Z" -PSProvider FileSystem -Root "\\SHARE\PATH" -Credential $creds
      
      #
      # RUN YOUR CODE REFERENCING THE "Z" DRIVE
      #
      
      Remove-PSDrive -Name "Z"
      
      posted in FOG Problems
      R
      rodluz
    • RE: Fog & Windows 11

      @louisjjames Hello, I am able to capture/deploy Windows 11 images just fine. When you create an image, there is no Windows 11 selection but just use Windows 10 and it will work.

      f2ab7fee-5a96-4c3e-b47e-4c6258ce90f3-image.png

      posted in Windows Problems
      R
      rodluz
    • RE: new version e2fsck ?

      @dvorak Just as @george1421 said, e2fsck needs to be updated on the FOG Operating System (FOS), specifically the inits. The FOS inits haven’t been updated in a bit over a year but I can build new ones for you so you could test it out, just let me know.

      posted in FOG Problems
      R
      rodluz
    • RE: Script for a backup ?

      @Bristow-0 A while back, I was trying to find an answer to your question, but I couldn’t find anything, so I just wrote it myself. It’s not perfect, but this could be a good starting point.

      I have it set up on a Proxmox LXC container running Ubuntu 22.04 and it’s running on a cron job weekly. If you want to go this route, you just have to set up a few things on the container first.

      • Make sure you can send emails from the container. I use msmtp, but you can use something else that you prefer, just make sure to change the command in the script.
      • Make sure you can SSH into your FOG server from the container with an SSH key so that you don’t have to deal with username/password.
      • Not extremely necessary but recommended. Add a mount point, to the container, of a separate storage location to save all the data to.
        • In the script, I have it set to /mnt/FOGBackups

      Make sure that you read through the script and change the FOG information.

      For some reason the forum doesn’t show the bash script correctly, so I am adding a link to a public gist with the code: https://gist.github.com/rluzuriaga/a2cd00cbff9a5cc70d0fb93afdd15566

      Hope this helps!

      posted in General Problems
      R
      rodluz
    • RE: Very slow boot.php and bzImage during pxe boot

      @Warsonix I really needed to get those laptops imaged asap, so I just used a USB-C to Ethernet adapter on those and it worked. I haven’t touched those laptops since then.
      Funnily enough, I have to re-image them next week, so I’ll let you know what happens.
      I have done a lot of changes to my FOG server since then, so it’s really going to depend on your setup too.

      posted in FOG Problems
      R
      rodluz
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 4 / 8