Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I inadvertently renamed /lib to /lib1 on a system running linux kernel 2.x and as expected the system went beserk. I am saying this at the risk of being ridiculed so that some novice may be careful while dealing with system folders. Well i did that because i wanted to redirect the system libraries to a different folder but somehow goofed up.
Nonetheless i wanted to recover from this puddle so i reinserted this boot drive into a secondary ide of another linux system (8.x kernel 2.19x).
the system detected the partition table on the secondary ide and i
particularly mounted /dev/hdc5 the linux partition on /mnt/restoredrive
as mount -t reiserfs /dev/hdc5 /mnt/restoredrive
(no other mount types succeeded and the hardrive had windows xp + linux)
however when i did an ls /mnt/restoredrive it gave the following type of
error messages for each file under \ on the restoredrive
ls: \mnt\restoredrive\bin no such file or directory
ls:\mnt\restoredrive\usr no such file or directory
and so on for each file under \.
as you might have figured out that my intent is to be able to rename lib1 as :
mv /mnt/restoredrive/lib1 /mnt/restoredrive/lib
if i did a cat on any of these files it saild stat failed on the files.
so i guess linux hasn't been able to successfully mount the file system.
Any solutions are most welcome.
Last edited by linuxjuggler; 12-16-2003 at 12:47 AM.