I have some Dell XPS laptops that I am having issues with fog generating the hostSecToken. i am not sure if its a fog issue or an issue with these new Dells?
what are the steps I should take to troubleshoot?
I have some Dell XPS laptops that I am having issues with fog generating the hostSecToken. i am not sure if its a fog issue or an issue with these new Dells?
what are the steps I should take to troubleshoot?
@tom-elliott said in Dell XPS 17:
@greg-plamondon I should add, there are some steps involved besides just making the switch itself.
If you want the machines to reboot and operation:
- Boot windows
- Open msconfig.exe
- Click Boot Tab
- Check box for “Safe boot”
- Reboot machine
- Load to Bios and Switch SATA operation Mode.
- Reboot machine and boot into windows.
- Open msconfig.exe
- Click Boot Tab
- Uncheck Box for “Safe boot”
- Restart machine and do whatever you need to.
Tom can I do this before sysprep?
Fog 1.5.9.62 Host location reverts to “- Please select an Option -” when making any changes to the host whether it is snapins or settings.
@tom-elliott said in Dell XPS 17:
@greg-plamondon Have you tried disabling “Raid On” and switching over to “AHCI” for the SATA operation mode?
That worked Tom.
Thanks!
I am having issues with the Dell XPS 17 not detecting a hard drive.
I have tried the latest 5.10.19 64Bit kernel.
Does anyone have any suggestions?
@sebastian-roth Thanks!
That worked for me. I would also note that this is Windows 10 1607 Enterprise LTSB.
that could be why the partition is not partition 1?
@george1421 I followed the post you linked.
In my case, it was partition 2.
I then assigned partition 2 drive letter b in disakpart. killed explorer and restarted explorer.
select disk 0
select part 2
assign letter=b
exit
taskkill /im explorer.exe /f
explorer.exe
I then copied and replaced the bootx64.efi with the renamed ipxe.efi from the fogserver.
Once the file was copied over I removed the drive letter and rebooted.
I don’t see the menu while it’s booting. what am I supposed to see?
Re: Windows 10 change BIOS boot order after deploy
@JJ-Fullmer, In the above topic you stated that you were able to copy the ipxe.efi to the machine’s uefi partition. How do you go about doing this automated? could elaborate on the process for me? I have VERY little experience with uefi.
Thanks!
Re: Using Conspy to View remote PC imaging progress
Here is the script I use to install conspy on the fogserver/storage nodes.
yum install conspy -y
echo -e '#(>)##### UnPacking Init.xz #####'
cd /var/www/fog/service/ipxe/
xz -d init.xz
mkdir initmountdir
echo -e '#(>)##### Mounting Init #####'
mount -o loop init initmountdir
cd /var/www/fog/service/ipxe/initmountdir
rm -f root/.ssh/authorized_keys
#### Install SSH Keys
echo -e '#(>)##### Installing SSH Keys #####'
needreload=0
if [ ! -d root/.ssh ]; then
echo -e '#(->)Creating SSH File'
# Create the autorized keys and add the keys
mkdir root/.ssh
touch root/.ssh/authorized_keys
# ssh Keys
/bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy11111111' >> root/.ssh/authorized_keys
/bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy22222222' >> root/.ssh/authorized_keys
else
if [ ! -f root/.ssh/authorized_keys ]; then
echo -e '#(->)Creating new SSH File'
# Add all the keys
touch root/.ssh/authorized_keys
/bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy11111111' >> root/.ssh/authorized_keys
/bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy22222222' >> root/.ssh/authorized_keys
fi
fi
echo -e '#(>)##### Coping ConSpy #####'
rsync -avh --progress /usr/bin/conspy /var/www/fog/service/ipxe/initmountdir/bin
rsync -avh --progress /usr/lib64/libncurses.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
rsync -avh --progress /usr/lib64/libncurses.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
rsync -avh --progress /usr/lib64/libncursesw.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
rsync -avh --progress /usr/lib64/libncursesw.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
rsync -avh --progress /usr/lib64/libtinfo.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
rsync -avh --progress /usr/lib64/libtinfo.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
echo -e '#(>)##### Coping Nano #####'
rsync -avh --progress /usr/bin/nano /var/www/fog/service/ipxe/initmountdir/bin
echo -e '#(>)##### Re-Packing Init.xz #####'
cd /var/www/fog/service/ipxe/
umount initmountdir
rmdir initmountdir
xz -C crc32 -9 init
chown fogproject:apache init.xz
#ls -al
echo -e '#(-)##### Completed #####'
cd /root
@george1421 said in REQUEST: UltraVNC connect to client pc via fog interface...:
http://<host_name>:5800
No, I just get a white page. I think that’s trying to use Java.
can someone with some plugin coding ability put together a plugin that adds the connect to pc via UltraVNC from the fog web GUI?
I saw this in the WIKI but its fairly old.
@Tom-Elliott said in Fog V1.5.9.29 Active Directory Defaults for OU not populating Database:
Found and fixed in 1.5.9.34
Thank you,
Thanks!
@Tom-Elliott said in Fog V1.5.9.29 Active Directory Defaults for OU not populating Database:
SELECT TABLE_SCHEMA as DbName ,TABLE_NAME as TableName ,ENGINE as Engine FROM information_schema.TABLES WHERE ENGINE=‘Innodb’ AND TABLE_SCHEMA NOT IN(‘mysql’,‘information_schema’,‘performance_schema’) AND TABLE_SCHEMA = ‘fog’;
Tom, the database is configured as MyISAM.
I have an issue with the Default AD/OU not being applied when clicking update. It also does not apply the AD/OU when doing a Quick Registration.
here is a video I created that shows my issue. I have to go to the Active directory for each host and click on the dropdown and select the OU even though it’s already the default OU in the GUI.
Video
I have some HP EliteDesk 705 G5 PC’s that are giving me grief on PXE booting.
If I use uefi to boot it works. I need to use legacy pxe.
I get a messages that says:
Configuring (net0 xx:xx:xx:xx:xx:xx)........ No configuration methods succeeded (http://ipxe.org/040ee119)
DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds
I am trying to configure a dhcp section for the EliteBooks.
so far i have this:
class "EliteDesk" {
match if substring(option vendor-class-identifier, 0, 8) = "MSFT 5.0";
filename "realtek.kpxe";
}
But i am not sure if it is correct or if it’s being used.
I have set the
set vendor-string = option vendor-class-identifier;
option in dhcpd.conf to show vendor classes in DHCP logs.
I am trying to figure out what 0, 20 refers to in the line “match if substring(option vendor-class-identifier, 0, 20) = “PXEClient:Arch:00000”;” in the dhcpd.conf file.
class "Legacy" {
match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
filename "undionly.kkpxe";
}
Thanks!
Re: [The magical](mystical FOG post download script)
Can someone explain this bit of code?
regfile="/ntfs/Windows/System32/config/SOFTWARE"
key="\Microsoft\Windows\CurrentVersion\DevicePath"
devpath="%SystemRoot%\inf;%SystemRoot%\DRV";
reged -e "$regfile" &>/dev/null <<EOFREG
ed $key
$devpath
q
y
EOFREG
regfile="/ntfs/Windows/System32/config/SOFTWARE"
is this an actual registry file that must exist to be imported?
if so what must it contain?
key="\Microsoft\Windows\CurrentVersion\DevicePath"
I have looked for this key in regedit and cannot find it…
@george1421 said in Wrong Partition is mounted during deployment. (FOG 1.5.7.56):
@Greg-Plamondon You might want to update your partition detection script to the one used here:
#!/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
This one uses a bit more intelligence to find which partition actually has windows on it. I think your script is just picking the last partition and calling it good enough.
Thanks, That fixed it!