• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Quazz
    3. Best
    Q
    • Profile
    • Following 3
    • Followers 2
    • Topics 27
    • Posts 1,977
    • Best 545
    • Controversial 0
    • Groups 3

    Best posts made by Quazz

    • RE: Disabling password requirement in boot menu + rearranging boot menu

      You could also add the following lines to the top

      set username fogusername
      set password fogpassword

      Giving the following:

      set username fog
      set password password
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param ${username}
      param ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      
      posted in FOG Problems
      Q
      Quazz
    • RE: New Fog client and security

      @LibraryMark The keys are set up automatically, you don’t have to do anything for it.

      posted in General
      Q
      Quazz
    • RE: Defined NIC boot first in BIOS, then it wont boot automatically thru pxe menu to HDD

      What exit to hard drive type do you use? (under iPXE Boot Menu on WebGUI)

      posted in FOG Problems
      Q
      Quazz
    • Microsoft makes PowerShell open source!

      Seems like this will be very convenient for a lot of people.

      http://arstechnica.com/information-technology/2016/08/powershell-is-microsofts-latest-open-source-release-coming-to-linux-os-x/

      https://github.com/PowerShell/PowerShell

      posted in General
      Q
      Quazz
    • RE: Unable to locate image store.

      @ManofValor said:

      @Wayne-Workman So I went to re-image, without changing anything, and it’s working. The first time it got to the image screen, blue screen with red status bars, and it went really quick. This time it’s actually going through the process. I’ve got 7 1/2 min left.Fingers crossed.

      That’s because it does progress partition by partition, so the really quick one is the boot partition in front of your main one

      posted in FOG Problems
      Q
      Quazz
    • RE: Rolling FOG out to US Site

      https://www.shellcheck.net/

      Might be helpful if you’re going to use bash scripts to make sure there’s no mistakes in it.

      posted in General
      Q
      Quazz
    • RE: [SOLVED] Fatal Error: Failed to mount NFS Volume

      @arnaudrigole " i think i don’t understand … but i recreated a shared directory by NFS services on my Win 2008R2, and when i try to mount it as : “mount -t nfs //SRVADM:FOG/Images /srv/cifs/SRVADM/images it return me :” mount.nfs : Failed to resolve server //SRVADM: name or service not known" , tried with IP -> same."

      Your syntax is incorrect, it should be something like mount -t nfs SRVADM(or ip):/FOG/Images destinationpathhere (eg mount/images after doing mkdir mount/images)

      // is only used for SAMBA/CIFS paths and won’t work for other methods of connecting.

      Also, as a note, NFS needs full path to the destination when you try to mount it, not just to the shared folder. Not sure if that’s the case on your end!

      posted in FOG Problems
      Q
      Quazz
    • RE: Rolling FOG out to US Site

      @RobTitian16

      You don’t need the ; at the end of the cp commands.

      In fact, in your current structure you only need the ; after the if brackets because you have then on the same line.

      I don’t know (and somewhat doubt) that that’s the issue, but doesn’t hurt to check.

      Also, you don’t seem to check the existence of the /ntfs/Windows/Setup/Scripts folder before trying to copy there.

      So do something like

      if [ ! -d "/ntfs/Windows/Setup/Scripts" ]
      then
        mkdir "/ntfs/Windows/Setup/Scripts"
      fi
      

      Before the other two if statements.

      posted in General
      Q
      Quazz
    • RE: Error 500 - List All Images

      @Sebastian-Roth Sounds good yeah, I’d love to help out 🙂

      posted in FOG Problems
      Q
      Quazz
    • RE: Error for create image

      @oliviert82 That’s just a SMART check, it won’t detect problems with the filesystem itself.

      4 partitions was the default for Windows 10 UEFI. I think they changed it to 3 for new installs down the road somewhere, though.

      Anyway, you should run chkdsk /r on every partition. Boot of a Windows 10 install media, assign letters to each volume, run the check.

      posted in General
      Q
      Quazz
    • RE: FOG won't move images

      Tom found the issue.

      When I was troubleshooting when I originally made the file, I used a FTP client to verify everything was in order. This in turn created .listing files in the image folders. There was no need to delete hidden files, so FOG wasn’t programmed to do so… until now! The hidden files then meant that rmdir would fail because the folders contained files.

      But thanks to Tom’s awesome work it should now work every time 🙂

      posted in FOG Problems
      Q
      Quazz
    • RE: Need help making my own Debian 9 FOG server!

      Install FOG using git

      https://wiki.fogproject.org/wiki/index.php?title=Installation#Git

      It should automatically detect you’re running debian and install needed packages. If something goes wrong, please let us know.

      Given that they asked you to use Dnsmasq, I will assume you require ProxyDHCP. If so, choose no to install DHCP server for you in installation.

      If it completes succesfully, you’ll want to make some adjustments to satisfy your other requirements.

      Editing /opt/fog/.fogsettings you can alter certain parameters. You can change storageLocation straight away to refer to a location on your second drive.

      You’ll want to have (should be ok if you didn’t choose yes for DHCP) for proxyDHCP

      dodhcp='N'
      bldhcp='0'
      

      If you accidentally installed the DHCP server, you’ll want to disable it or remove it.

      Then you’ll want to look into dnsmasq:

      https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_with_dnsmasq

      edit: After making changes to /opt/fog/.fogsettings make sure to rerun the fog installer to apply them.

      posted in General
      Q
      Quazz
    • RE: Message: ftp_login(): Login incorrect

      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP#Credentials_.2F_Passwords

      posted in FOG Problems
      Q
      Quazz
    • RE: Automating OOBE setup?

      You will have to use an unattend.xml for that as you’ve already discovered. You can add to it what you need and ignore most of the rest, to be honest.

      posted in General
      Q
      Quazz
    • RE: Fog Boot Menu only works once

      @TomBagley This will most likely be due to the dhcp leases that are handed out allowing the other DHCP server to reach it before FOG has a chance.

      posted in FOG Problems
      Q
      Quazz
    • RE: I have some questions !!!!

      @vincitytaymodaimo said in I have some questions !!!!:

      Is there a way to make multiple tasks run one after another for the same host, except using scheduling or crone-style?
      What I am trying to understand if I’m able to accomplish a php form with a few checkbox that will make the host do 1 task after another (with reboots in between). I didn’t look yet in the database structure but is there any option right now for, for example, "task1, status (queued, completed, running), task2, status etc.
      If there isn’t any, I guess it won’t be very hard to accomplish it unless there are any failed trials I’m not aware of as a user.

      I guess you could do something like this using the API.

      I noticed there is an auto OS detection code, is it working yet? When does it trying to detect the installed OS, and can it detect a crashed/unbootable OS?

      Not sure what you’re referring to here. Where does the OS get auto detected? (this one is problematic anyway, since you can install multiple OS per disk)

      Is there a way to pass fog variables from FOG’s PXELinux (such as $mac, $ip, $hostname) to a dos application running from a memdisk image?

      Not that I’m aware of. A memdisk image would have no way to access iPXE variables.

      Also is there any way to update the database from DOS after the application is over - for example, running a diagnostic dos app and when it returns to dos, make fog server know whether it completed or failed?

      Anything scheduled as a task can. Others do not, by default.

      I thought of making network drivers load after exiting the application and upload a file to the tftp server named "<mac-address>-completed, then make a line in the init phase checking if the task completed successfully and changing it’s state, or else is there another way to access mysql server from DOS?

      There are some driver scripts floating about (postdownloadscripts) that will install drivers after deployment. They don’t report to the database itself, but they do output info to the screen.

      Clients never access the database itself, at best they contact the web server which may or may not access the database.

      posted in General
      Q
      Quazz
    • RE: FOG server destroyed

      FOG works perfectly fine without Active Directory, it’s how we use it here all the time.

      posted in FOG Problems
      Q
      Quazz
    • RE: The future of partclone and therefore FOG as it is

      I’m preparing a build with Buildroot version 2019.02.4 and one with that Buildroot version + partclone 3.12, will test and post them on Monday probably.

      posted in General
      Q
      Quazz
    • RE: Yet another iPXE question rev 7581

      To disable the login prompt try the following:

      Go to iPXE Menu Configuration

      Expand fog.quickimage

      Add

      set username foglogin (replace these with your username and password obviously)
      set password foglogin

      and change

      param username
      param password

      to

      param username ${username}
      param password ${password}

      posted in FOG Problems
      Q
      Quazz
    • RE: The future of partclone and therefore FOG as it is

      Okay, so I can’t believe I never noticed this, but -aX0 is an invalid parameter, it should be -a0

      Source: https://github.com/Thomas-Tsai/partclone/blob/master/src/partclone.c

      		"    -aX  --checksum-mode=X  Checksum formula to use to add error detection\n"
      		"                            where X:\n"
      		"                            0: No checksum (no slowdown, smallest image)\n"
      		"                            1: CRC32 (Fast to compute, basic detection)\n"
      

      Hopefully the source of the funky problem I was having, rebuilding now.

      posted in General
      Q
      Quazz
    • 1 / 1