• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. MarkG
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 45
    • Groups 0

    Posts

    Recent Best Controversial
    • Disable USB support in iPXE?

      Running FOG 1.5.9. I have a specific problem with an AMD-based Lenovo. When booting normally it’s fine but when booting via iPXE all the USB-C ports are disabled. This happens the moment that it downloads the NBP file from FOG.

      From searching forums it seems this is a known iPXE problem and the only solution I’ve found is that you need to completely disable usb support in iPXE by rebuilding iPXE with some special options, but I don’t know how to do this using FOG’s buildipxe.sh. I’ve tried just running that to get the latest version of iPXE but that hasn’t helped.

      posted in FOG Problems
      M
      MarkG
    • RE: SSH login while imaging

      @Sebastian-Roth thanks! I did not know about the postinit scripts. I’ve no problem with them all having the same password so that was really easy.

      posted in Windows Problems
      M
      MarkG
    • SSH login while imaging

      I’ve noticed that there is an SSH server running on the client machine while it is imaging. I’m wondering what the login details are, or how they can be set?

      To explain why, I’ve been running a lot of unattended installs remotely (covid etc) and just occasionally a machine will get stuck, where it sits at the Partclone screen waiting to start but never does. It’s related to using Multicast, but not being able to get to the machines easily it’s been very hard to figure out what’s causing it. If I could SSH in I could at least reboot the machine, instead of having to badger somebody to go and do it for me (or driving for an hour to push a button). It’s only a workaround but it would be a big help.

      posted in Windows Problems
      M
      MarkG
    • RE: Secure Boot Support for Windows 11

      I’ve just tried an Insider build from the Dev channel, Secure Boot was not required - though is supported by this hardware (Intel NUC). MS are saying that the requirement is actually a TPM - they’re saying ‘Secure Boot Capable’ because that’s more consumer-friendly than talking about TPMs.

      The image type in FOG can be set to Windows 10, and I was able to capture and deploy

      posted in Feature Request
      M
      MarkG
    • RE: Using a separate NIC for multicast

      @pep said in Using a separate NIC for multicast:

      web = http: //192.168.1.100/fog/ ftp = 192.168.1.100 storage = 192.168.1.100: / images / dev / storageip = 192.168.1.100

      Thanks! That works. I can leave my storage settings as default and Multticast will use eno2, then for anything not multicast I can set the correct parameters for eno3.

      Just a note that for deployment the storage variable needs to be ip.address:/images/ (without the dev/)

      posted in FOG Problems
      M
      MarkG
    • RE: Using a separate NIC for multicast

      @Sebastian-Roth OK thanks for the reply. It’s no biggie but I’ve got all these NICs and nothing to use them for 🙂

      As an idea, could I create another storage group for the images I might want to multicast, where all the settings except the interface and IP address are the same as the default group? If I set that to use eno3, and multicast to use eno3, that might achieve what I want?

      posted in FOG Problems
      M
      MarkG
    • Using a separate NIC for multicast

      I’ve a FOG server on Ubuntu 20.04, latest version of FOG. My server has 3 NICs all connected to the same subnet. I want to use eno2 for imaging and eno3 for Multicast, but I can’t get the multicast bit to work.

      I’ve configured my storage node to use eno2 and set the IP address to the IP of eno2 and normal imaging works.

      I then went fo FOG Settings->Multicast and set the interface to eno3. But when I start a multicast task the hosts all get stuck at the Partclone screen. I can see from the server logs that FOG is starting the multicast task using eno2.

      If I change the config to use eno2 for multicast then my multicast tasks work, but I was hoping to utilise the extra bandwidth of the 3rd ethernet port I feel sure I’ve missed something obvious… but what?

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @george1421 Thanks for the help … ohh Apple… on booting to the debug kernel I’m asked to ‘press Enter to continue’. However, it appears that as well no driver for the nvme, there’s also no driver for the keyboard. So, locating a USB keyboard I was able to determine the following:

      [Wed Apr 03 root@fogclient ~]# lsblk
      NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
      sda      8:0    1  1.9G  0 disk 
      `-sda1   8:1    1  121M  0 part 
      [Wed Apr 03 root@fogclient ~]# lspci -nn
      00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ec4] (rev 07)
      00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
      00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 07)
      00:01.2 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x4) [8086:1909] (rev 07)
      00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:a379] (rev 10)
      00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a36d] (rev 10)
      00:14.2 RAM memory [0500]: Intel Corporation Device [8086:a36f] (rev 10)
      00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a360] (rev 10)
      00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:a340] (rev f0)
      00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a338] (rev f0)
      00:1e.0 Communication controller [0780]: Intel Corporation Device [8086:a328] (rev 10)
      00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a313] (rev 10)
      00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a323] (rev 10)
      00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:a324] (rev 10)
      01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] [1002:67ef] (rev e3)
      01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aae0]
      02:00.0 Mass storage controller [0180]: Apple Inc. Device [106b:2005] (rev 01)
      02:00.1 Non-VGA unclassified device [0000]: Apple Inc. Device [106b:1801] (rev 01)
      02:00.2 Non-VGA unclassified device [0000]: Apple Inc. Device [106b:1802] (rev 01)
      02:00.3 Multimedia audio controller [0401]: Apple Inc. Device [106b:1803] (rev 01)
      03:00.0 Network controller [0280]: Broadcom Limited Device [14e4:4464] (rev 03)
      04:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578] (rev 06)
      05:00.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      05:01.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      05:02.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      05:04.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      06:00.0 System peripheral [0880]: Intel Corporation Device [8086:15eb] (rev 06)
      07:00.0 USB controller [0c03]: Intel Corporation Device [8086:15ec] (rev 06)
      7a:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578] (rev 06)
      7b:00.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7b:01.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7b:02.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7b:04.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06)
      7c:00.0 System peripheral [0880]: Intel Corporation Device [8086:15eb] (rev 06)
      7d:00.0 USB controller [0c03]: Intel Corporation Device [8086:15ec] (rev 06)
      
      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Tom-Elliott That’s just command-line system_profiler, which is used by the GUI version and only gives me the exact same info I posted in the images earlier. No hardware IDs at all.

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @george1421 Thanks, but no chance. I don’t have a license to install Windows, Linux won’t boot, and MacOS system profiler no longer displays hardware IDs.

      It’s really like Apple don’t want people to mess with their hardware 😄

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth I think this is the answer. No drivers for Apple’s nvme controller in the kernel yet 😞

      https://askubuntu.com/questions/1052373/install-ubuntu-bionic-18-04-on-macbook-pro-2018

      posted in FOG Problems
      M
      MarkG
    • RE: FOG API

      @Tom-Elliott unfortunately this is in a production environment and we can’t currently afford the down time, but I appreciate your efforts and thanks for the reply - at least it has given me confidence that I’m not doing it “wrong”.

      As it happens I’m currently automating the entire FOG process by writing entries directly into the database and that is working fine for now, but I was looking at moving to the API as I’m sure it will be better for forwards compatibility - so when time allows I’l update my test server for 1.6 and work with that until we can update the production server.

      Thanks for the advice.

      posted in General
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth Hmmm. Good call. Ubuntu 18.10 won’t even boot let alone recognise a disk. I get the initial GRUB menu but then very little after that. Black screen now for ~ 5 minutes.

      posted in FOG Problems
      M
      MarkG
    • RE: FOG API

      @Tom-Elliott Sorry, should have mentioned that, 1.5.5

      posted in General
      M
      MarkG
    • RE: FOG API

      @Tom-Elliott By “I can’t clear them” I mean that I’d expect sending an empty array would clear all snapin associations from that host, but it doesn’t, as evidenced by me looking in the FOG GUI and seeing the snapin association still there.

      Here’s your GET command after my PUT with an empty array.

      { "id": "52", "name": "HPProDesk", "description": "Created by FOG Reg on April 1, 2019, 2:19 pm", "ip": "", "imageID": "85", "building": "0", "createdTime": "2019-04-01 14:19:01", "deployed": "0000-00-00 00:00:00", "createdBy": "fog", "useAD": "", "ADDomain": "", "ADOU": "", "ADUser": "", "ADPass": "", "ADPassLegacy": "", "productKey": "", "printerLevel": "", "kernelArgs": "", "kernel": "", "kernelDevice": "", "init": "", "pending": "", "pub_key": "72c8515c7251f909e54b10ccfa26776a118fba25c333f7f9c3c3021c6d53e8f6", "sec_tok": "c3cd9236c7c2f3ea4d8f90e93b4b910179759f30af2cf47b4a3b3b2b24ea2afc6419d0ede3a0b465f354299c7a027999defd59bd11f93902382f3e827c8a3aa4", "sec_time": "2019-04-01 15:25:55", "pingstatus": "<i class=\"icon-ping-down fa fa-exclamation-circle red\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"Connection timed out\"><\/i>", "biosexit": "grub", "efiexit": "refind_efi", "enforce": "", "primac": "a0:d3:c1:4e:49:45", "imagename": "HPProDesk_Win8_64_Pro_Prepped", "hostscreen": { "id": "", "hostID": "", "width": "", "height": "", "refresh": "", "orientation": "", "other1": "", "other2": "" }, "hostalo": { "id": "", "hostID": "", "time": "" }, "inventory": { "id": "50", "hostID": "52", "primaryUser": "fog", "other1": "", "other2": "", "createdTime": "2019-04-01 14:19:01", "deleteDate": "0000-00-00 00:00:00", "sysman": "Hewlett-Packard", "sysproduct": "HP ProDesk 405 G2 MT", "sysversion": "", "sysserial": "CZC43626MJ", "sysuuid": "8d1f307a-6b12-7ee0-d0c5-d2601e0e7c03", "systype": "Type: Desktop", "biosversion": "02.28", "biosvendor": "AMI", "biosdate": "09\/05\/2018", "mbman": "Hewlett-Packard", "mbproductname": "2240", "mbversion": "1.0", "mbserial": "CZC43626MJ", "mbasset": "CZC43626MJ", "cpuman": "AuthenticAMD", "cpuversion": "AMD A4-6250J APU with AMD Radeon R3 Graphics", "cpucurrent": "Current Speed: 2000 MHz", "cpumax": "Max Speed: 2000 MHz", "mem": "MemTotal: 3440588 kB", "hdmodel": "Hitachi HDS721616PLA380", "hdserial": "PVE331Z9RYDSZU", "hdfirmware": "P22OAB3A", "caseman": "Hewlett-Packard", "casever": "", "caseserial": "CZC43626MJ", "caseasset": "CZC43626MJ", "memory": "3.28 GiB" }, "image": { "imageTypeID": "1", "imagePartitionTypeID": "1", "id": "85", "name": "HPProDesk_Win8_64_Pro_Prepped", "description": "", "path": "HPProDesk_Win8_64_Pro_Prepped", "createdTime": "2018-11-21 09:49:17", "createdBy": "fog", "building": "0", "size": "366997504.000000:19634143232.000000:", "osID": "7", "deployed": "2018-11-21 12:15:29", "format": "0", "magnet": "", "protected": "0", "compress": "6", "isEnabled": "1", "toReplicate": "1", "srvsize": "4096", "os": {}, "imagepartitiontype": {}, "imagetype": {} }, "macs": [ "a0:d3:c1:4e:49:45" ]
      
      
      posted in General
      M
      MarkG
    • RE: FOG API

      I’m struggling somewhat with the format of the API requests

      I know I can list all snapin associations with (assume I’m sending correct token headers, just for clarity)

      curl  http://localhost/fog/snapinassociation
      

      and this returns

      { "count": 1, "snapinassociations": [ { "id": "6135", "hostID": "52", "snapinID": "2484" } ]
      

      Now, what I want to do is to remove ALL snapins from hostID 52, but I can’t find a way to do this

      The closest I’ve come is to do the above query, then parse the output and do

       curl -X DELETE http://localhost/fog/snapinassociation/6135/delete
      

      But this feels clunky and I’m sure I’m missing something fundamental. The URIs aren’t quite making sense in my head, because I know I can create a snapin association with

      curl  -X PUT -d '{"snapins":[2484]}' http://localhost/fog/host/52/edit
      

      but I can’t clear them with

      curl  -X PUT -d '{"snapins":[]}' http://localhost/fog/host/52/edit
      

      What am I missing?

      posted in General
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth Here are some relevant screen grabs. At a guess, I’d say the dreaded T2 security chip might be the cause of the problem, it’s caused us no end of grief in other areas. (This is the fist Mac where I’ve had to user recovery mode to disable Secure Boot before I can boot from the USB stick, for example)
      Screenshot 2019-04-01 at 10.00.14.png

      Screenshot 2019-04-01 at 10.00.35.png

      Screenshot 2019-04-01 at 10.00.52.png

      Screenshot 2019-04-01 at 10.01.18.png

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      Here’s as much as I could capture of the output from the debug kernel. At least it’s not panicking now, but you can see that ‘sda’ is the USB drive, and there are no other discs. I’ve checked the disc isn’t encrypted and as far as I can tell it’s not in RAID mode.

      thumbnail_image1.jpg

      posted in FOG Problems
      M
      MarkG
    • RE: Hard Disk not recognised on 2018 Macbook Pro

      @Sebastian-Roth I rebuilt the USB boot stick again having upgraded to FOG 1.5.5. here’s what I now get when I try to capture an image.

      Note, I’ve already verified that ‘sda’ as far as the boot kernel is concerned, is the USB stick.
      thumbnail_image1.jpg

      posted in FOG Problems
      M
      MarkG
    • Hard Disk not recognised on 2018 Macbook Pro

      Hi,

      I’ve been quite successful up to now imaging MacBooks using a USB Boot drive as described here
      https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image/3. But having recently bought a 2018 Macbook Pro I’m now getting the problem that it doesn’t recognise the built-in HDD at all.

      I tried booting to the debug kernel but got a kernel panic. I tried rebuilding my USB boot stick again and now I get Invalid Operating System Version, so I’m going backwards 🙂

      Can anybody help?

      posted in FOG Problems
      M
      MarkG
    • 1 / 1