12 Replies Latest reply: Feb 21, 2011 3:04 AM by VNDL42
VNDL42 Level 1 (0 points)
I'm always up for a good joke myself so I can't really complain about this one, but yeah, what the heII - I just fell for the (apparently) old joke to type the above command into terminal. Yeah, I'm an idiot, I know, but the question here is - what to do now?

The system boots up fine, although I've read it will go into an infinite reboot cycle after a certain uptime. I've got a recent Time Machine backup and a Snow Leopard Install disc at home.

Can I just install OSX over the ruined system?
Will that work at all?
Or do I have to kill the whole thing (via disk utility from the Leopard install disc), re-install OSX and get my data back with Time Machine?

Any help would be greatly appreciated!

Thanks a ton,
V

Macbook 5,1 2.4GHz IC2D, 4GB 1067MHz, Mac OS X (10.6.6), iPhone 4, 32GB ger, FW 4.01, T-Mobile
  • T5GP5Ox32 Level 3 (590 points)
    Best option would be to erase everything, reinstall and then restore from Time Machine.

    And if you're going to run something that you don't know what it does, especially in Terminal, then look up what it does first or don't do it.
  • Barney-15E Level 8 (46,319 points)
    Well, if you typed it exactly like you posted, it didn't do anything.
  • macjack Level 9 (51,639 points)
    VNDL42 wrote:
    I just fell for the (apparently) old joke to type the above command into terminal. Yeah, I'm a noob, an idiot, got pwned and all that, I know. So the question here is - what to do now?

    The system boots up fine, although I've read it will go into an infinite reboot cycle after a certain uptime. I've got a recent Time Machine backup and a Snow Leopard Install disc at home.

    Can I install OSX over the ruined system?
    Will that work at all?


    Yes, it should work. In fact, it's one of the new new features in 10.6. But having nuked the system it really won't matter if you install over or erase and install.

    You can also use your TM backup and use the restore feature, unless that's still functional and you wrote a backup after the Terminal command.

    Good luck. Let us know...



    -mj
  • VNDL42 Level 1 (0 points)
    Yeah no, it deleted basically everything system wise, can't even access preferences. So installing the system over the fried one is not the best idea?
  • VNDL42 Level 1 (0 points)
    Ah, sorry I didn't see Macjack's reply. The TM backup is from this morning so it should still be okay, not sure if TM itself is still on the system at all. Or can I run TM from the install disc?
  • T5GP5Ox32 Level 3 (590 points)
    You can do it like said before but I would suggest just wiping everything and starting completely fresh from Time Machine. It will work if you just overwrite without erasing though.

    Follow this as well when you get to the restore point: http://docs.info.apple.com/article.html?path=Mac/10.5/en/15638.html
    http://support.apple.com/kb/ht1427
  • VNDL42 Level 1 (0 points)
    Thanks a lot guys, I will try this tonight and let you know how it went.
  • WZZZ Level 6 (12,875 points)
    I'm always up for a good joke myself so I can't really complain about this one....


    That's about as good a joke as poisoning the water supply or setting off a small nuclear device.
  • KJK555 Level 4 (2,895 points)
    Hey, you haven't lived until you 'RM'd yourself! LOL

    There is nothing like the feeling of watching your desktop slowly disappearing in front of your eyes.

    Kj
  • VNDL42 Level 1 (0 points)
    So yeah, restored from my TM backup via the OSX install disc and the system seems to run fine, thanks a lot guys, seriously.
    I still messed up as I forgot that I exclude my music and video folders in TM to save space on my backup drive. So I learned two lessons today, a) don't enter sudo commands when you're not 100% sure what they're doing (I guess I hereby choose to stay away from the terminal completely) and b) make sure to remember what folders you exclude from your backup so you don't add subfolders that you care about to them.

    And yeah, bad ******* joke, or trap, however you want to call it. But like I said, I guess this is what I get for entering commands into terminal I don't know sh*t about.

    Thanks again for your help.
    V
  • KJK555 Level 4 (2,895 points)
    Hey, it can happen to the best of us.

    Rules for "rm".

    Try to avoid using "sudo" with rm whenever possible.

    Avoid the "r" switch (recursive into directories option) whenever possible.

    If you use the "r" switch, use the "i" switch too (interactive option), also avoid the "f"
    (force without prompting option).

    Use "v" verbose option, to see what is being deleted.

    Always type in the full path name, rather than changing to the directory first.
  • VNDL42 Level 1 (0 points)
    Thanks again, will keep these in mind.