Bingo.
Sorry for the long delay in my response - end of the school year and busy here. Just confirmed I was able to resurrect my FOG MySQL database and I’m finishing up my first test image now. Looks like (fingers crossed) no lost data.
The steps I followed were:
I stopped MySQL before copying anything over using:
[CODE]/etc/init.d/mysql stop[/CODE] From: [url]http://abbysays.wordpress.com/2008/05/20/how-to-startstop-mysql-server-on-ubuntu-804/[/url]
Then, I copied over my MySQL files, which are located in [B]/var/lib/mysql [/B]on the old drive to the new drive. Since I am lazy and prefered to do this the graphical way, I used “gksu” in terminal, then ran “nautilus” at the prompt to get a “root” window I could copy, drag and drop from / into.
Of course, that’s not the way Linux likes it, and it caused problems. I went to restart MySQL with:
[CODE]/etc/init.d/mysql start[/CODE]
but all i got was a “fail” with nothing else to go by. Several websites suggested i check [B]/var/log/mysql.err[/B] and [B]/var/log/mysql.log[/B], but these files were empty. I came across this post here: [url]http://serverfault.com/questions/142315/mysql-service-wont-start[/url] that suggested I might need to change the permissions on what I had copied. As suggested, i ran:
[CODE]chown -R mysql /var/lib/mysql/[/CODE]
And when I then attempted to start MySqul again with:
[CODE]/etc/init.d/mysql start[/CODE]
SUCCESS! After doing a few cartwheels, I logged into fog via another computer, and ran a simple wake up job on a lab of computers - and they all booted! A few more fistpumps and I thought I was all set. I figured I should run a test image, just to be safe. When I fired off the image, fog gave me an error I’d never seen:
“Unable to connect to TFTP Server!”
…oh crap. Fortunately Google saved the day: [url]http://www.fogproject.org/wiki/index.php?title=Unable_to_connect_to_TFTP[/url]
I needed to change my fog user password, and where this password appears a few times in the fog interface. So I ran:
[CODE]sudo passwd fog[/CODE]
on fog and followed the prompts (note: you might want to choose a throwaway password as this appears in plaintext in the fog interface). Then, in the fog web interface, I followed the instructions on the fogproject wiki:
[LIST]
[]In management front end, go to [B]Storage Management[/B] -> [B]All Storage Nodes[/B]
[]Click on [B]DefaultMember[/B]
[]Change the [B]Management Password[/B] to match the password you just changed.
[]Then go to [B]Other Information[/B] and change [B]FOG_TFTP_FTP_PASSWORD[/B] also.
[/LIST]
[FONT=sans-serif][COLOR=#000000]That did it for me! Thanks very much to [/COLOR][/FONT][URL=‘http://fogproject.org/forum/members/chad-bisd.18/’][B][U]chad-bisd[/U][/B][/URL] for getting me on the right track!