Click to See Complete Forum and Search --> : Help undo my stupid mistake


trekker
02-22-2001, 02:03 PM
Ok... I must admit it was a stupid mistake and I still feel like kicking myself now.

I was supposed to type "rm -fr $HOME/.netscape/java" but as habit has it (I could cut off my thumb that pressed the space bar!), I typed in a space after "$HOME/". Now, my /root partition is gone (I was logged in as root).

Is there any way to restore my /root partition? It seems that it is the only one affected. If not, how can I get linux to function properly again without a reinstall?

Thanks in advance!!

X_console
02-22-2001, 02:18 PM
"mkdir /root" should fix it. You've lost everything that you had inside it though, so do a "cp /etc/skel/.* /root" and see if that helps.

trekker
02-22-2001, 02:23 PM
Whew.. thanks!! X_console

Keeping my fingers crossed that it'll work. Will try it out when I get back to work in the morning.