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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 01:47 AM.