• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jam1987
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 12
    • Best 1
    • Controversial 0
    • Groups 0

    jam1987

    @jam1987

    1
    Reputation
    13
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jam1987 Unfollow Follow

    Best posts made by jam1987

    • RE: Problems with using-fog-to-pxe-boot-into-your-favorite-installer

      @george1421 Fantastic!!! I got Mint running and booting live over the network. Thank you so much for the info.

      For everyone’s use I created:

      /images/os/mint where I used 7z to extract the entirety of the mint.iso
      /tftpboot/mint where I placed the vimlinuz and initrd.lz from the casper folder in the previously mentioned extracted iso.

      My menu item in PXE is now this:

      kernel tftp://${fog-ip}/mint/vmlinuz
      initrd tftp://${fog-ip}/mint/initrd.lz
      imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/images/os/mint systemd.mask=tmp.mount ip=dhcp rw
      boot
      

      Boots great!! ClamAV scanning of Windows drives here I come!

      posted in General
      J
      jam1987

    Latest posts made by jam1987

    • RE: Black screen and blinking cursor after selecting anything from FOG menu

      @Sebastian-Roth , while using 1.5.4 all worked perfectly fine. I updated to 1.5.6 recently but did not need to use it. Logged into to use it yesterday and 1.5.7 popped up so I updated and now it’s not working.

      I’m using this kernel currently, which was auto enabled during the install:

      de8c4b3a-4602-4ec6-a1b5-d6a51e1f1507-image.png

      I’ll try it on another piece of hardware.

      posted in FOG Problems
      J
      jam1987
    • RE: Black screen and blinking cursor after selecting anything from FOG menu

      I just tried adding a blank laptop to FOG, added it as a host and gave it a blank image and ran a capture.

      Rebooted and it is now sitting here:

      ed499041-5ff2-44aa-a2df-eed2469c4e14-image.png

      posted in FOG Problems
      J
      jam1987
    • RE: Black screen and blinking cursor after selecting anything from FOG menu

      @Sebastian-Roth said in Black screen and blinking cursor after selecting anything from FOG menu:

      http://x.x.x.x/fog/service/ipxe/boot.php?mac=aa:bb:cc:dd:ee:ff

      @Sebastian-Roth here is the print out from a host:

      #!ipxe
      set fog-ip 192.168.2.161
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://192.168.2.161/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0x00567a 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is registered as IT-FRESH-DT!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.keyreg Update Product Key
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.quickdel Quick Host Deletion
      item fog.sysinfo Client System Information (Compatibility)
      item fog.approvehost Approve This Host
      item fog.Antivirus Antivirus
      choose --default fog.local --timeout 3000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk initrd=memtest.bin iso raw
      initrd memtest.bin
      boot || goto MENU
      :fog.keyreg
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param keyreg 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.deployimage
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.multijoin
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.quickdel
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param delhost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://192.168.2.161/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.2.161:/images/ storageip=192.168.2.161 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :fog.approvehost
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param approveHost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.Antivirus
      kernel tftp://${fog-ip}/mint/vmlinuz
      initrd tftp://${fog-ip}/mint/initrd.lz
      imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/images/os/mint systemd.mask=tmp.mount ip=dhcp rw
      boot
      param sysuuid ${uuid}
      :bootme
      chain -ar http://192.168.2.161/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      

      You helped me the other week getting FOG upgraded to 1.5.6 from 1.5.4 I had to change some settings in relation to MariaDB-client and server for the upgrade to progress.

      Since then I haven’t needed to use FOG until today where I noticed the 1.5.7 update so I ran it and now seeing the issue…

      Exit type is:

      660eda78-7f8c-4660-ae0b-1c8551092c5f-image.png

      In the past it has always worked fine for me. I would either add the client to FOG via the web interface or the FOG PXE menu.

      Capture image, check compatibility etc all worked. Instead now I get a black screen with a blinking cursor.

      posted in FOG Problems
      J
      jam1987
    • Black screen and blinking cursor after selecting anything from FOG menu

      Hello!

      I recently updated FOG to 1.5.7 and seem to have hit a snag.

      FOG: 1.5.7
      OS: Centos 7

      When trying to do anything from the FOG menu after PXE booting I get a black screen with blinking cursor.

      The PC’s are a mixture of Desktop and Laptop machines, all with Safe Mode turned off and UEFI/Legacy mode turned on with trying legacy first on boot.

      Any help would be great.

      Thanks.

      posted in FOG Problems
      J
      jam1987
    • RE: Cannot upgrade FOG 1.5.4 to 1.5.6, Maria DB issue

      @Sebastian-Roth It’s alive!!

      1232845e-7912-4553-b385-dddb8cb4ec12-image.png

      Thanks for the help on this, really appreciated.

      posted in FOG Problems
      J
      jam1987
    • RE: Cannot upgrade FOG 1.5.4 to 1.5.6, Maria DB issue

      @Sebastian-Roth I’ve made the change to the /otp/fog/.fog settings:

      packages='bc curl gcc gcc-c++ genisoimage gzip httpd lftp m4 make MariaDB MariaDB-server mod_ssl mtools net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel '
      

      But it failed on MariaDB again:

       * Installation Started
      
       * Testing internet connection.................................Done
       * Adding repository if needed.................................OK
       * Preparing Package Manager...................................OK
       * Packages to be installed:
      
              bc curl gcc gcc-c++ genisoimage gzip httpd lftp m4 make MariaDB MariaDB-server mod_ssl mtools net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel
      
      
       * Skipping package:   bc......................................(Already Installed)
       * Skipping package:   curl....................................(Already Installed)
       * Skipping package:   gcc.....................................(Already Installed)
       * Skipping package:   gcc-c++.................................(Already Installed)
       * Skipping package:   genisoimage.............................(Already Installed)
       * Skipping package:   gzip....................................(Already Installed)
       * Skipping package:   httpd...................................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   make....................................(Already Installed)
       * Installing package: MariaDB.................................OK
       * Skipping package:   MariaDB-server..........................(Already Installed)
       * Skipping package:   mod_ssl.................................(Already Installed)
       * Skipping package:   mtools..................................(Already Installed)
       * Skipping package:   net-tools...............................(Already Installed)
       * Skipping package:   nfs-utils...............................(Already Installed)
       * Skipping package:   php.....................................(Already Installed)
       * Skipping package:   php-bcmath..............................(Already Installed)
       * Skipping package:   php-cli.................................(Already Installed)
       * Skipping package:   php-common..............................(Already Installed)
       * Skipping package:   php-fpm.................................(Already Installed)
       * Skipping package:   php-gd..................................(Already Installed)
       * Skipping package:   php-ldap................................(Already Installed)
       * Skipping package:   php-mbstring............................(Already Installed)
       * Skipping package:   php-mysqlnd.............................(Already Installed)
       * Skipping package:   php-process.............................(Already Installed)
       * Skipping package:   syslinux................................(Already Installed)
       * Skipping package:   tar.....................................(Already Installed)
       * Skipping package:   tftp-server.............................(Already Installed)
       * Skipping package:   unzip...................................(Already Installed)
       * Skipping package:   vsftpd..................................(Already Installed)
       * Skipping package:   wget....................................(Already Installed)
       * Skipping package:   xinetd..................................(Already Installed)
       * Skipping package:   xz-devel................................(Already Installed)
       * Updating packages as needed.................................OK
      
       * Confirming package installation
      
       * Checking package: bc........................................OK
       * Checking package: curl......................................OK
       * Checking package: gcc.......................................OK
       * Checking package: gcc-c++...................................OK
       * Checking package: genisoimage...............................OK
       * Checking package: gzip......................................OK
       * Checking package: httpd.....................................OK
       * Checking package: lftp......................................OK
       * Checking package: m4........................................OK
       * Checking package: make......................................OK
       * Checking package: MariaDB...................................Failed!
      

      I’ve attached the log file to: fog_error_1.5.6.log

      posted in FOG Problems
      J
      jam1987
    • RE: Cannot upgrade FOG 1.5.4 to 1.5.6, Maria DB issue

      This is the start of the error log, sorry I didn’t realize there was this one in there.

      /usr/bin/lsb_release
      /usr/bin/systemctl
      ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysql.service’: File exists
      ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysqld.service’: File exists
      ln: failed to create symbolic link ‘/etc/systemd/system/mysql.service’: File exists
      ln: failed to create symbolic link ‘/etc/systemd/system/mysqld.service’: File exists
      /usr/sbin/sestatus
      /usr/sbin/iptables
      /opt/fog/.fogsettings
      epel-release-7-11.noarch
      package remi-release-7 is not installed
      Retrieving http://rpms.remirepo.net/enterprise/remi-release-7.rpm
      Preparing...                          ########################################
              package remi-release-7.6-2.el7.remi.noarch is already installed
      Loaded plugins: fastestmirror, langpacks
      
      

      I’ve attached the log file to.

      I ran the upgrade again and it gave the same error.

      fog_error_1.5.6.log

      posted in FOG Problems
      J
      jam1987
    • RE: Cannot upgrade FOG 1.5.4 to 1.5.6, Maria DB issue

      I’m running MariaDB and it updates directly from Maria DB repo:

      =====================================================================================================================================================================================================
       Package                                                Arch                                 Version                                               Repository                                   Size
      =====================================================================================================================================================================================================
      Installing:                                
       MariaDB-client                                         x86_64                               10.3.16-1.el7.centos                                  mariadb                                      
       MariaDB-common                                         x86_64                               10.3.16-1.el7.centos                                  mariadb                                      
       MariaDB-compat                                         x86_64                               10.3.16-1.el7.centos                                  mariadb                                     
       MariaDB-devel                                          x86_64                               10.3.16-1.el7.centos                                  mariadb                                     
       MariaDB-server                                         x86_64                               10.3.16-1.el7.centos                                  mariadb 
      

      I can actively connect to it via msql -u -p so it is running, it’s where I pulled the version info from.

      The other error logs don’t look to have anything extra in them.

      Have I gone too far in terms of Maria DB versions? Should I aim to remove the MariaDB repo and rely solely on the CentOS versioning?

      posted in FOG Problems
      J
      jam1987
    • RE: Cannot upgrade FOG 1.5.4 to 1.5.6, Maria DB issue

      It’s running on Cent OS 7: CentOS Linux release 7.6.1810 (Core), I’ve been running FOG 1.5.4 almost a year now with MariaDB running, MariaDB has been updated multiple times.

      I actually just updated MariaDB today as I thought it would solve this issue.

      I tried updating FOG before the MariaDB update today and after, both gave me the above print outs.

      posted in FOG Problems
      J
      jam1987
    • Cannot upgrade FOG 1.5.4 to 1.5.6, Maria DB issue

      I have FOG 1.5.4 running and I’ve tried to upgrade to 1.5.6. Maria DB is installed and FOG is running so I’m unsure why it can’t update.

       * Skipping package:   bc......................................(Already Installed)
       * Skipping package:   curl....................................(Already Installed)
       * Skipping package:   gcc.....................................(Already Installed)
       * Skipping package:   gcc-c++.................................(Already Installed)
       * Skipping package:   genisoimage.............................(Already Installed)
       * Skipping package:   gzip....................................(Already Installed)
       * Skipping package:   httpd...................................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   make....................................(Already Installed)
       * Installing package: mariadb.................................OK
       * Installing package: mariadb-server..........................OK
       * Skipping package:   mod_ssl.................................(Already Installed)
       * Skipping package:   mtools..................................(Already Installed)
       * Skipping package:   net-tools...............................(Already Installed)
       * Skipping package:   nfs-utils...............................(Already Installed)
       * Skipping package:   php.....................................(Already Installed)
       * Skipping package:   php-bcmath..............................(Already Installed)
       * Skipping package:   php-cli.................................(Already Installed)
       * Skipping package:   php-common..............................(Already Installed)
       * Skipping package:   php-fpm.................................(Already Installed)
       * Skipping package:   php-gd..................................(Already Installed)
       * Skipping package:   php-ldap................................(Already Installed)
       * Skipping package:   php-mbstring............................(Already Installed)
       * Skipping package:   php-mysqlnd.............................(Already Installed)
       * Skipping package:   php-process.............................(Already Installed)
       * Skipping package:   syslinux................................(Already Installed)
       * Skipping package:   tar.....................................(Already Installed)
       * Skipping package:   tftp-server.............................(Already Installed)
       * Skipping package:   unzip...................................(Already Installed)
       * Skipping package:   vsftpd..................................(Already Installed)
       * Skipping package:   wget....................................(Already Installed)
       * Skipping package:   xinetd..................................(Already Installed)
       * Skipping package:   xz-devel................................(Already Installed)
       * Updating packages as needed.................................OK
      
       * Confirming package installation
      
       * Checking package: bc........................................OK
       * Checking package: curl......................................OK
       * Checking package: gcc.......................................OK
       * Checking package: gcc-c++...................................OK
       * Checking package: genisoimage...............................OK
       * Checking package: gzip......................................OK
       * Checking package: httpd.....................................OK
       * Checking package: lftp......................................OK
       * Checking package: m4........................................OK
       * Checking package: make......................................OK
       * Checking package: mariadb...................................Failed!
      
      Your MariaDB connection id is 1172
      Server version: 10.3.16-MariaDB MariaDB Server
      

      I’m running MariaDB 10.3.16, could anyone point me in the right direction as to how to update FOG?

      Thanks.

      posted in FOG Problems
      J
      jam1987