Skip to content

Instantly share code, notes, and snippets.

@epicserve
Created February 22, 2010 15:22
Show Gist options
  • Save epicserve/311154 to your computer and use it in GitHub Desktop.
Save epicserve/311154 to your computer and use it in GitHub Desktop.
Clean Install Notes for OSX 10.6.2 Snow Leopard

Clean Install Notes for OSX 10.6.2 Snow Leopard

These are the steps I took when migrating from OSX 10.5 Leopard to 10.6.2 Snow Leopard.

Backed up Data

Backup documents and data

Copied all my data folders in my home direcotry to an external hard drive. The direcotries in my home folder that I copied over were; Documents, Dropbox, Library, Movies, Music, Pictures, Public, Sites, code, scripts.

Backup Mysql Databases

Repaired all databases because the first backup said I had errors in one of my tables.

mysqlcheck5 -u root -p -A -r

Next I ran the backup command.

mysqldump5 -u root -p --all-databases > ~/Desktop/mysql-all-databases.sql

Backup up Apps

I decided to go ahead and backup some of my applications instead of installing them from downloads or DVDs. I copied the following applications from my /Applications folder to the Apps folder on my external hardrive: Adium, Colloquy, Cyberduck, Dropbox, Firefox 2, Fluid, Google Chrome, HandBrake-32bit, HandBrake, Remote Desktop Connection, Safari 2.0.4, Safari 3.0.4, Skype, SuperDuper!, Transmit, VirtualBox, VisualHub

Backed up config settings

Made of backup of all my command line program config settings.

cd /opt/local/etc/apache2
mkdir /Volumes/Backup/oconnor/Backups/configs
mkdir /Volumes/Backup/oconnor/Backups/configs/apache2
cp -r * /Volumes/Backup/oconnor/Backups/configs/apache2/
cd /opt/local/etc/nginx/
mkdir /Volumes/Backup/oconnor/Backups/configs/nginx
cp -r * /Volumes/Backup/oconnor/Backups/configs/nginx
cd /opt/local/etc/ssh/
mkdir /Volumes/Backup/oconnor/Backups/configs/ssh
cp -r * /Volumes/Backup/oconnor/Backups/configs/ssh
cd ~oconnor/
cp -r .gitconfig .gitignore .gitk .profile .ssh /Volumes/Backup/oconnor/Backups/configs/
cd /Volumes/Backup/oconnor/Backups/configs/

Start the Clean install of Snow Leopard

  1. Insert the Snow Leopard DVD
  2. Exit out of the Install window that comes up.
  3. Restart the computer
  4. When you hear the chime of the computer restarting hold down the "c" key.
  5. Select your language
  6. On the top file menu click on Utilities and then Disk Utility
  • Selected my Hard Drive in the left pane
  • Selected the erase button on the top right and then clicked the erase button on the bottom right
  • Select Erase again to confirm that you really do want to earse your hard drive. It runs and only takes minute or less.
  • Quit the disk utility and then selected continue to install snow leopard
  • Went through all the basic prompts for backing up

Post Installation

  • Went through and Adjusted mouse, display, keyboard and dock settings for my preferences.
  • Ran the System Software Update
  • Restored Safari Bookmarks
  • Copied over apps from the ones I copied to my External Hard Drive
  • Started the apps I copied over and then quit them.
  • Copied files form each program I copied over from /Volumes/Backup/oconnor/Library/Application Support/<program name> to ~oconnor/Library/Application\ Support/<program name>
  • Copied over iTunes files for Movies, Music Pictures to their respective folders from /Volumes/Backup/oconnor/Movies to ~oconnor/Movies
  • Installed Xcode from the OSX CD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment