Tftpboot folder
-
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]
-
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=“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=-
-
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 -
[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?
-
[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? -
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] -
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.