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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is probably more than one error and issue here. You can try my route of just backing up and reinstalling or do as Leopard said and fsck with a live disc. That would be good for you if you want to learn how Linux works under the hood and make use of a great tool. I have personally never used it, but I always keep a live disc in case.
Leopard, if his system is having trouble mounting his drive, he may not be able to use the tool right? Correct me if I am wrong, but wouldn't he need to boot into a live cd, open a terminal, mount the / partition and then run the command? Unfortunately, Ubuntu does not have, at least to my knowledge, a DVD with a repair tool like Fedora and OpenSuSe.
I repaired my JFS system with a Ubuntu LiveCD; no problem.
EDIT: @OP; put in a live cd, and see if the system identifies the FS. If it does, it is easily repairable.
DOUBLE EDIT: @themerovingian; he does not need to mount the partition to run a fsck. I just Googled it to make sure and the first relevant thing that came said you SHOULDN'T do that, although I did a CHKDSK on a live Windows system and didn't have any problems either.
I do hope you get your issue resolved. Sometimes backing up and reinstalling is a good choice; but at least try to fsck it. If it doesn't work, go with the route.
Even moreso, you should always backup your data. Anyways good luck and tells any advancements made.
Last edited by lupusarcanus; 02-27-2010 at 03:14 AM.
Reason: added info
I made an up to date live CD from the Ubuntu website, got in and was able to copy most files from the home directory, but found that some were not available because I was not logged in.
I went back to the maintenance shell, and typed fsck - without the a/dev/sda5 - and got to the list of errors to force and got back into my proper log in. I was then able to copy all files not just some, including my evolution data. It has let me back in normally, but I think I will re-install anyway, just to be sure.
I still have no idea what caused the problem, and I don't really understand what I have done to repair it, but I am good at following instructions, and feel a lot more empowered to ask for help and to follow threads on the forum for my own education!
Many more thanks - should the winds of fate make our paths cross, I owe you both a pint.
Just out of interest and proper etiquette, should I now close this thread?
I made an up to date live CD from the Ubuntu website, got in and was able to copy most files from the home directory, but found that some were not available because I was not logged in.
I went back to the maintenance shell, and typed fsck - without the a/dev/sda5 - and got to the list of errors to force and got back into my proper log in. I was then able to copy all files not just some, including my evolution data. It has let me back in normally, but I think I will re-install anyway, just to be sure.
I still have no idea what caused the problem, and I don't really understand what I have done to repair it, but I am good at following instructions, and feel a lot more empowered to ask for help and to follow threads on the forum for my own education!
Many more thanks - should the winds of fate make our paths cross, I owe you both a pint.
Just out of interest and proper etiquette, should I now close this thread?
Regards
Stuart
Yes.
To note, often times an unclean restart can completely corrupt a whole file system.
I am glad you have gotten your issue resolved, and hope you will never encounter such problems again.
Well, you can't really close it, but you can mark it as solved, which is basically the same thing. It shows the moderators, administrators, and other readers that the issue has been resolved.
You can mark the thread as solved by scrolling up to the top of the page, clicking on Thread Tools, and clicking 'Mark thread as SOLVED.'
@ Stuart, good job getting it fixed correctly! While these issues are annoying, they are always a learning experience! I can't say that I like when my system doesn't work, but I can say that I learn more when I have to fix it than by just reading a book.
@Leopard, thanks for correcting me on the mounting issue. I would hate to give the wrong advice and have someone mess their system up worse! Good looking out man. Now I learned something too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.