• Blinking Cursor at Full host registration & inventory / compatibility mode

    Unsolved
    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • Acer 10th Gen - Deployment issues

    Unsolved
    2
    0 Votes
    2 Posts
    605 Views
    george1421G

    @zaboxmaster Well we are going to need your assistance to help debug this. I can give you the steps needed to collect the information to help debug this.

    Schedule a new deploy/capture task, but before you tick the schedule task button, tick the debug checkbox. Now schedule the task. PXE boot the target computer. After several screens of text you need to clear with the enter key, you will be dropped to the FOS Linux command prompt. This next 3 steps will help with remote debugging and for copying the results out to post here. Key in ip a s and collect the IP address of the target computer. Reset root’s password with passwd Give it a simple password such as hello This password will be reset at the next reboot. Now connect to the target computer using ssh, either ssh from linux or putty from a windows computer. Key in and post the results here of the following commands
    uname -a
    lsblk
    lspci -nn
    grep -i -e firm /var/log/syslog Keep the debugging session open for additional commands.
  • Formatting LDAP Server Connection

    Unsolved
    1
    1 Votes
    1 Posts
    454 Views
    No one has replied
  • Latitude 7340

    Unsolved
    1
    0 Votes
    1 Posts
    479 Views
    No one has replied
  • post-installation script

    Unsolved
    2
    0 Votes
    2 Posts
    279 Views
    george1421G

    @professorb24 I have a tutorial on how to do this with Dell computers, but the concept is almost the same for other vendors. The key is to have the driver files in inf format so pnputil.exe can install them. Lenovo use to have drivers in .exe format and not .inf format. That made things a bit harder when I was trying to setup lenovo computers.

    Looking at the script and it doesn’t appear to do anything. other than mount a wim image, but also be aware that the post install script runs withing a linux environment so it can’t directly interact with windows or the .wim file.

    Your post install script should copy the drivers over to the target computer after the image is placed on the target computer. All that FOG can do is leave files behind for windows to find them during OOBE/WinSetup.

  • Image capture stuck

    Unsolved
    5
    0 Votes
    5 Posts
    915 Views
    N

    Each time I try, I take care to erase all active tasks.

    I reinstalled smartInstaller on the master with the IP address of my FOG server rather than the FOG server name and now it works!

    Problem solved.

    Thanks for the reply 😉

  • Multiple TFTP Servers

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    G

    @george1421 Using “tcpdump” we figured out that the DISCOVER packet was getting lost on its way to the DNSMASQ service. As you stated, we could reach HTTP/HTTPS between the remote location and here, so that wasn’t the problem.

    We got it working by installing a storage node, and installing DNSMASQ in a server that we located in the remote location’s switch. As my original post said, we got problems trying this solution, but after copying the “/tftpboot” folder with all the PXE binaries from our FOG server to the second server, it worked well because it succesfully reaches the boot.php file and the chainload error doesn’t appear.

    Your response has been incrediby useful, thank you very much for your support.

    Gorka.

  • 0 Votes
    5 Posts
    1k Views
    P

    @Tom-Elliott i’ve tried this fog.custominstall

    Create the following file named fog.custominstall in the following path on the FOG server /images/postdownloadscripts.
    Copy the content into that newly created file
    #!/bin/bash
    . /usr/share/fog/lib/funcs.sh
    [[ -z $postdownpath ]] && postdownpath=“/images/postdownloadscripts/”
    case $osid in
    5|6|7|9)
    clear
    [[ ! -d /ntfs ]] && mkdir -p /ntfs
    getHardDisk
    if [[ -z $hd ]]; then
    handleError “Could not find hdd to use”
    fi
    getPartitions $hd
    for part in $parts; do
    umount /ntfs >/dev/null 2>&1
    fsTypeSetting “$part”
    case $fstype in
    ntfs)
    dots “Testing partition $part”
    ntfs-3g -o force,rw $part /ntfs
    ntfsstatus=“$?”
    if [[ ! $ntfsstatus -eq 0 ]]; then
    echo “Skipped”
    continue
    fi
    if [[ ! -d /ntfs/windows && ! -d /ntfs/Windows && ! -d /ntfs/WINDOWS ]]; then
    echo “Not found”
    umount /ntfs >/dev/null 2>&1
    continue
    fi
    echo “Success”
    break
    ;;
    )
    echo " * Partition $part not NTFS filesystem"
    ;;
    esac
    done
    if [[ ! $ntfsstatus -eq 0 ]]; then
    echo “Failed”
    debugPause
    handleError "Failed to mount $part ($0)\n Args: $"
    fi
    echo “Done”
    debugPause
    . ${postdownpath}fog.copydrivers
    # . ${postdownpath}fog.updateunattend
    umount /ntfs
    ;;
    *)
    echo “Non-Windows Deployment”
    debugPause
    return
    ;;
    esac

    Save and exit your text editor.
    Make the script executable with chmod 755 /images/postdownloadscripts/fog.custominstall **this part i get chmod: cannot * chmod 755 ‘/images/postdownloadscripts/fog.custominstall’ :No such file or directory please help!!!
    fog.copydrivers

    Create the following file named fog.copydrivers in the following path on the FOG server /images/postdownloadscripts.
    Copy the content into that newly created file
    #!/bin/bash
    ceol=tput el;
    manu=dmidecode -s system-manufacturer;
    dots “Identifying hardware”
    case $manu in
    [Ll][Ee][Nn][Oo][Vv][Oo])
    machine=$(dmidecode -s system-version)
    ;;
    [Dd][Ee][Ll][Ll])
    machine=$(dmidecode -s system-product-name)
    ;;
    I[Nn][Tt][Ee][Ll])
    # For the Intel NUC and intel mobo pick up the system type from the
    # baseboard product name
    machine=$(dmidecode -s baseboard-product-name)
    ;;
    *)
    # Technically, we can remove the Dell entry above as it is the same as this [default]
    machine=$(dmidecode -s system-product-name)
    ;;
    esac

    if the machine isn’t identified then no need to continue with this script, just return to caller

    if [[ -z $machine ]]; then
    echo “Unable to identify the hardware for manufacturer ${manu}”;
    debugPause;
    return;
    fi
    echo “${machine} Identified”;

    Removes Spaces in machine name, works better with path definitions machine=“${machine%”${machine##*[![:space:]]}“}”; 14-Sep-23 Jeffrey Boulais posted that the above code did not work for his install. He supplied this code as an alternative. If you run in to a problem using my code comment out my code and see if his code works better for your installation. The only right way is the one that works. Thank you Jeff for your input. machine=“$(echo -e “${machine}” | tr -d ‘[:space:]’)” 03-Jan-24 marsface posted that he could not get either of the two above machine clean up commands to work correctly so he provided this one below which worked for him.

    machine=“${machine//[[:space:]]/}”

    dots “Verifying we’ve found the OS disk”
    if [[ ! -d /ntfs/windows && ! -d /ntfs/Windows && ! -d /ntfs/WINDOWS ]]; then
    echo “! OS root Not found !”;
    debugPause
    return;
    fi
    echo “Found”;

    dots “Verifying target Arch”
    system64=“/ntfs/Windows/SysWOW64/regedit.exe”
    [[ ! -f $system64 ]] && arch=“x86” || arch=“x64”
    echo “${arch} found”;

    debugPause

    set osn path names based on the osid set in the FOG WebGui

    case $osid in
    5) osn=“win7” ;;
    6) osn=“win8” ;;
    7) osn=“win8.1” ;;
    9) osn=“win10” ;;
    esac

    dots “Preparing Drivers”
    clientdriverpath=“/ntfs/Drivers”
    remotedriverpath=“/images/drivers/$machine/$osn/$arch”

    debugPause

    if [[ ! -d “${remotedriverpath}” ]]; then
    echo “failed”;
    echo " ! Driver package not found for ${machine}/$osn/$arch ! ";
    debugPause;
    return;
    fi
    echo “Ready”;

    debugPause

    [[ ! -d $clientdriverpath ]] && mkdir -p “$clientdriverpath” >/dev/null 2>&1
    echo -n “In Progress”

    rsync -aqz “$remotedriverpath” “$clientdriverpath” >/dev/null 2>&1

    [[ ! $? -eq 0 ]] && handleError “Failed to download driver information for [$machine/$osn/$arch]”

    debugPause

  • Deployment Image Issues

    Unsolved
    1
    0 Votes
    1 Posts
    272 Views
    No one has replied
  • Associating a new Snapin, queues complete chain of previously associated snapins.

    Unsolved
    1
    0 Votes
    1 Posts
    315 Views
    No one has replied
  • inacessible boot device lenovo thinkbook laptop

    Unsolved
    2
    0 Votes
    2 Posts
    297 Views
    george1421G

    @professorb24 I can read your post a number of ways. Let me see if I understand the intent. Let me use my words to describe your issue as I understand it.

    You imaged a computer with the same image that works with an HP laptop onto a Lenovo. When you boot through the FOG iPXE menu on the HP, it exits correctly and the target computer boots as expected. But when I boot through the FOG iPXE menu with the Lenovo it fails to boot saying inaccessible boot device.

    If I understand the issue correctly, then if you changed the boot order on the lenovo so that it boots directly from the hard drive does it boot correctly? In my mind its not clear if it is an image issue (something wrong with the information on the disk) or is it an iPXE or refind issue.

  • Creating image - permission denied

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    george1421G

    @plyons7890 The error message about an unclean file system is typically related to the source computer not being powered off correctly and files are still marked open.

    If the source computer is a ms windows computer I can understand this error. You must not use the standard “shutdown” command because it is not really a shutdown/power off command but more of an advanced sleep command, leaving files open.

    You can/should do the following

    Let sysprep power off the computer before cloning with FOG. Turn off fast startup in windows, this will switch shutdown into its traditional shutdown mode. Use the windows shutdown command shutdown -s -t 0 command to power off the computer before cloning.
  • unable to install fog client

    Unsolved
    1
    0 Votes
    1 Posts
    209 Views
    No one has replied
  • NBP is too big to fit in free base memory

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    G

    @george1421 Okay, then to make it easier, I’ll just use UEFI boot to avoid any problems. Thanks!

  • Could not boot: HTTP 5xx Server Error

    Unsolved
    1
    0 Votes
    1 Posts
    371 Views
    No one has replied
  • PXEv4 couldn't find ip address

    Unsolved
    3
    0 Votes
    3 Posts
    466 Views
    Tom ElliottT

    @george1421 NBP is almost always the “label” of UEFI, but you’re describing PXEv4 MAC?

    Similarly, hte 0.0.0.0 seems to indicate that there’s no IP address on the machine in question. Maybe there’s no DHCP server.

    Without an image or more detail, we’re not sure how to help as @george1421 as suggested.

  • Accidentally deleted images/dev like an idiot, please help.

    Unsolved
    3
    0 Votes
    3 Posts
    417 Views
    Tom ElliottT

    @switch_apoc You’re not an idiot. And yes, simply rerunning the installer would have been my first suggestion so glad you got it all working 🙂

  • Unexpected Bootloader Interaction with rEFInd

    Unsolved
    1
    0 Votes
    1 Posts
    270 Views
    No one has replied
  • update the memtest to the latest version

    Unsolved
    3
    0 Votes
    3 Posts
    489 Views
    C

    @george1421 Thanks.

  • Add scheduling algorithm

    Unsolved
    2
    0 Votes
    2 Posts
    304 Views
    Tom ElliottT

    @tia-clark What is ifogsim?

    what do you mean “scheduling algorithm”?

123

Online

12.3k

Users

17.4k

Topics

155.8k

Posts