Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have recently installed FOG (Free Open Source Ghost) onto Ubuntu hardy. The program was installed by the installfog.sh script. By the way FOG is running and installed but ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    How to uninstall FOG

    Hi,
    I have recently installed FOG (Free Open Source Ghost) onto Ubuntu hardy.
    The program was installed by the installfog.sh script. By the way FOG is running and installed but i want to add dhcp to it's services so i want to uninstall and reinstall.

    I have looked at:
    re running the script detects that it's installed and does nothing much.
    FOG :: A Computer Cloning Solution - Home
    apt-get remove fog
    dpkg --remove fog
    can't see any uninstall scripts

    If you know how to uninstall please comment it would really be appreciated.

  2. #2
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1
    I too have installed without DHCP and find myself needing to enable DHCP on the FOG box b/c my router doent support any of the methods decribed for pxe booting from the fog box. I'm disappointed I can't find any other information on re-answering those initial questions when installing fog....re-running it I get the same results as you and I can't find where anyone describes removal, but I'll keep looking!

  3. #3
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,946
    I don't have this installed or use it. I use PartedImage CD for this.

    So I read from this page looking into it

    FOG: An IT Imaging Solution | Linux.com

    So I was wondering if they had a

    Run the script that is in the /bin folder by using ./installfog.sh.
    Which is in the /opt folder where you extracted the tar.gz

    Shouldn't there be a ./uninstallfog.sh in there somewhere that you can cd to as root in terminal and uninstall FOG with.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,946
    So googling ./uninstallfog.sh . I found

    Uninstall FOG - FOGWiki

    In Fogs Wiki. Which looks convulted because instead of providing a uninstall script like they did for the install. I consider it to be a poor practice. Guys I know that have wrote application .sh scripts on there own usually provide a uninstall .sh script also. At least in my experience. Like one guy I know who made a script for managing the Desktop for Easy Mode Xandros. His uninstall.sh was right next to the install.sh. Any ways. That is there way to uninstall FOG.

    Looking at it again. It looks like you need to open a blank text file with gedit. Copy and paste what is on that page.

    Uninstall FOG

    Remove files
    /var/www/fog
    /opt/fog
    /tftpboot
    /images

    delete fog database
    mysql
    drop database fog;
    quit

    delete fog system user
    userdel fog

    remove service
    sudo rm /etc/init.d/FOGImageReplicator
    sudo rm /etc/init.d/FOGMulticastManager
    Name that file ./uninstallfog.sh.

    Make it executable

    Using properties by right clicking on text file in Nautilus file manager.
    Then open terminal (where that file is located by cding to it) and run that script as sudo user.

    But I would first look to see if that script is already in that FOG file Already first. It should be there.
    Last edited by rokytnji; 04-02-2010 at 05:54 AM.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...