• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jmason
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 55
    • Best 9
    • Controversial 0
    • Groups 0

    Posts made by jmason

    • RE: Windows Boot Manager boot option disappears after Image

      @Sebastian-Roth I have this issue on the Dell 7730 as well, but after the successful deploy in debug task mode the CentOS boot option reappeared, however the new long name for the windows partition is still there, also the new long name for the linux drive/partition is still there even after the CentOS boot option reappeared.

      Another problem was that when the CentOS came back into the bios it was placed at the top of the boot order sequence, which breaks PXE boot requiring a reboot into setup to correct.

      dell7730bios-bootsequence.PNG

      I believe that I ran across something related to that on the forums while searching for other information, but at the time I didn’t care what the drive/partition was called here so long as it worked.

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @george1421 said in Dell 7730 precision laptop deploy GPT error message:

      @Sebastian-Roth (this is more of a brain dump than an answer)
      The Precision 7730 generation is pretty new, so the first thing I would check/watch for is firmware update availability.

      There is a BIOS update with the following fixes, but don’t see anything related to our issue. I can go ahead and update the system with all the latest fixes available if requested.

      Dell Support for Precision 7730

      • Fixes the issue where the mouse lags when the Dell TB16 dock is unplugged or plugged in.
      • Fixes the issue where the system cannot set hard drive password with Dell Client Configuration Toolkit.
      • Fixes the issue where the system always boots to Rufus formatted USB drives instead of internal hard drive.
      • Improves system performance under heavy load when connected to Dell TB18DC Dock.
      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @Sebastian-Roth said in Dell 7730 precision laptop deploy GPT error message:

      @george1421 said in Dell 7730 precision laptop deploy GPT error message:

      Do we have empirical evidence that these disks are being swapped as being reported by the uefi bios?

      See @jmason’s lsblk listings. From my point of view this is evidence enough. The disks are different size and do swap. As far as I got the postings it seems like the output was always taken on the same deploy system. One time 477 GB drive is last and the other time it’s first.

      I have indeed been working with only 1 laptop with the deploy attempts and only 1 laptop from which the capture image was created, and both are identical machines. I have 20 of them in total.

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @Sebastian-Roth

      I ran it 10 times and noticed a slight difference on the 6th and 9th time.

      Test10times.png

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @Sebastian-Roth

      Well if you need any testing of anything just let me know, I’ll be more than happy to run things on these systems

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @Sebastian-Roth

      Looks like that is what it is doing, after the failed redeploy (didn’t run in debug that time of course 😞 ) I ran it in debug and the lsblk gives:

      nvme0n1     259:0    0   477G  0 disk    
      nvme1n1     259:1    0 953.9G  0 disk           
      |-nvme1n1p1 259:2    0   128M  0 part
      |-nvme1n1p2 259:3    0   200M  0 part
      |-nvme1n1p3 259:4    0     1G  0 part
      `-nvme1n1p4 259:5    0 475.6G  0 part
      

      However it did not hit the error this time and appears to be deploying again now, but can’t see that working for both partitions with the mismatch…wierd.

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      Yes I’ll do that, as when I just attempted to redeploy the original error returned. These are also pretty new systems so that could be a reason for not seeing it much before.

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @george1421

      They are identical

      NAME            MAJ:MIN RM    SIZE RO TYPE MOUNTPOINT
      nvme0n1     259:0    0 953.9G  0 disk           
      |-nvme0n1p1 259:6    0   650M  0 part
      |-nvme0n1p2 259:7    0   128M  0 part
      |-nvme0n1p3 259:8    0 952.1G  0 part
      `-nvme0n1p4 259:9    0   990M  0 part
      nvme1n1     259:1    0   477G  0 disk           
      |-nvme1n1p1 259:2    0   128M  0 part
      |-nvme1n1p2 259:3    0   200M  0 part
      |-nvme1n1p3 259:4    0     1G  0 part
      `-nvme1n1p4 259:5    0 475.6G  0 part
      
      

      Interesting thing right after my post, I attempted to add /dev/nvme1n1 as the Host Primary Disk, booted the task in debug mode, had error it couldn’t find the hard drives. Cancelled task and then set it the /dev/nvme0n1 and got the same message. Cleared the Host Primary Disk field and restarted again. This time there was no Failed message…

      Erasing current MBR/GPT Tables …Done
      Restoring Partition Tables (GPT)…Done
      Erasing current MBR/GPT Tables …Done
      Restoring Partition Tables (GPT)…Failed
      

      but

      Erasing current MBR/GPT Tables …Done
      Restoring Partition Tables (GPT)…Done
      Erasing current MBR/GPT Tables …Done
      Restoring Partition Tables (GPT)…Done
      

      and the deploy started. It has completed deploying the nvme1n0 (windows drive) and the partitions to nvme1n1 (linux drive).

      Though it seems to be working, I am puzzled as to what changed and when all I did was chang the Hard Disk Primary parameter a few times and when setting it back to empty and restarting it worked.

      I guess it is possible that the deploy to machine had something misaligned somewhere as I have been attempting to deploy to it over and over. But I have also been restoring the original image using macrium and testing it before each FOG deploy attempt.

      Will also now attempt to deploy again to the same laptop.

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      These are all identical systems, so could this mean some part of the capture process is possibly incorrect or something else?

      One thing i’ve noticed is under windows the devices are disk 0 (500GB Linux) and disk 1 (1TB Windows), under pxe boot nvme0n1 (1TB windows) and nvme1n1 (500GB Windows) not sure if that would make any difference, I’m thinking not since it’s UEFI.

      Would specifying one of these nvme drives as the Host Primary Disk make a difference?

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      After stepping through the debug deploy as requested, I entered sgdisk -gl /images/DELL7730_Win10_Centos7/d2.mbr /dev/nvme1n1 and got some interesting output:

      Creating new GPT entries.
      Warning! Current disk size doesn't match that of the backup!
      Adjusting sizes to match, but subsequent problems are possible!
      
      Warning! Secondary partition table overlaps the last partition by 1000160625 blocks!
      You will need to delete this partition or resize it in another utility
      
      Problem: partition 3 is too big for the disk.
      
      Problem: partition 4 is too big for the disk.
      Aborting write operation!
      Aborting write of new partition table.
      
      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      I just overlooked the debug checkbox…running now

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @Sebastian-Roth said in Dell 7730 precision laptop deploy GPT error message:

      Let’s try to tackle this. Please schedule another debug deploy task. Start up the client and fire up fog when you get to the shell. Step through and when you are back to the console after the error please type sgdisk -gl /images/DELL7730_Win10_Centos7/d2.mbr /dev/nvme1n1 (most probably returns an error as well. Please take a picture or copy&paste the error message if you are connected via SSH to the client)

      Now as I mentioned I am not a linux person, so I typed fog at the prompt after booting into debug.

      I get:

      ####
      #   An Error has been detected !
      ####
      
      Fatal Error: Unknown request type :: Null
      
      Kernel variables and settings:
      bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size-127000 web=http://192.168.0.1/fog/ consoleblank=0 rootfstype=ext4 shutdown=1 mac=macaddressoflaptop ftp=192.168.0.1 storage=192.168.0.1:images/dev storageip=192.168.0.1 osid=50 irqpoll hostname=mylaptop isdebug=yes shutdown=1
       * Press [Enter] key to continue
      

      Then back to command prompt #

      Is there something I’m missing to run deploy in debug mode?

      Looks like I have to type in more than just fog to get the deploy to run in debug.

      I found these directions but they are about 3 years old:

      https://wiki.fogproject.org/wiki/index.php/Debug_Mode#Deploy_Debug

      Are these still correct for the current version?

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      @Sebastian-Roth Thanks for the reply, I will remake the image with Partclone Gzip and run the debug session as instructed tomorrow when I’m back in the office.

      Since you mention FOG not being ready to easily do a multiOS multidrive setup, could I get the same result running separate capture and deploy for the 2 different drives and would having the boot loader on only one drive cause a problem or not?

      posted in FOG Problems
      jmasonJ
      jmason
    • RE: Dell 7730 precision laptop deploy GPT error message

      When selecting Windows as the OS for the image it appears to get further…it clears the screen…places a red on green Please wait… box and then displays:

      cat: /tmp/partclone.log: No such file or directory
      #
      # A warning has been detected
      #
      Image failed to restore and exited with code 1 (writeImage)
         Info:
         Args Passed: /images/DELL7730_Win10_Centos7/d2p1.img /dev/nvme1n1p1
      #
      # Will continue in 1 minute
      #
      

      after a minute it appeared to update the Args Passed d#p#.img and nvme#n#p# parameters.
      after a few times it appeared to move on to another process that scrolled by to fast to read
      this apparently happened a few times and each time updating the Args Passed.
      It again cleared the screen displayed please wait and updated the line:

      Args Passed:  /images/DELL7730_Win10_Centos7/d2p4.img* /dev/nvme1n1p4
      #
      # Will continue in 1 minute
      #
      * Clearing ntfs flag....Done
      * Resetting UUIDs for /dev/nvme1n1
      * Disk UUID being set to...
      * Partition type being set to....1:alphanumeric number
      * Partition uuid being set to....1:alphanumeric number
      

      …etc…
      then restarted.

      Afterwards windows appeared to boot, but centos would not reporting:

      error: no such device
      error: file '/vmlinuz-3.10...etc' not found
      error: you need to load the kernal first.
      

      Any ideas?

      posted in FOG Problems
      jmasonJ
      jmason
    • Dell 7730 precision laptop deploy GPT error message

      First time FOG user coming from a dead clonezilla Ubuntu server. I am NOT a Linux expert, I inherited that server. FOG 1.5.5 running on Centos 7.6.1810 – new installations on an older dell server 3620 desktop. I’ve setup an isolated FOG configuration as I will only ever image our training systems.

      The PCs are identical Dell 7730 precision laptops that UEFI boot (believe its true uefi). PXE boot appears to be working great. Secure Boot - Disabled. Sata operation within the bios is set to AHCI.

      There are 2 GPT drives which appear to fog using lsblk in debug mode as /dev/nvme0n1 and /dev/nvme1n1 both apparently M.2 PCIe drives, and both with 4 partitions each.

      Drives under windows appear as (disk0 centos7)(disk1 windows10)
      Under Linux expecting (nvme0n1 centos7) (nvme1n1 windows10) but it’s random base on init of the drives.

      It does have access to the internet via a 2nd wireless nic and static subnet. Read lots of posts on the forum here to get to this point where I have spent a few days attempting to resolve my issue by even more reading. I’m hoping I’ve just not understood something or haven’t been able to track down the correct settings.

      I’m wanting to capture both drives at once and then deploy to all of the other laptops, but there is no OS Dropdown selection item for a multisetup and I have been unable to find directions on how to determine which selection to make. I’ve tried selecting the options as below but get the error restoring GPT partition tables:

      Linux - (50) and with Windows 10 - (9)
      Multiple Partition Image - All Disks (Not Resizable) - (3)
      Everything - (1)

      PartImage - switches on its own to Partclone Gzip after I attempt to deploy a captured image.

      All files in my /images directory appear to be the proper size and the uuids appear to be correct.

      So during the deploy PXE boot with Linux(50) selected as the OS, I receive:

      …
      Erasing current MBR/GPT Tables …Done
      Restoring Partition Tables (GPT)…Done
      Erasing current MBR/GPT Tables …Done
      Restoring Partition Tables (GPT)…Failed

      Error trying to restore GPT partition tables (restorePartitionTablesAndBootLoaders)
      Args Passed: /dev/nvme1n1 2 /images/DELL7730_Win10_Centos7 50 all
      CMD Tried: sgdisk -gl /images/DELL7730_Win10_Centos7/d2.mbr /dev/nvme1n1
      Exit returned code 4

      Kernel Variables and settings:
      bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size-127000 web=http://192.168.0.1/fog/ consoleblank=0 rootfstype=ext4 mac=macaddressoflaptop ftp=192.168.0.1 storage=192.168.0.1:images/ storageip=192.168.0.1 osid=50 irqpoll hostname=mylaptop chkdesk=0 img=DELL7730_Win10_Centos7 imgType=mpa imgPartitionType=all imgid=6 imgFormat=0 PIGZ_COMP=-6 hostearly=1 type down

      I’m not sure what to do now to resolve the issue.

      posted in FOG Problems
      jmasonJ
      jmason
    • 1
    • 2
    • 3
    • 3 / 3