Solved

Linux refuses to boot!

Posted on 2000-03-07
8
243 Views
Last Modified: 2010-04-20
Hi there,

I have a problem trying to get my linux PC to boot. The machine must not have been cleanly shutdown and now every time i try and boot it i get the following :-

...
...
INIT version 2.74 booting
Loading default keymap/etc/rc.d/rc.sysinit: /dev/null: Read-only file system    [FAILED]
Setting default font     [OK]
Setting hostname inet.com [OK]
Checking root filesystem

This is were it hangs, i get no disk activity at all, and i have left it for about 40mins+

Any help with this would be greatly appreciated.

Regards
Lee.

(By the way i am running RedHat 6.0)
0
Comment
Question by:LEEJG
8 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2591274
It sounds like the state of the file systems at boot wasn't clean and fsck, when it ran, couldn't fix them. Try booting single user ("linux single" at the lilo boot prompt) and running fsck manually on each file system. You could have a damaged file system or, worst case, a failing disk drive. If it looks like the disk, it would be good to check the biso settings to be sure they haven't changed.
0
 

Author Comment

by:LEEJG
ID: 2591390
Hi jlevie

Thanks for you quick response :-)

I can now get to a bash# prompt and see my filesystem (Using "linux single"), but everytime i try and use :-

fsck -t ext2 /dev/hda5
or
fsck /
or
fsck -t ext2 /

I get the following :-
Parallelizing fsck version 1.14 (9-jan-1999)

With no disk activity at all or any messages.

Any Ideas?

Thanks
Lee.
0
 

Author Comment

by:LEEJG
ID: 2591399
also if i shutdown the PC again i get the original problem

0
 
LVL 2

Expert Comment

by:bernardh
ID: 2593324
try the command e2fsck -p /dev/hdXX where XX is the device needed to get fixed, say /dev/hda5.

answer all questions with the default (usually yes or ignore). basically, e2fsck is run in similar situations as scandisk would be run during startup in a windows box.

after all the check, shutdown your box with the command: shutdown -r now, reboot or halt
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 3

Expert Comment

by:freesource
ID: 2593359
-p    Automatically  repair  ("preen")  the  file  system without any questions.

It's possible your superblock is corrupt, so you may have to do something like this:

e2fsck -b 8192 /dev/hdXX

You'd be better off doing all this from an emergency disk with the partition you want to fix unmounted.
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 200 total points
ID: 2594545
did you upgrade kernel or sth along that line lately? You also needs to upgrade  a package called 'e2fsprogs' or 'e2fsutils' whichever contains e2fsck.

I did a 5.2->6.1 jump and had similar problem. upgrade the above-mentioned pacakge, then, I am there.
0
 

Author Comment

by:LEEJG
ID: 2595276
Thankyou jyu_88, i downloaded the latest version and installed,

Its Now working!!!!!

Many thanks, to all the experts that have helped me.

Lee.
0
 

Expert Comment

by:ibwan
ID: 8562676
how to upgrade 'e2fsprogs' and upgrade kernel
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now