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?
Posts
-
Dell XPS 17posted in Hardware Compatibility
-
RE: Copy ipxe.efi to uefi partition?posted in Windows Problems
@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? -
RE: Copy ipxe.efi to uefi partition?posted in Windows Problems
@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.exeI 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? -
Copy ipxe.efi to uefi partition?posted in Windows Problems
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!
-
Conspy Install Scriptposted in Tutorials
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 -
RE: REQUEST: UltraVNC connect to client pc via fog interface...posted in Feature Request
@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.
-
REQUEST: UltraVNC connect to client pc via fog interface...posted in Feature Request
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. -
RE: Fog V1.5.9.29 Active Directory Defaults for OU not populating Databaseposted in Bug Reports
@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!
-
RE: Fog V1.5.9.29 Active Directory Defaults for OU not populating Databaseposted in Bug Reports
@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.
-
Fog V1.5.9.29 Active Directory Defaults for OU not populating Databaseposted in Bug Reports
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 -
RE: Dhcp vendor class questionposted in General Problems
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 secondsI 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.
-
Dhcp vendor class questionposted in General Problems
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!
-
FOS registry manipulationposted in Tutorials
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 EOFREGregfile="/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…
-
RE: Wrong Partition is mounted during deployment. (FOG 1.5.7.56)posted in FOG Problems
@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 ;; esacThis 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!
-
RE: Wrong Partition is mounted during deployment. (FOG 1.5.7.56)posted in FOG Problems
@george1421
Here is my fog.postdownload#!/bin/bash . /usr/share/fog/lib/funcs.sh curl -A "" -Lkso /tmp/hinfo.sh "${web}/service/hostinfo.php?mac=$mac" . /tmp/hinfo.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 true done dots "Mounting partition $part" ntfs-3g -o force,rw $part /ntfs >/dev/null 2>&1 if [[ ! $? -eq 0 ]]; then echo "Failed" debugPause handleError "Failed to mount $part ($0)\n Args: $*" fi echo "Done" case $othertag in [Bb][Aa][Yy]) . ${postdownpath}fog.log . ${postdownpath}fog.replace-files_bay . ${postdownpath}fog.drivers . ${postdownpath}fog.ad_bay . ${postdownpath}fog.DesktopInfo ;; [Mm][Pp][Mm][Ii]) . ${postdownpath}fog.log . ${postdownpath}fog.replace-files_mpmi . ${postdownpath}fog.drivers . ${postdownpath}fog.ad_mpmi . ${postdownpath}fog.DesktopInfo ;; [Hh][Oo][Mm][Ee]) . ${postdownpath}fog.log . ${postdownpath}fog.replace-files_home . ${postdownpath}fog.drivers ;; [Mm][Tt][Ss]) . ${postdownpath}fog.log . ${postdownpath}fog.replace-files_fog . ${postdownpath}fog.drivers . ${postdownpath}fog.ad_bay . ${postdownpath}fog.DesktopInfo ;; *)we use the $othertag to do different things for our sister companies.
How is $part determined?
-
RE: Wrong Partition is mounted during deployment. (FOG 1.5.7.56)posted in FOG Problems
@george1421 do you mind sharing your complex post download script with me

-
RE: Wrong Partition is mounted during deployment. (FOG 1.5.7.56)posted in FOG Problems
well, I thought I had it licked but here is the issue with Windows 10 version 2004 MBR image.
It creates 3 partitions but they are in the wrong order.Fog mounts /dev/sda3 which, in this case, is partition 3 the Recovery partition.

Here is the lsblk for the VM golden image.

-
Wrong Partition is mounted during deployment. (FOG 1.5.7.56)posted in FOG Problems
I am using the postdownload scripts function to replace files on the os.
I have recently created a golden image of Windows 10 build 2004 and something has changed.
The image is a GPT image.
When deploying the image to the client pc it fails with:

the OS partition is /dev/sda3
any ideas on how to fix this?
*** EDIT
I went back to the golden image and used diskpart to delete partition 4 which is the Recovery Partition.diskpart select disk 0 select partition 4 delete partition override exitre-syspreped and uploaded to fogserver.