Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Apparently I corrupted some system file on my Leopard install. Whenever I try to log into my laptop, after typing my password it takes forever and finally the screen displays the "You need to restart your computer message". Which is apparently a kernel panic.

Now, I need to get some files off my Mac before I reinstall Leopard. I have no recent Time Machine backups because I'm awesome at forethought.

If this were Linux or Windows, I would imagine that I could load up a copy of Knoppix and scp my stuff somewhere else. But, what can I do for my Intel Mac?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Why don't you just boot into the OS X install DVD and when you go to install OS X, select "Archive and Install"?

It gets even better if you are using Snow Leopard! Just boot into the Snow Leopard installer DVD and install Snow Leopard over the top of your FUBARd OS X install. It will not delete or remove any of your personal files (both your home folder AND /Applications/), but it will fix and system files you have removed or screwed up. I had been mucking around with the language files (changing every string in Finder to "LOL"), and forgot to make a backup. To fix it, I just reinstalled Snow Leopard over the top and everything was fine. It was as if I had never made my silly modifications.

If you are not already running Snow Leopard, I would strongly recommend you take advantage of your situation and upgrade to Snow Leopard now. The install process is a whole lot more efficient and should work better, especially in regard to disk space.


If you need to, you can actually use your OS X install DVD to backup all your important files:

  • From the installation DVD, select Terminal from the Utilities menu at the top of the screen.

  • Once in Terminal, run ls /Volumes to see a list of all the mounted drives. Take note of the drive of your OS X install. Mine is "Macintosh HD".

  • Run cd /Volumes/<OSX VOLUME>/Users/<USERNAME> in Terminal to navigate to your home folder. Remember to replace <OSX VOLUME> and <USERNAME> with their actual values, and put a forward slash (/) before any space. If it is easier, you can hit tab to automaticly complete the folder names (after typing a bit of it out.

    My full command would look like this:

    cd /Volumes/Macintosh\ HD/Users/joshhunt/
    
  • Now, using the mv command to move folders and files (such as your VMs) into you home directory. For more information on how to use mv, see it's man page

  • Close Terminal and continue the installation.

share|improve this answer
    
Sounds like a great idea to me. Two questions about that: 1) The important files I need are in VMs that are not saved in my home directory. Will they be preserved? 2) The disk only has ~60GB free, will this pose a problem? –  mrduclaw Oct 11 '09 at 5:53
    
I am not sure if the VM's will be deleted or not. Just to be careful, I would move them into your home directory before reinstalling, using the install DVD. I will update my answer appropriately. –  David Pearce Oct 11 '09 at 5:56
    
Genuis! I didn't even think about firing up a terminal and moving them there. Good call! Thanks! –  mrduclaw Oct 11 '09 at 5:56
    
i don't know for sure, but i imagine if it's only reinstalling system files, if your VM images are in a non-system folder (but not $HOME or /Applications) they'll probably be OK. –  quack quixote Oct 11 '09 at 6:13
1  
Sounds good, I just ordered a copy of Snow Leopard. Thanks again! –  mrduclaw Oct 11 '09 at 6:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.