Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I'm getting
An error Occurred during the file system check. Dropping you to shell; the system will reboot when you leave the shell. Give root password for maintenance. i don't know the root password also i am new to linux i . please help me because i need it .
i wish if i can have detailed steps
note: this server is a call manager server
thanks expert
my problem is the administrator has no idea with the system and i am trying to help him because it is crtitical. i wish if you can give me a document with the needed steps
It's nice that you opened a thread for the problem.
All you need to do is boot the machine with the install CD/DVD media then after login do a fsck on the filesystem;
Quote:
excerpt from 'man fsck';
NAME
fsck - check and repair a Linux file system
SYNOPSIS
fsck [ -sAVRTNP ] [ -C fd ] [ -t fstype ] [filesys ... ] [--] [ fs-specific-options ]
DESCRIPTION
fsck is used to check and optionally repair one or more Linux file systems. filesys can be a device name (e.g. /dev/hdc1, /dev/sdb2), a mount point (e.g. /, /usr, /home), or an ext2 label or UUID specifier (e.g. UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root). Normally, the fsck program will try to run filesystems on different physical disk drives in parallel to reduce total amount time to check all of the filesystems.
If no filesystems are specified on the command line, and the -A option is not specified, fsck will default to checking filesystems in /etc/fstab serial. This is equivalent to the -As options.
The exit code returned by fsck is the sum of the following conditions:
0 - No errors
1 - File system errors corrected
2 - System should be rebooted
4 - File system errors left uncorrected
8 - Operational error
16 - Usage or syntax error
32 - Fsck canceled by user request
128 - Shared library error
The exit code returned when multiple file systems are checked is the bit-wise OR of the exit codes for each file system that is checked.
In actuality, fsck is simply a front-end for the various file system checkers (fsck.fstype) available under Linux. The file system-specific checker is searched for in /sbin first, then in /etc/fs and /etc, and finally in the directories listed in the PATH environment variable. Please see the file system-specific checker manual pages for further details.
Rute Tutorial & Exposition has 'fsck' section that is a good description. BTW, if your admin doesn't understand 'fsck' for GNU/Linux then I would be looking at getting a good GNU/Linux admin.
sorry for asking a lot but i am new to linux and you are the only one who help me.
the exact message i get is :
Couldn’t find matching filesystem: LABEL=/common
Give root password for maintenance
(or type control-D for normal startup)
i understood the fsck but i am confused with the parameters can you help me to get the exact command needed in my case?
thanks again
hi again
thanks again for your help
yes i understood that i have to boot from the cd and to run fsck
what i am asking is that the message that i got is couldn't find matching filesystem: LABEL=/common
to repair it the following is correct?
what i understand is
1)boot from cd
2)fsck -a -t ext2 /dev/hda1
I have a way to fix a complication in your problem -- The missing root password.
What you need is a PS\2 keyboard first.
1. Plug PS\2 keyboard in if not already done so
2. Start the computer. At the boot loader prompt, add the option init=/bin/bash
3. A BASH shell will be started without request for root password or filesystem check
4. Type passwd to change the root password.
5. Reboot to get a normal boot, PS\2 keyboard no longer needed in regular boot.
My password in openSUSE 11.2 went corrupt within the last week and I used this remedy to fix it. I have suggested to others twice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.