• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. iekozz
    3. Posts
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 25
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by iekozz

    • FOG server not picking up custom background

      Hi there,

      For my non-profit I have set-up a fog server and it works great except for a couple of things.

      Whenever I set a custom background for the pxe menu, the colors revert back to black/red and no image. (See picture).
      When I use the settings -> ipxe menu settings -> name of file.png it displays the red/black screen. But bg.png works.

      I’ve copied the image to the same folder as the bg.png (/downloads/fogproject-1.5.5/packages/web/service/ipxe)

      fogerror.png

      Also, sometimes when I image a image with our general win 10 uefi image, it does not apply the windows boot manager. If you add it manually in the bios, then it loads fine. This is not on all systems, but mostly dell ones.

      Thanks!

      posted in FOG Problems
      I
      iekozz
    • RE: Autostart mysql on server reboot?

      @Sebastian-Roth Thanks again, that fixed it 🙂

      posted in General
      I
      iekozz
    • Autostart mysql on server reboot?

      Hi all,

      As some of you know, I installed a fog server with all your help here. Thanks again. However, when I restart my server, mysql is not running. I have to use systemctl restart mysql to enable it again. This is a bit annoying as you can imagine.

      I have tried to run chkconfig --level 345 mysqld on but I get the following:

      [root@localhost fogserver]# chkconfig --level 345 mysqld on
      Note: Forwarding request to 'systemctl enable mysqld.service'.
      Failed to execute operation: Invalid argument
      

      Also, should I run sudo mysql_secure_installation? Or will this cause issues with fog?

      I am running fog server 1.5.5 on centos os 7.

      Thanks!

      posted in General
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Alright, i’ll test the ftp server. So best not to mess with any of the passwords, just leave everything at default., don’t want to break it :).

      Digged around to find a logfile so I could see what was causing the issue, just have not found it yet. Is that in a config file? Found the imaging log, but that just says the duration and the image used.

      Btw, I also figured out what was causing the no boot device errors. The image does not link the new install with the efi.boot file. When I linked it in the bios, it all works. Should I update the host bios exit type and host efi exit type and then make a new image? 0_1543311792378_2ec0b5f7-f534-4887-93a1-4a540e6fd05d-image.png

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Ok, so I can just change the password from the terminal and then enter that password everywhere in the ftp settings?

      Strange that this is not displayed in the installer or you can choose it somehow.

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Now that you mention it, there is another user on my fog server, named fog. I’ve never set-up a password for that account though? Where can I find/change it?

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth I see the password I made at the installation, never changed a thing from the default. I see my password in those two files, they are the same, or do you mean the mysql password? I left that blank, easier for me.

      Did some further digging:

      1: ftp password is set in the tftp settings and my storage settings
      2: ftp path is set to /images
      3: everything is owned by the fog server
      4: the firewall is allowing all traffic
      5: the ftp service is running

      Only thing I have not tested it a test file to send to the ftp server. The one thing I did notice though is that when the image capture is done, it can’t update the database because the utc time is not set (or something like that) could that be it?

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Yes, on the same machine. Also, was using a different pc (Dell optiplex 990) and even when deleting all the data, it fails with a non boot device found error. But it does copy everything to disk.

      This is a uefi system using a uefi image.

      Also, when I make a new image, the folder is not created under /images, it does save it somewhere, no idea where.

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Here is what I do.

      1: start fog pxe menu
      2: deploy image
      3: fog starts image process and completes
      4: when the pc reboots, it displays a message with no bootable devices found.

      This happens if there was another windows install on the disk. Even though it is deleting the tables when imaging.

      When i delete everything from the disk, it works, and starts windows.

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth thanks, got it fixed by renaming the folder. I tried to image it and that worked, but it only boots on drives without data on it.

      If data is on the drive, it returns a error with non bootable media found.

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Ah yes, I really need my glasses 😉

      I have several images, so kinda weird to point to one image folder? Or just move them all in one big folder? Will change it from partimage gzip, thanks for the tip. Here is the picture you requested:

      0_1542835096852_4631c8b3-fd41-4ac1-9412-8203c784ed25-image.png

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth Ah, you’re right, whoops. Here is the output:

      [fogserver@localhost ~]$ ls -aLR /images
      /images:
      .  ..  dev  .mntcheck  postdownloadscripts  Win10uefi
      
      /images/dev:
      .  ..  0800271fe49c  080027aff8e3  080027c3f4a4  782bcb83d2b0  .mntcheck  postinitscripts
      
      /images/dev/0800271fe49c:
      .   d1.fixed_size_partitions  d1.minimum.partitions  d1.original.swapuuids  d1p2.img
      ..  d1.mbr                    d1.original.fstypes    d1p1.img               d1.partitions
      
      /images/dev/080027aff8e3:
      .   d1.fixed_size_partitions  d1.minimum.partitions  d1.original.swapuuids  d1p1.img  d1p3.img  d1.partitions
      ..  d1.mbr                    d1.original.fstypes    d1.original.uuids      d1p2.img  d1p4.img
      
      /images/dev/080027c3f4a4:
      .   d1.fixed_size_partitions  d1.minimum.partitions  d1.original.swapuuids  d1p2.img
      ..  d1.mbr                    d1.original.fstypes    d1p1.img               d1.partitions
      
      /images/dev/782bcb83d2b0:
      .  ..  d1.fixed_size_partitions
      
      /images/dev/postinitscripts:
      .  ..  fog.postinit
      
      /images/postdownloadscripts:
      .  ..  fog.postdownload
      
      /images/Win10uefi:
      .   d1.fixed_size_partitions  d1.minimum.partitions  d1.original.swapuuids  d1p1.img  d1p3.img  d1.partitions
      ..  d1.mbr                    d1.original.fstypes    d1.original.uuids      d1p2.img  d1p4.img
      
      

      I also made some screenshots on my settings. I also noted that the default storage is linked to eth0, but when I check with ifconfig -a it’s linked to p2p1, seems it’s not finding it because it’s using the wrong network interface? Can’t check now, not at work anymore.

      [fogserver@localhost ~]$ ifconfig -a
      lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
              inet 127.0.0.1  netmask 255.0.0.0
              inet6 ::1  prefixlen 128  scopeid 0x10<host>
              loop  txqueuelen 1000  (Local Loopback)
              RX packets 93585  bytes 70082869 (66.8 MiB)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 93585  bytes 70082869 (66.8 MiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      p2p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
              inet 192.168.2.122  netmask 255.255.255.0  broadcast 192.168.2.255
              inet6 fe80::3ba2:61b4:1954:f66e  prefixlen 64  scopeid 0x20<link>
              ether d4:be:d9:de:5b:ac  txqueuelen 1000  (Ethernet)
              RX packets 86165  bytes 25189476 (24.0 MiB)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 113615  bytes 35423513 (33.7 MiB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      

      0_1542823144617_fogstoragesetrtings.png
      0_1542823155895_fogimagesettings.png

      posted in FOG Problems
      I
      iekozz
    • RE: Unable to locate image store

      @Sebastian-Roth

      I get this as output:

      [fogserver@localhost ~]$ ls aLR /images
      ls: cannot access aLR: No such file or directory
      /images:
      dev  postdownloadscripts  Win10uefi
      [fogserver@localhost ~]$
      

      The dev postdownloadscripts Win10uefi line is in green

      I have captured the image first (obviously) and then went to deploy it via deploy image in the pxe menu.

      @Wayne-Workman said in Unable to locate image store:

      @iekozz See these:
      https://forums.fogproject.org/topic/10238/fog-1-4-2-unable-to-locate-image-store-bin-fog-download/8
      https://forums.fogproject.org/topic/9187/unable-to-locate-image-store-bin-fog-download/7

      Yes, seen those, but neither seems to be able to solve my problem, did everything that was suggested there.

      posted in FOG Problems
      I
      iekozz
    • Unable to locate image store

      Hi all,

      With all your help, I finally managed to install the fog server and put all my images on it. However, when I boot to the pxe menu and want to deploy a image, I get the following error: Unable to locate the image store

      I double checked the following:

      • The default storage is on and enabled
      • the images are located on my disk on /images
      • Every menu item I can see is linked to /images
      • There is a image about 10gb in size

      I have no idea what to do. Will post the error log tommorow when I get back to the shop, but I will take any suggestions now 🙂

      Thanks!

      posted in FOG Problems
      I
      iekozz
    • RE: Setup for one time install machines

      @george1421 Removed them via the powershell script but they came back when it boots to the desktop. When they are setting up the account. When windows takes a few mins to process everything.

      posted in Windows Problems
      I
      iekozz
    • RE: Setup for one time install machines

      @george1421 Thanks, hopefully this will remove those very annoying candy crush apps. MS default apps are fine.

      posted in Windows Problems
      I
      iekozz
    • RE: Setup for one time install machines

      @george1421 Just tested it in a vm, boots right to the desktop, all settings applied, yay!

      Used this sysprep command: sysprep.exe /generalize /oobe /shutdown /unattend:C:\Windows\Panther\autounattend.xml

      Is there a need to include the following code in the image? I don’t think so since I never use the pc again.

      <?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">
      <settings pass="specialize">
      <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <CopyProfile>true</CopyProfile>
      </component>
      </settings>
      <cpi:offlineImage cpi:source="wim:D:/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
      </unattend>```
      
      Thanks again. Too bad windows  still insists on installing the spam windows store apps even though I removed them in audit mode. Oh well.
      posted in Windows Problems
      I
      iekozz
    • RE: Setup for one time install machines

      @george1421

      I will just remove it, from the document. Also, I think I can windows configuration designer to make a xml file for me?

      Thanks again.

      posted in Windows Problems
      I
      iekozz
    • RE: Setup for one time install machines

      @george1421 said in Setup for one time install machines:

      @iekozz said in Setup for one time install machines:

      So a few questions about that:
      1: Can I capture the image the same way I do now and then use the xml file from here to handle the rest?: http://www.windowsafg.com/win10x86_x64_uefi.html

      Yes the xml file is used as an answer file to the windows OOBE during the first boot up of the target computer once imaged.

      2: I’m assuming windows 10 will use different drivers for every different machine? Like when you install it yourself via usb.

      Yes if you sysprep the machine it will search for new hardware when you boot during oobe. If you don’t sysprep then hardware detection will still happen but it will be messy results.

      3: Do I need to install the windows adk and fog client for this?

      Neither. The FOG client is only used IF you want to manage the target computer post imaging. If you will never see the target computer again then you don’t need to install the fog client on the reference/golden image. WAIK is only needed in this setup if you want to adjust the unattend.xml file by hand.

      4: What is the best folder to put the .xml file? I currently use C:/customize, hidden from view.

      Microsoft’s recommendation is c:\windows\panther. The older location is still supported but not recommended. c:\windows\setup\sysprep

      Thanks again, trying this now in a vm. Just be be sure, I don’t need to select wipe disk here in the url in mentioned above since all of our hdd’s are already wiped. alt text And also, don’t think I need the rest since I already installed it via fog?

      posted in Windows Problems
      I
      iekozz
    • Setup for one time install machines

      Hello all,

      Thanks to your help here, (https://forums.fogproject.org/topic/12627/problems-with-dhcp-server) I succesfully installed the fog server with a home router and reroute all pxe traffic to my new server. So far so good.

      As requested, I’m making a new topic with a different topic as suggested by the developer in the earlier topic. I’ve since made a image and saved it with sysprep following this guide: https://www.ceos3c.com/sysadmin/create-generalized-windows-10-image-deploy-fog-server/

      However, I’m not sure I need to install the windows adk and/or the fog client. I only need to be able to have a clean install with all the latest windows updates, and office. Windows and office will be activated at a later date. We will never use those machines ever again until it’s sold or used internally.

      What would be best if it booted right on to the windows desktop with all the right settings without going to the set-up. So far I have narrowed it down to these steps:

      1: Install win 10 pro on a vm or physical machine
      2: Enter audit mode, make all the changes you want and save with sysprep
      3: Save image to the fog server and install on as many machines as i’d like with windows handling all the driver stuff.

      So a few questions about that:

      1: Can I capture the image the same way I do now and then use the xml file from here to handle the rest?: http://www.windowsafg.com/win10x86_x64_uefi.html
      2: I’m assuming windows 10 will use different drivers for every different machine? Like when you install it yourself via usb.
      3: Do I need to install the windows adk and fog client for this?
      4: What is the best folder to put the .xml file? I currently use C:/customize, hidden from view.

      Thanks all 🙂

      posted in Windows Problems
      I
      iekozz
    • 1
    • 2
    • 1 / 2