LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
LinkBack Search this Thread
Old 12-12-2003, 04:54 AM   #1
alcanon
LQ Newbie
 
Registered: Dec 2003
Location: Iligan City, Philippines
Distribution: Red Hat Linux 9.0
Posts: 14

Rep: Reputation: 0
Crash


I have my first time OS crash in Linux. My son inadvertently switch off the machine in the Linux environment without my knowledge. When I re-started the error messages were;

Your system appears to have shutdown uncleanly
WARNING: Couldn't open /etc/fstab: Input/output error
fsck.ext2/:

and it didnt continue to boot. I dont know how to repair it.
Pls help.

alcanon

Distro: Redhat 9.0
 
Old 12-12-2003, 07:00 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Do you have a rescue disk?

You just need to run fsck on your linux partitions.

John
 
Old 12-12-2003, 07:44 AM   #3
alcanon
LQ Newbie
 
Registered: Dec 2003
Location: Iligan City, Philippines
Distribution: Red Hat Linux 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
No rescue disk. I forgot to make one. Where to run fcsk? whats the syntax?

alcanon
 
Old 12-12-2003, 07:58 AM   #4
BrianNJ
Member
 
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157

Rep: Reputation: 30
can't the installation cd be used as a rescue disk?
 
Old 12-12-2003, 08:13 AM   #5
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Yes it can. If your BIOS won't boot from cdrom, you'll have to enable it. That's system dependant so, if it's not, you'd have to work it out yourself - usually hit 'F12' or something during boot.

Then boot up with your installation CD, make sure your hard drives are unmounted and then, for example, 'fsck /dev/hda1', or 'fsck /boot'.

I don't know where fsck is on the CD's, but root around, it's there somewhere.

John
 
Old 02-10-2007, 02:03 PM   #6
cedid
LQ Newbie
 
Registered: Sep 2005
Distribution: Fedora, Ubuntu, SuSE 10.2 i686
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by jkobrien
Yes it can. If your BIOS won't boot from cdrom, you'll have to enable it. That's system dependant so, if it's not, you'd have to work it out yourself - usually hit 'F12' or something during boot.

Then boot up with your installation CD, make sure your hard drives are unmounted and then, for example, 'fsck /dev/hda1', or 'fsck /boot'.

I don't know where fsck is on the CD's, but root around, it's there somewhere.

John
will an ubuntu installation or live cd work to fix a Fedora Core 3 /etc/fstab problem?

I, basically, have the same problem above. I am getting

Code:
error reading /etc/fstab: Input/output error
when i am trying to cat the /etc/fstab file. FC3 does not boot because of the problem on that file. the error when I am trying to boot FC3 is:

Code:
Warning: Your /etc/fstab does not contain the fsck passno field.
I will kludge around things for you, but you should fix your
/etc/fstab file as soon as you can.

fsck.ext2: Is a directory while trying to open /  (FAILED)

*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot when you leave the shell.
any help will be appreciated..

Last edited by cedid; 02-10-2007 at 02:05 PM.
 
Old 02-12-2007, 05:07 AM   #7
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi cedid,

Sorry, I'm a bit rusty at all that stuff at the moment, but yeah the fsck tool on any installation cd should be essentially the same (some might have newer versions than others is all), and should be able to help you fix up your problems.

I haven't had to mess with it in a while - so please read up the man pages first though!

Good luck,

John
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin Suse/Novell 8 07-04-2005 09:34 AM
X.Org crash........very odd crash..... doctorzoidberg Linux - Software 11 01-07-2005 07:38 PM
kde crash, then other crash, now weird problems true_atlantis Linux - Laptop and Netbook 1 04-28-2004 12:01 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM
X get crash sandeepchau123 Linux - General 1 01-07-2004 12:57 PM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration