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.
Hello guys,
I wanted to see how fsck works and execute this command when computer was in ordinary working mode (through terminal from GUI), now I cannot start GUI any more adn I can only login as root (root@(none)). Now when I execute fsck it found and correct errors, but when I try to restart with init 6 I get error message "INIT cannot execute /etc/rc.d/rc", something like that... I thought fsck is supposed to fix things, not to screw them up...
Also, when I use RESET button, again I can only login as root, GUI (KDE) cannot start and every time I execute fsck -p, I get message /dev/hdb1 (this is where mandrake is installed) contains errors, check forced and ....(0.3% nom-contigous).../... blocks
What should I do?
I wanted to see how fsck works and execute this command when computer was in ordinary working mode---
Quote:
Originally Posted by AAnarchYY
i hope you didnt fsck a rw mounted drive, that can cause problems.
Exactly. You should have read the instructions first..and if everything is working all right, you don't have a reason to use it (not even "test"), so you shouldn't have. Well, now that you have, you should fix things up if possible. Run fsck on the same partition you ran it in the first case, but this time don't mount the partition like you usually would. If it can fix the trouble, all right, but if it can't, see what the problem is and what actions it requires; a reinstall is the worst case I can think of, along formatting the partition, but that's how it goes.
Well, I did just that... I've run fsck on mounted partition because if I'm not wrong that partition is mounted automatically when GUI (KDE) is started. Now when I start computer I can only see login:
I have tried to umount the same partition and run fsck but every time I restart machine and run fsck it finds and fix problems, but no effect.
I have two questions:
1. Is it ok just to type "umount /dev/hdb1" from root directory just to unmount /hdb1, when I type that I don't get any error message, just shell again?
2. Whwn I log in as root, and try to restart computer with init 6 I get error message INIT: cannot execute /etc/rc.d/rc and INIT no more process left in this run level
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.