• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Thiago
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 100
    • Best 21
    • Controversial 0
    • Groups 0

    Posts made by Thiago

    • RE: Postdownloadscripts to specific partitions

      @Sebastian-Roth
      Thanks for the tip.
      assuming we have only one disk on each machine, there are always 2 parts for Windows (winre and C:) and 2 for linux (swap and /).
      My 1st idea is to do something like this:

      #for linux
      fdisk -l /dev/sda | awk '/ 83 / {print $1}'
      

      or this

      #for windows, it requires more pipes
      fdisk -l /dev/sda | awk '/ 7 /' | sort -k5 -h | tail -n1 | awk '{print $1}'
      

      I will work on this.
      Thank you all for the great help.

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Postdownloadscripts to specific partitions

      @george1421
      Yes, Windows and linux are on the same drive. All computers have only 1 disk.
      While our organization don’t make a default layout for disks (fixed parts for specific system), i will try using $osid.
      This variable inside a postdownscript env, identify parts or system images defined in fog web ui?

      posted in FOG Problems
      ThiagoT
      Thiago
    • Postdownloadscripts to specific partitions

      I need a little help with postdownloadscripts. Are they executed after all image are deployed or one partition?

      We have 4 partitions in a disk (mbr) and we need to change a hostname in linux and hostname in a file under Windows partition.
      The problem is that linux and windows are not fixed to a partition numbers (sometimes sda3 or sda and so on)

      How can i identify Windows or Linux, excluding swap and recovery?
      Maybe this is more about linux skills than fog.

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Active directory Join issue

      @Tom-Elliott
      I just install a new server with 6038 svn, copy all images (that work in 1.2, the server still alive), change all owners and permissions following this post and the wiki, but still get "Image Store Corrupt” Unable to locate MBR (restore partition table and bootloaders) when deploying.
      1.2 still deploying correctly the same image.

      posted in Windows Problems
      ThiagoT
      Thiago
    • RE: Integrating Sardu Multiboot

      @middendorf
      I’ve been using some Win7 install (unnattend and not) using fog ipxe menu.
      My first steps were copied from the ipxe site (http://ipxe.org/howto/winpe) and works fine.

      posted in General
      ThiagoT
      Thiago
    • RE: Database Schema Installer / Updater

      login to your mysql and set root password.

      mysql -u root -p
      use mysql;
      UPDATE user SET password=PASSWORD(‘Your-pass-for-mysql-here’) WHERE User=‘root’;
      exit;

      the password must be the same as configured during installation by foginstall script

      and then try update your schema again.

      works for me.

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Firewall Configuration

      @Wayne-Workman
      It lacked a row before ufw enable:

      ufw allow from 192.168.0.255

      to fit our net environment

      posted in General
      ThiagoT
      Thiago
    • RE: Firewall Configuration

      @Wayne-Workman
      at least 6 months

      posted in General
      ThiagoT
      Thiago
    • RE: Firewall Configuration

      @Wayne-Workman
      I’m using ufw in a debian 8 system with:

      ufw default deny incoming
      ufw default allow outgoing

      #ports 21ftp, 22ssh, 80web, 111rpc, 69tftp, 443web, 2049nfs, 20499-nfs
      ufw allow from 192.168.0.0/24 to any port 21,22,80,111,443,2049,20499 proto tcp
      ufw allow from 192.168.0.0/24 to any port 69,111,2049,6080 proto udp
      ufw enable

      I changed nfs to work with the firewall on debian
      #from
      RPCMOUNTDOPTS=“–manage-gids”
      #to
      RPCMOUNTDOPTS=“-p 20499”
      #and
      systemctl restart nfs-kernel-server.service

      posted in General
      ThiagoT
      Thiago
    • RE: Integrating PartedMagic in Fog 1.2.0

      Try this:

      :PMagic2015
      kernel http://${fog-ip}/${fog-webroot}/your-path-to-parted-magic/bzImage
      initrd http://${fog-ip}/${fog-webroot}/your-path-to-parted-magic/initrd.img
      imgargs bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=0 loglevel=0 keymap=us
      boot || goto MENU

      posted in General
      ThiagoT
      Thiago
    • RE: CMD or Batch snapins are not working! I have no more idea.

      Try runas.exe /savecred /user:your-admin-user in your cmd file or in fog snapin config (eg. runas calling cmd)
      *not tested.

      posted in General
      ThiagoT
      Thiago
    • RE: CMD or Batch snapins are not working! I have no more idea.

      I always run my .bat files with fog and all works.
      I’ve installed mathematica, matlab, ampl, quartus, salt agent and other config things.
      Try /C argument for cmd.exe

      Snapin Run With C:\Windows\System32\cmd.exe
      Snapin Run With Argument /C

      posted in General
      ThiagoT
      Thiago
    • RE: /dev/sda5: No such file or directory

      I really had not thought about it, i will try this tomorrow…
      I am planning reinstall the debian (preseed) again, but changing partitions to primary, just to solve problem til upgrade.
      Thanks for your attention.

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: /dev/sda5: No such file or directory

      my version is 1.2

      posted in FOG Problems
      ThiagoT
      Thiago
    • /dev/sda5: No such file or directory

      Hi all!!
      I´m trying to upload image from my hp elitedesk computer.
      The bios is in compatibility mode and Windows 10 pro64 and Debian 8 64 are installed without using EFI mode.
      My partitions are:
      /dev/sda1 500mb win reserved
      /dev/sda2 470 gb win system
      /dev/sda3 460 gbextended
      /dev/sda5 4 gb swap
      /dev/sda6 /

      but fog (in upload debug mode) can not “see” my sda5/sda6 parts.
      msgs:
      error: /dev/sda5: No such file or directory
      error: /dev/sda6: No such file or directory

      and the image are uploaded only with sda1/sda2
      How can i deal with this?

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Print manager doesn't work for new computers

      and about printer service in group config? Try to enable/disable the service on fog group page.
      This happened with snapins (for me), solved enabling snapin service on hosts group page.

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Multiple problems with FOG after Upgrade.

      I don’t know if your problem is like mine.

      When i did a upload of my 8.1, i got this message too (“file systems needs to be check” ).

      I solved the case, when i shutdown the system completely without using the Win8.1 hybrid mode, then turning on computer into fog boot process.
      see: http://windows.microsoft.com/en-us/windows-8/how-shut-down-turn-off-pc

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Svn 3005 can´t add hosts to a group

      who use svn should keep in mind that is not a “final” version and bugs can happen. this is normal
      but we can see the evolution of software and the work of the entire team.
      this is only for reporting this little bug for future corrections.
      I’m using the 2948 version and everything is working great,
      i try to keep an updated version of svn only to hunt bugs. 🙂
      ps. I like the way the new interface is being built.
      Sorry, my english is not good.

      posted in FOG Problems
      ThiagoT
      Thiago
    • Svn 3005 can´t add hosts to a group

      [I]Using membership option inside group management[/I]
      [I]-----------[/I]
      checked “Check here to see hosts not within a group” and hosts are displayed normally.
      After select all hosts, clicking [I]add hosts to group[/I], the information is displayed: Group information updated.
      but the hosts still without being part of any group.

      Apache error.log:
      [Wed Feb 11 16:50:15 2015] [error] [client 192.168.1.161] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/GroupManagementPage.class.php on line 307, referer: [url]http://192.168.1.1/fog/management/index.php?node=group&sub=edit&id=15[/url]

      How can i fix this?

      posted in FOG Problems
      ThiagoT
      Thiago
    • RE: Debian netowrk manager

      I dont know if i see is a typo or something else, but after “auto eth1” you need to set iface eth1… and not eth0 again.

      posted in Linux Problems
      ThiagoT
      Thiago
    • 1 / 1