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, thank you for accepting my registration, I am a beginner in linux, and I installed it on my pc it's been a year. I had a problem that forced me to reinstall the whole system recently now there is another problem that it pauses. When I turn it on the pc here is the message that appears:
File system check failed
Please run fsck manually, after leaving this maintenance shell, the system will reboot automatically
sh: can't access tty ; job control turned off.
[rootfs]#
Please help me solve the problem. I do not want to reinstall the whole system again and lose all my data (I use both Windows 10 and linux on the pc) and now I'm on Windows.
I don't think you'll need to reinstall your whole system. fsck is a file system checker, like CHKDSK in Windows. Distros normally do it every boot. For some reason your system wants you to do it manually. This is not a massive cause for concern [though I do wonder why it happened].
What would be useful is to know which distro you are using.
Also I get the feeling you are not posting the whole error message. Can you post the whole message? It may just be a simple matter of running
Code:
fsck /dev/sdXX
where /dev/sdXX
is the partition that needs checking.
Code:
df -h
should tell you which partitions your system uses and their labels. You can post the output in this thread.
Have a look at this and report back with any questions:
1) Linux error messages are often very helpful and informative, so read them carefully. If an error message tells you what to do to attempt to solve the problem, then do it. If that doesn't work, then ask for help. A suggestion to run fsck usually means that there is a filesystem corruption on the root partition.
2) When you do ask for help, give your post an informative title. "Help question" is useless. Of course it's a help question, why else would you be posting it? Something like "Can't boot <distro name>; possible disk corruption" would be more useful to us. And always tell us the name of the distribution and the release name or number.
3) I doubt if you will need to reinstall your system. That is almost never necessary in Linux. When Linux goes wrong, it can usually be fixed with a bit of detective work.
Forgive me for having misrepresented my problem, I have not understood, actually as you had listed there are actually error messages that have been posted and I am correcting them. when I'm finished I'll give you a sequel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.