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

    Tftpboot folder

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    8
    3.5k
    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.
    • L
      Lonnie Gaither
      last edited by

      Help! lol

      I am running FOG on Ubuntu 11 and (stupid me) inadvertantly erased my /tftpboot/ folder, which of course now means there are important FOG files missing, specifically the /tftpboot/pxelinux.cfg/ and /tftpboot/fog/ folders and their contents. Unfortunately, the trash can has already been emptied too. šŸ˜ž

      What’s the easiest way to get the necessary files installed back in there? Can I just re-iinstall FOG without losing all my current configs, such as image names, host names, etc.?

      -=Lon=-

      [url=ā€œ/_imported_xf_attachments/0/118_fog-errors.JPG?:ā€]fog-errors.JPG[/url]

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        Export your database using mysqldump.
        reinstall fog
        import your database using mysql
        That should get you mostly there. There might be a password somewhere that needs updating but wait until you get an error before you go changing anything.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • L
          Lonnie Gaither
          last edited by

          [quote=ā€œchad-bisd, post: 3663, member: 18ā€]Export your database using mysqldump.
          reinstall fog
          import your database using mysql
          That should get you mostly there. There might be a password somewhere that needs updating but wait until you get an error before you go changing anything.[/quote]

          Thanks for the input Chad. That’s probably how I SHOULD have done it, but I basically just re-ran the setup so it would recreate the /tftpboot folder and contents. It basically kept all of my settings intact, except that I may have had to reset the main FOG user password. The only other thing I had to do was update the Kernel, so I just installed the newest one (3.3.3) and all seems to be working fine.

          -=Lon=-

          1 Reply Last reply Reply Quote 0
          • L
            Lonnie Gaither
            last edited by

            Btw, since I did this, I have strange video resolution problems. Well, FOG still works, but for some reason when I go beyond the first FOG boot menu, when the next Linux steps load (Quick Image, Full Registration, etc.), the video resolution sets itself really high. This is only a problem if I’m on a computer with an older monitor that can’t handle the resolution, but it’s strange that it never happened before. In the FOG settings the resolution is set to 1024x768, but it’s definitely switching to something higher than that.

            I’m getting the following errors during the load of ā€œQuick Imageā€ or ā€œFull Registrationā€.

            drm/i810 does not support SMP
            drm/i915 can’t work without intel-agp module

            1 Reply Last reply Reply Quote 0
            • C
              chad-bisd Moderator
              last edited by

              [quote=ā€œLonnie Gaither, post: 3683, member: 1189ā€]Thanks for the input Chad. That’s probably how I SHOULD have done it, but I basically just re-ran the setup so it would recreate the /tftpboot folder and contents. It basically kept all of my settings intact, except that I may have had to reset the main FOG user password.[B] The only other thing I had to do was update the Kernel, so I just installed the newest one (3.3.3) and all seems to be working fine[/B].

              -=Lon=-[/quote]

              would the bolded content have anything to do with your video changes?


              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

              1 Reply Last reply Reply Quote 0
              • D
                DanO
                last edited by

                [quote=ā€œchad-bisd, post: 3663, member: 18ā€]Export your database using mysqldump.
                reinstall fog
                import your database using mysql
                That should get you mostly there. There might be a password somewhere that needs updating but wait until you get an error before you go changing anything.[/quote]
                When exporting, what options should one choose? I did a test run and chose ā€œall tablesā€. is there a tutorial somewhere to back this up off the server and restore it?

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  The options you choose depend on if you are trying to backup the entire mysql server, or just the Fog database.

                  Here is a pretty good tutorial: [url]http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/[/url]

                  Basics:
                  [B]backup:[/B][COLOR=#111111][FONT=Consolas] # mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql[/FONT][/COLOR]
                  [B]restore:[/B][FONT=Consolas][COLOR=#111111]# mysql -u root -p[root_password] [database_name] < dumpfilename.sql[/COLOR][/FONT]

                  Single database:
                  [COLOR=#111111][FONT=Consolas]# mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql[/FONT][/COLOR]

                  Multiple databases:
                  [COLOR=#111111][FONT=Consolas]# [B]mysqldump -u root -ptmppassword --databases database1 database2 > dumpfilename.sql[/B][/FONT][/COLOR]

                  Single Table:
                  [COLOR=#111111][FONT=Consolas]# [/FONT][/COLOR][B]mysqldump -u root -ptmppassword databasename tablename > /tmp/dumpfilename.sql[/B]


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • L
                    Lonnie Gaither
                    last edited by

                    Well, I tried a couple different values on the vga= arguments, but nothing made any difference until I reverted to the v3.1-rc8 Core Kernel (I’ve never been able to get the v3.2.4 kernel to install). The video resolution is now back to normal during imaging.

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

                    208

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright Ā© 2012-2024 FOG Project