LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 02-12-2010, 03:53 AM   #1
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Rep: Reputation: 0
linux boot problem


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
 
Old 02-12-2010, 04:13 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Thank you for opening a new thread, but you already got some good advice here.

SUGGESTIONS:
1. Find your original install CD/DVD, boot from it, and go into "rescue mode". Rescue mode should allow you to run "fsck".

2. This sounds like a production system. I would imagine you have an administrator. Find him or her - they should be able to help.

3. Failing all else, please refer to the links cited in your other post.

Good luck .. PSM
 
Old 02-12-2010, 07:40 AM   #3
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 02-12-2010, 09:57 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,235
Blog Entries: 29

Rep: Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437
Hi,

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.

Just a few links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking


The above links and others can be found at 'Slackware-Links'. More than just Slackware® links!
 
Old 02-20-2010, 01:26 PM   #5
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
hi again

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
 
Old 02-20-2010, 06:35 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,235
Blog Entries: 29

Rep: Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437
Hi,

19.5 File System Repair: fsck of 'Rute' should give you some insight. I cannot give you a better example as that's the simplest.

You should use a install CD or LiveCD to boot then do the filesystem maintenance.

 
Old 02-20-2010, 07:18 PM   #7
elie
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 0
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

true? thanks again and again
 
Old 02-20-2010, 08:00 PM   #8
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 42.3/15.0, Tumbleweed, OS X 10.10, Ubuntu 18.04, and Linux Mint 17.3/18.1
Posts: 711
Blog Entries: 11

Rep: Reputation: 97
Wink Restoring Root Password

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BOOT LOADER problem : cant boot linux nishant.linux Linux - Newbie 1 01-23-2009 09:02 PM
Linux Boot Problem yusufs Linux - Newbie 2 07-18-2008 09:50 AM
linux boot problem on dual boot mac mini dla-nor Linux - General 2 06-13-2007 07:02 AM
Linux boot problem qmander Linux - Software 2 12-07-2005 04:55 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration