Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Just a friendly reminder...

Just a friendly reminder...
Thread Tools
Mac Enthusiast
Join Date: Oct 2001
Location: Edmonton, AB
Status: Offline
Reply With Quote
Feb 2, 2003, 12:26 AM
 
BACK UP YOUR STUFF!!!

I was dicking around with rm -rf in single user mode, erased some important Unix directories that I thought weren't necessary, and not surprisingly, OS X wouldn't start up. Unfazed, I started up in OS 9 with the intent of copying my Home directory to the other partition. Lo and behold, after I log in, up pops a friendly dialog box telling me that my Mac OS X volume appeared to be damaged, and it wouldn't show up on the desktop. I proceed to open Disk First Aid, select the volume, and click Repair. At this it failed, and due to my lack of a good hard disk utility, it seemed I was out of options.

But then I realized that I still had a tiny sliver of hope. With a growing tingle of excitement, I inserted my Jaguar install CD and started up from it. After clicking OK several times, the disk selection screen appeared, with a bright red X on my OS X partition. The tiny sliver of hope fell to the floor and shattered.

Fast forward two hours. I sit here waiting for my month-old backups to finish copying and typing this. I lost about a gig of MP3's along with 10 gigs of other stuff. Don't let this happen to you. BACK YOUR **** UP NOW!!!!
     
Banned
Join Date: Apr 2002
Location: -
Status: Offline
Reply With Quote
Feb 2, 2003, 12:31 AM
 
Conclusion: don't mess with the command line when you don't know what you're doing.
     
Mac Elite
Join Date: Apr 2002
Location: Chillin' at the back of the Falcon
Status: Offline
Reply With Quote
Feb 2, 2003, 12:55 AM
 
Originally posted by ambush:
Conclusion: don't mess with the command line when you don't know what you're doing.
Exactly.

Sucka

"Barwaraaawww"
     
Professional Poster
Join Date: Nov 2000
Location: Norway (I eat whales)
Status: Offline
Reply With Quote
Feb 2, 2003, 01:05 AM
 
But Fallout have a point OTOH.

Sniffer gone old-school sig
     
Fallout  (op)
Mac Enthusiast
Join Date: Oct 2001
Location: Edmonton, AB
Status: Offline
Reply With Quote
Feb 2, 2003, 01:27 AM
 
Originally posted by ambush:
Conclusion: don't mess with the command line when you don't know what you're doing.
I know it but The **** I erased all had (Mac OS 9) in the filename, even though OS 9 is on a separate partition, so I figured it was useless..

sniffer: What does "OTOH" mean?
     
Professional Poster
Join Date: Nov 2000
Location: Norway (I eat whales)
Status: Offline
Reply With Quote
Feb 2, 2003, 01:49 AM
 
Originally posted by Fallout:
I know it but The **** I erased all had (Mac OS 9) in the filename, even though OS 9 is on a separate partition, so I figured it was useless..

sniffer: What does "OTOH" mean?
on the other hand..

Sniffer gone old-school sig
     
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Feb 2, 2003, 02:36 AM
 
I am reminded of my own first bad encounter with rm -rf many years ago. I assumed that I was in /tmp and issued rm -rf * intending to do a little cleanup. Imagine my surprise when the cleanup took far longer than I thought it should.

Never issue rm -rf * while in /

To make matters worse, I had my Windows partitions mounted as well. As a reward for my efforts, I had the pleasure of reloading Slackware 1 floppy disk at a time.

I think that's the only time a computer has caused me to become physically ill.
     
Mac Elite
Join Date: Oct 2001
Location: Enschede
Status: Offline
Reply With Quote
Feb 2, 2003, 03:11 AM
 
Originally posted by ambush:
Conclusion: don't mess with the command line when you don't know what you're doing.
I couldn't have said better. It's your own fault, and no back-up wouldn't have bene necessary if you hadn't screwed it all yourself.
iMac G5 2.0 Ghz 20", 2 GB RAM, 400 GB, OS X 10.4.5, iPod with color screen 60 GB
     
Forum Regular
Join Date: Oct 2002
Location: Atlanta
Status: Offline
Reply With Quote
Feb 2, 2003, 12:35 PM
 
When I was running Linux a couple of years ago I remember creating a script to stop me from doing destructive things to my system as described above. It looked something like this (recreated from memory..):

---
#!/bin/sh

echo "You're standing in $PWD"
echo "Think twice now! ENTER to continue, CTRL-C to abort"
read

rm $1 $2 $3 $4
---

I named this script safe_rm.sh and put it in /root/bin. Then I created an alias rm="/root/bin/saferm.sh" which was defined when logged in as root. I can't remember if it actually saved me once, but atleast I learnt to think twice when playing around with rm in the system.
     
Grizzled Veteran
Join Date: Nov 2000
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Feb 2, 2003, 12:40 PM
 
Originally posted by Jerommeke:
I couldn't have said better. It's your own fault, and no back-up wouldn't have bene necessary if you hadn't screwed it all yourself.
Wow, the people around here are getting spiteful lately. Give the guy a break. He screwed up and is just giving good advice to everyone. He's not asking for sympathy or bitching about the problems.

-matt
     
Mac Elite
Join Date: Apr 2000
Status: Offline
Reply With Quote
Feb 2, 2003, 12:51 PM
 
True, so true. Fallout is just venting his mistake. Give the guy a break. No since belittling him.


Originally posted by ratlater:
Wow, the people around here are getting spiteful lately. Give the guy a break. He screwed up and is just giving good advice to everyone. He's not asking for sympathy or bitching about the problems.

-matt
     
Dedicated MacNNer
Join Date: Jul 1999
Location: Maynard, MA
Status: Offline
Reply With Quote
Feb 2, 2003, 01:42 PM
 
Folks, I suggest to everyone buying a mac, that they buy a FW HD to mirror, and use CCCloner to back up completely to the FWHD every so often. It is the best money spent for peace of mind. Whether or not you know what your are doing in command line, it is a good idea to back up.

"An argument isn't just saying 'No it isn't'!" "Yes it is!" "NO IT ISN'T!"
     
Professional Poster
Join Date: Oct 2000
Location: Toronto, ON
Status: Offline
Reply With Quote
Feb 2, 2003, 01:47 PM
 
Just a friendly reminder: make your subject lines less vague.

I had a HD break down 2 summers ago, and managed to get most of it back. I'm much more regular with my backups these days.
The Lord said 'Peter, I can see your house from here.'
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2