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



  • 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.


  • Senior Developer

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



  • [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.


Log in to reply
 

347
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.