Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Today I was moving my /home partition to replace /dev/hda6's current mount point of /var/www. I was meaning to be in the /home directory to transfer all my files from there to a temp directory. Little did I know I was at / !!!
It went like this:
# mv --force * /tmp/home
# ls /tmp/home
ls: command not found
#
At this point I was thinking oh sh*t. <insert 5 minutes more cursing here>
I had just realized what I did, and thought maybe i could execute /tmp/home/bin/sh or other
NOTHING worked.
I am so glad I bought that issue of linux magazine with knoppix... otherwise I would have been reinstalling everything as I had no backup or recovering (which I was getting ready to do)
So I booted the knoppix dvd, mounted the partition containing /tmp and moved all files/dirs to their rightful place. Thank god it worked I had spent so many hours of grueling work customizing my system and had enough completed work I didnt want to lose.
Moral of the story: always backup! And keep Knoppix closeby
Knoppix has always been nice to me. It has always saved my files from a virus or a crashing windows. I accually have a copy of Knoppix next to all of my computers. I am glad it was able to help you too.
__________________
Registered GNU/Linux User #399198
'Experience is something you don't get until just after you need it.' -Steven Wright
Every Linux user should definitely have a couple Knoppix CDs on hand at all times. Windows users can benefit from Knoppix, too. I always keep several of the latest versions on hand.
Yeah, I just screwed up on my first installation of Linux (ubuntu) installing it after the 1024 limit. So right now I'm running Knoppix waiting for answers here.At this point, I love ANY kind of Live CD to tell you the truth
Before I learned about linux, I locked myself out of windows xp and had to reformat everything. Sucks because I had tons of music and movies on it, I should have just run a livecd like knoppix and deleted the program that locked me out of my own computer!
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe