• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Change windows hostname - 'early' just after imaging, before booting

Scheduled Pinned Locked Moved
FOG Problems
3
3
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    btsimonh
    last edited by May 28, 2013, 5:17 PM

    Hi, just thought I’d share.
    I’ve been looking at changing host name on XP just after imaging.
    It works, but init.gz in /usr/share/fog/funcs.sh, you must change
    REG_LOCAL_MACHINE_XP=“/ntfs/WINDOWS/system32/config/system”
    to
    REG_LOCAL_MACHINE_XP=“/ntfs/WINDOWS/system32/config/SYSTEM”
    Note that also with ‘changeHostname’ in it’s current position in /bin/fog, it will only attempt to change the name in the LAST partition - i copied it to after every partition restore.
    Note again also, it’s reliant on the partition being ntfs :(. Since ntfs does not play nice with XP embedded EWF, I’ll need to implement FAT32 in all the functionality which currently only works with ntfs.

    1 Reply Last reply Reply Quote 0
    • E
      emkey
      last edited by Jul 9, 2014, 3:51 PM

      [INDENT=1]Note that also with ‘changeHostname’ in it’s current position in /bin/fog, it will only attempt to change the name in the LAST partition - i copied it to after every partition restore[/INDENT]
      [INDENT=1] [/INDENT]
      Can you tell me where I can find this in fog 1.1.2? Unfortunately I cannot find this folder in my installation.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 9, 2014, 5:40 PM

        It’s a part of the init.gz and I may have a workaround for this coming down the shoots.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post

        199

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project