• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Sebastian Roth
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 28
    • Topics 48
    • Posts 12,331
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: DBAN FOG Boot Menu

      @Arrowtron Sorry we all missed the kernel part of the command. Please try:

      kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe --autonuke --method quick" silent vga=785
      boot || goto MENU
      

      or

      kernel ${boot-url}/dban/dban.bzi nuke="dwipe --autonuke --method quick" silent vga=785
      boot || goto MENU
      

      What x23piracy posted is also valid but doing it a different way. It boots the ISO without mounting/extracting it first. This does work for some ISOs but causes trouble with others. So this might work but I haven’t tried it myself:

      initrd http://${fog-ip}/iso/dban_2.3.0.iso
      chain memdisk iso raw || goto MENU
      

      But you need to have the DBAN ISO file in the right place for this as well, /var/www/iso/dban_2.3.0.iso (where /var/www/html/iso/dban_2.3.0.iso does not work in recent FOG versions because of the API redirecting but maybe you’ve switched that off anyway)…

      And sorry about the confusion from what is written about DBAN in the wiki!! We need to correct this soon!

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: NEW iMac problems

      @Abuelika I have looked into bringing up a VM with physical sector size of 4096 but still couldn’t make it work. Though I have the qemu/kvm command line options it doesn’t work yet. I hope to get this ready soon.

      posted in Mac Problems
      S
      Sebastian Roth
    • RE: FOG Client on a Mac

      @hancocza The HTTPS part of FOG/fog-client is still kind of new and not many people have used it so there might be an issue though the fog-client code is backed by a test framework. But let’s see what we can figure out first.

      • What OS/version is your FOG server running on?
      • Did you let FOG setup the apache config for you or did you set it up yourself?
      • Can you access http://x.x.x.x/fog/management/other/ca.cert.der using your browser (note this is a HTTP URL!)?
      posted in Mac Problems
      S
      Sebastian Roth
    • RE: UEFI booting with Yoga 370

      @sudburr Did you get to test this yet?
      @Iceman344 Are you still around? Who’s your boss? How would he get in touch with us?
      @Brian-Hoehn Are you still onto this topic?

      posted in Hardware Compatibility
      S
      Sebastian Roth
    • RE: Fog Setup for a complete noob (two network cards)

      @Freak Yeah you are mostly right beside I would use a static IP instead. I just feel that I might add some more explanations to help.

      Do I just configure the Fog server with one nic and setup as usual on or main network?

      Yes, use just one interface and things will be a lot easier (FOG is not made to be used with two and needs a lot of tweaking). As it’s a server I’d recommend assigning a static IP before starting the FOG installer script. Make sure you have only one interface and one IP in that server.

      accept all the default DHCP stuff during setup.

      Carefully read the installer questions. You want a normal node installation not storage node. When being asked Would you like to use the FOG server for DHCP service? say no! The other questions about DNS and router address in DHCP don’t really matter.

      From your previous descriptions it’s not totally clear how PXE booting is done in your main network so far. You say you have a router handling DHCP but also Serva is able to do something called ProxyDHCP. Let me explain:

      • In a simple common PXE environment the main single DHCP server sends out extra information (next-server and filename) within the normal DHCP answers. Clients read those and can do PXE booting.
      • In some networks (like when a hosted router is doing DHCP) you cannot alter the DHCP server and add this extra information. Then you can add a so called ProxyDHCP to your network. This answers DHCP requests just as the main DHCP server does but leaves the IP assignment fields in the packet empty and only sends the extra PXE boot information in the packets. Clients are able to handle both answers and extract IP/netmask/router/DNS from the first packet and PXE boot information from the later. This way you have a proper PXE booting setup without altering the DHCP server itself.

      So back to the practical point. Talk to the guy who setup Serva and take a look at the Serva setup - might look like this:
      alt text

      • If neither DHCP Server nor proxyDHCP is selected you probably are able to add the extra PXE information to your router which handles DHCP in your main network. That would be an easy thing to do. Ask your colleague who setup Serva.
      • If DHCP Server is selected then I suppose you have two running in your network and need to switch off one as soon as possible! As Freak said: “there can only be one (DHCP)”
      • If proxyDHCP is selected as seen in that example picture you need to deselect and setup a ProxyDHCP server called “dnsmasq” on your FOG server by hand. This is needed because from the picture it looks like you cannot change “Next Server” and “Boot File” setting in Serva to point to an external server. I haven’t tried this but to me it looks like it.

      Read through this wiki article! You’ll find instructions on how to install and setup dnsmasq on CentOS 7. To be able to serve PXE boot to legacy BIOS and UEFI machines you need to install/compile dnsmasq version 2.76. Either follow the descriptions in the wiki or simply use this RPM: ftp://ftp.pbone.net/mirror/rnd.rajven.net/centos/7.0.1406/os/x86_64/dnsmasq-2.76-1cnt7.x86_64.rpm

      Use this config as a starter but make sure to put in the FOG server IP where ever you see x.x.x.x:

      # Don't function as a DNS server:
      port=0
      
      # Log lots of extra information about DHCP transactions.
      log-dhcp
      
      # Set the root directory for files available via FTP.
      tftp-root=/tftpboot
      
      # The boot filename, Server name, Server Ip Address
      dhcp-boot=undionly.kpxe,,x.x.x.x
      
      # Disable re-use of the DHCP servername and filename fields as extra
      # option space. That's to avoid confusing some old or broken DHCP clients.
      dhcp-no-override
      
      # inspect the vendor class string and match the text to set the tag
      dhcp-vendorclass=BIOS,PXEClient:Arch:00000
      dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
      dhcp-vendorclass=UEFI,PXEClient:Arch:00007
      dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
      
      # Set the boot file name based on the matching tag from the vendor class (above)
      dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,x.x.x.x
      dhcp-boot=net:UEFI,ipxe.efi,,x.x.x.x
      dhcp-boot=net:UEFI64,ipxe.efi,,x.x.x.x
      
      # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
      pxe-prompt="Booting FOG Client", 1
      
      # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
      # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
      # This option is first and will be the default if there is no input from the user.
      pxe-service=X86PC, "Boot to FOG", undionly.kpxe
      pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi
      pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi
      
      dhcp-range=x.x.x.x,proxy
      

      Clients setup to do PXE boot should not boot into the FOG menu screen. Now you can go to the FOG web GUI and add the Serva menu entry as suggested earlier…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @x23piracy @george1421 I was just about to create an issue on github (which I use to keep track of things I work on with the fog-client) for this request as I had the impression that it’s worth and doable. But Georg’s post now suggests that it can be done from Linux, so on the capture/deploy process in FOS. Now I am wondering which way to go. Please keep discussing this here till we decide how and where to add this (fog-client, FOS, …?).

      posted in Feature Request
      S
      Sebastian Roth
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @x23piracy I am still not sure if I get this right. Should we also extract the key from the registry if we don’t find it in the firrmware table? What if we find both, what if they don’t match (is this possible)??

      posted in Feature Request
      S
      Sebastian Roth
    • RE: Updating FOG 1.40 to FOG 1.5.0 RC9 (Slow load Fog Settings)

      @wanderson What do you mean by “slow load”?

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Boot File Testing for SR

      @Psycholiquid This is confusing me more and more. If I didn’t do anything wrong then those two binaries were compiled from most current iPXE source with our FOG header files and would show that the initial issue was fixed in the iPXE code since then and we didn’t notice…

      Would you please do me another favor and test those new binaries as well: 302f1eeipxe.efi, 694c18ipxe.efi, c917687ipxe.efi, e09331aipxe.efi, 5cf5ffeipxe.efi, 757ab9ipxe.efi, d37e025ipxe.efi and HEADipxe.efi (download. Just post short notes on each binary “No hang on init.xz” or “Hang on init.xz”. Thanks!

      posted in Bug Reports
      S
      Sebastian Roth
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @x23piracy said in FOG Client report Windows key to FOG WebIf (Host definition):

      … GetSystemFirmwareTable … EnumSystemFirmwareTables …

      Looks like those calls are available in native C++ (ref1 / ref2) and AFAIK using that from C# is possible (ref3).

      But I am wondering if that is really the way to go to get that key? Can anyone confirm this is really working using the python code?

      posted in Feature Request
      S
      Sebastian Roth
    • RE: Fog Setup for a complete noob (two network cards)

      @ally_uk said in Fog Setup for a complete noob (two network cards):

      1. In the workshop my colleague recently setup a Serva 32/64 box which is hosting Windows install isos and boot utilities such as memtest, PC check. He has setup it in such a way that if every computer in the building is booted from pxe via nic is capable of touching base with this server.

      You’re using this: https://www.vercot.com/~serva/default.html (right?)
      Well, to me it sounds as if FOG could hook into that (or vice versa). Usually it’s no problem to chainload from one PXE environment to another one. Just add a custom menu to either FOG (FOG web UI -> FOG Configuration -> iPXE New Menu Entry) or Serva (see here). From my point of view it’s wise to chainload from FOG to Serva and not the other way round because if you have FOG tasks scheduled the clients will just boot right into that job without anyone having to sit in front of the machine to navigate through the menu. See it as extending the FOG boot menu to add Serva’s possibility to boot ISOs.

      EDIT: In case you need help with the iPXE menu item…

      • Menu Item: fog.serva
      • Description: Serva
      • Parameters: iseq ${platform} efi && chain tftp://x.x.x.x/bootmgfw.efi || chain tftp://x.x.x.x/pxeserva.0 (put in the IP address of your Serva server)
      • Menu Show with: All Hosts
      • all other settings leave default
      posted in FOG Problems
      S
      Sebastian Roth
    • RE: "Could not open inode XXXXXX through the library..." Windows 10 Sysprep Capture

      I fear this will be a real bummer to figure out! Reading through the posts I see this happening in various different scenarios. FOG version 1.3.4, 1.4.4, RCX, you name it. As well I read about VM and physical machine and then there are syspreped and non-syspreped setups. Possibly an MS update is doing this to us (partclone but anyway)?? Is anyone able to spin up a test setup:

      • FOG 1.5.0 RC9 (so we see this is still happening in the latest version)
      • Windows 10, all updates installed
      • VM or physical shouldn’t matter
      posted in FOG Problems
      S
      Sebastian Roth
    • RE: FOG Client / FOS report bios product key to database (Host) Activate through BIOS key (Deployment)

      @x23piracy said in FOG Client report Windows key to FOG WebIf (Host definition):

      What i cannot tell you is howto read out the bios key, i

      Why not start by helping us and doing some research if and how this can be done using .NET C#…

      posted in Feature Request
      S
      Sebastian Roth
    • RE: FOG with UEFI - rEFInd Error: Failure booting legacy (BIOS) OS

      @taspharel said in FOG with UEFI - rEFInd Error: Failure booting legacy (BIOS) OS:

      It finds a hard drive (after changing to uefi_deep_legacy_scan active) but then there is an error: Failure booting legacy (BIOS) OS

      Hmm, after reading through the rEFInd code a bit I think it’s not a good idea to have the option uefi_deep_legacy_scan on. AFAIK the firmware needs to support something called EFI_LEGACY_BIOS_PROTOCOL (find more about this on the web if you are keen) for this to work. So this is very specific and might work for some machines but fail on others. Anyway I’d suggest going the clean proper UEFI street and not fiddling with some kind of legacy mode stuff. So better disable uefi_deep_legacy_scan in refind.conf.

      We are using mostly Lenovo Laptops (X and T versions) and mostly HP Desktops, though there are a few older HP Laptops as well.

      Have your tried with all the different Lenovos and HP notebooks and they all show the exact same behavior? I’d guess they don’t.

      Boot from SAN device 0x80 failed: No such device and so on as stated above

      Stick to rEFInd for UEFI I reckon!

      only way to work around it is to not autoboot from LAN, then it starts (with UEFI exclusively on - no legacy).

      Looks like others see that as well - see here…

      The harddrive is a nvme SSD drive.

      I think this is the piece of the puzzle we were missing. Did you have to install an extra driver for the nvme drive in windows? From what I read in some other forums not all UEFI firmware comes with a native driver for the nvme SSDs included. So rEFind would have to load a driver to be able to see this disk (though this post is a bit older it still sounds valid to me). By any chance you could make this work installing a UEFI firmware update!? Or you can try what is suggested in that forum post:

      If you can find an EFI driver for your board, rEFInd might be able to load and use it. (rEFInd can load and use filesystem drivers, but this feature is untested with other driver types – at least, AFAIK.) EFI hardware drivers are pretty rare, though; they’re either built into boards as firmware or are unavailable to the general public, in my experience.

      @george1421 Possibly this is what we have seen reported by a couple of other people here in the forum as well…

      EDIT: @Taspharel By the way, is the nvme SSD set to AHCI oder RAID mode?

      posted in General Problems
      S
      Sebastian Roth
    • RE: 1.5.0 RC9 - Scheduled tasks view "disables" the web UI

      @Taspharel Hmmm, nothing in the error logs anymore?! Well then we need to see what you have in the database. Open a terminal window on your FOG server (find the password in /var/www/html/fog/lib/fog/config.class.php😞

      shell> mysql -u root -p
      Enter password:
      Welcome to...
      ...
      mysql> use fog;
      mysql> SELECT * FROM scheduledTasks\G
      ...
      mysql> quit
      

      Post what you see here in the forum either as text or picture.

      posted in Bug Reports
      S
      Sebastian Roth
    • RE: full host registration error

      @roger Most probably you are seeing a Spanning Tree issue here. Configure the client ports on those Ciscos to Port-Fast and the problem should go away…

      posted in FOG Problems
      S
      Sebastian Roth
    • Deleting a host item in the web GUI - invalid login

      Server

      FOG Version: 1.5.0 RC9 (also seen in RC8)
      OS: Debian 8

      Description
      When deleting a host item I get a confirmation window asking for credentials. So far so good. Entering my login data and hitting “delete” I get the answer “Invalid Login” but host is still deleted from the DB. I’ve seen this on RC8 and RC9 servers.

      posted in Bug Reports
      S
      Sebastian Roth
    • RE: NEW iMac problems

      @Abuelika Thanks for trying and posting results. It’s good to know how the partition table on a fresh machine looks like and from the numbers it seems like I am not too far of it. Though we can’t directly compare the numbers I think as those were created by a someone else. But definitely good to know that my calculated numbers are kind of in that same range.

      Please add isdebug=yes ismajordebug=1 again, try my suggested partition table again (first-lba: 5) and post a picture of the output on screen. So we see if it is the very same or a different error.

      I compared the tables and the main difference from my point of view is that the new one you posted is starting at sector 6 whereas I calculated it to start at sector 5 (original 40 divided by eight (4096/512)). In an UEFI style system we should be able to move partitions as the boot loader doesn’t rely on sector counts. So you might also try this one (all partitions shifted by one sector):

      label: gpt
      label-id: EB5F756F-5E64-4990-8B9C-5F2826AFDEC2
      device: /dev/nvme0n1
      unit: sectors
      first-lba: 6
      last-lba: 61279312
      
      /dev/nvme0n1p1 : start=           6, size=       51200, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=F803B6B4-FAF1-4700-814F-4CC7B6AA693D, name="EFI System Partition"
      /dev/nvme0n1p2 : start=       51206, size=    29095304, type=48465300-0000-11AA-AA11-00306543ECAC, uuid=2CA043B5-1BA4-4052-AC59-AA30F67E556D
      /dev/nvme0n1p3 : start=    29146510, size=      158692, type=426F6F74-0000-11AA-AA11-00306543ECAC, uuid=989E4FD8-2721-4B58-A6B4-24E3334F1165, attrs="GUID:49"
      
      posted in Mac Problems
      S
      Sebastian Roth
    • RE: Authentication ERROR: Could not authenticate : Value cannot be null.

      @ttbm I’ve just tried the fog-client on Debian 8 and it worked nicely. Here is a mono package list (including the versions) from that test system:

      dpkg -l | grep "ii  mono"
      ii  mono-4.0-gac                                                3.2.8+dfsg-10                        all          Mono GAC tool (for CLI 4.0)
      ii  mono-4.0-service                                            3.2.8+dfsg-10                        all          Mono service manager for CLI 4.0
      ii  mono-csharp-shell                                           3.2.8+dfsg-10                        all          interactive C# shell
      ii  mono-devel                                                  3.2.8+dfsg-10                        all          Mono development tools
      ii  mono-gac                                                    3.2.8+dfsg-10                        all          Mono GAC tool
      ii  mono-mcs                                                    3.2.8+dfsg-10                        all          Mono C# 2.0 / 3.0 / 4.0 / 5.0  compiler for CLI 2.0 / 4.0 / 4.5
      ii  mono-runtime                                                3.2.8+dfsg-10                        amd64        Mono runtime - default version
      ii  mono-runtime-common                                         3.2.8+dfsg-10                        amd64        Mono runtime - common files
      ii  mono-runtime-sgen                                           3.2.8+dfsg-10                        amd64        Mono runtime - SGen
      ii  mono-xbuild                                                 3.2.8+dfsg-10                        all          MSBuild-compatible build system for Mono
      ii  monodevelop                                                 4.0.12+dfsg-6                        all          Development Environment for GNOME
      ii  monodoc-base                                                3.2.8+dfsg-10                        all          shared MonoDoc binaries
      ii  monodoc-manual                                              3.2.8+dfsg-10                        all          compiled XML documentation from the Mono project
      

      If you don’t see anything in fog.log then run journalctl -u FOGService -f -n 50 while doing a stop/start (service FOGService stop; service FOGService start) in another terminal window.

      Post output here for us to check. I suspect you see something like mono-service: command not found. In case you see this, install debian package mono-4.0-service and you should be up and running.

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: HP X360 11 G1 EE

      @smcadm Seems like google is your friend here - see this:

      Updating the Bios firmware has done the trick and PXE boot is working now…

      I really don’t understand what’s wrong with HP notebook’s firmware?! We’ve see the weirdest things happening (fatally wrong initialized registers would cause the linux kernel to freeze when booting on the HP x2 210 devices - they send us a patched firmware more than a year ago but have not released a patched firmware officially yet…). So to make a long story short, I really wouldn’t wonder if PXE booting is going to work for you after firmware upgrade.

      posted in Hardware Compatibility
      S
      Sebastian Roth
    • 1 / 1