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.