LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-17-2004, 11:55 PM   #1
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Rep: Reputation: 50
Redhat 9 system displays "Boot Failed"


I have a relatively new Redhat 9 system that was working just great for 6 months until the last time I started it.

Now tonight, I press the power button, I see the BIOS splash screen, then "Boot Failed" instead of the Grub loader screen asking which version to boot.

I put in my Redhate boot diskette and try again. Among the text scrolling by the screen I see things like:

hda: read_intr: 0x04 { Drive Status Error }
end_request: I/O error, dev 03:02 (hda) sector 2
EXT-fs: unable to read superblock

and many more. Then:

Kernel panic: no init found. Try passing init= option to kernel.


Has my disk died?

Any suggestions? If dead, any other way to get the data off of it?

Thanks

Phil
 
Old 03-18-2004, 10:01 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Boot a standalone disk, then try to mount.
 
Old 03-18-2004, 11:18 PM   #3
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Original Poster
Rep: Reputation: 50
My disk looks okay. It is a 30GB Maxtor ATA. I used the Maxtor diagnostic tool diskette and the drive passed all non destructive tests.

So what might be happening?

Could my boot area have become corrupted?

If so how would one recover?

Should I attempt a reinstall from the Redhat 9 installation disks?

Would this destroy may application data?
 
Old 03-19-2004, 12:14 AM   #4
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Original Poster
Rep: Reputation: 50
Well I tried a live boot CD (DamnSmallLinux) and tried to mount the partitions on the disk: hda1, hda2, hda3. I think hda2 is the root filesystem and I am pretty sure I used the default ext2 filesystem when I originally installed Redhat 9. The message I got was:

> sudo mount -t ext3 /dev/hda2 /mnt/hda2
mount : wrong fs type, bad option, dad superblock on /dev/hda2
or too many mounted file systems.

The bad superblock was in an error message I got when I tried the boot diskette.

Could my "superblock" have become corrupted? How would I repair that?
 
Old 03-19-2004, 01:17 AM   #5
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Original Poster
Rep: Reputation: 50
Thumbs down

Reading around the forum some more, it looks like you use e2fsck to fix superblocks. As in the thread: http://www.linuxquestions.org/questions/history/140535

Well this yields a:

e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda2
Could this be a zero length partition.

The thread goes on to suggest the partition table is bad. Here is mine:

Command (m for help): p

Disk /dev/hda: 30.7 GB, 30750031872 bytes
240 heads, 63 sectors/track, 3972 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 ? 267666 49364 497115833 29 Unknown
Partition 1 does not end on cylinder boundary.
/dev/hda2 ? 204081 49219 976730017 3 XENIX usr
Partition 2 does not end on cylinder boundary.
/dev/hda3 ? 1 1 0 6c Unknown
Partition 3 does not end on cylinder boundary.
/dev/hda4 92485 160850 516843863+ 49 Unknown
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order


--------

Supposedly this is very bad. Since I do not have my original partition settings, attempting repair is unlikely to be successful.

So before I start anew on my Redhat 9 re-install from scratch, I appeal to the community two more questions:

1. Is my prognosis correct? The partition is bad, start over.

2. What could have corrupted it? I do not recall any "abnormal" event that might have caused this. The disk diagnostics all pass, no power failure, or the such. I did have DVD-ROM on the secondary IDE bus that was "bad" and causing syslog errors, but that was all.
 
Old 03-23-2004, 04:03 PM   #6
rsj0719
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat linux 9.0
Posts: 3

Rep: Reputation: 0
hi

I have a new red hat 9 system, but while booting the service sendmail takes a 3-4 minutes to start. So I don't want the sendmail service to start at boot time. But since I am not much familiar with linux I don't know how to do it... ?

Is there anybody who can help me to solve this problem?

Thanks
 
Old 03-28-2004, 04:06 PM   #7
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Original Poster
Rep: Reputation: 50
Well I ended up re-installing and forgetting about recovery.

As for rsj0719's problem, I am not sure why he/she posted it here.

I did have this problem and determined that sendmail wanted a hostname.domainname for its host in the /etc/hosts file. After adding that, it starts up very quickly.
 
Old 03-31-2004, 12:06 PM   #8
reelwylde
LQ Newbie
 
Registered: Apr 2003
Posts: 24

Rep: Reputation: 15
not sure why rsj posted here either...

But to turn off send mail all together chkconfig sendmail off should do it.
 
Old 03-31-2004, 02:22 PM   #9
rsj0719
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat linux 9.0
Posts: 3

Rep: Reputation: 0
Hi friends...
Thank you pwalden and reelwylde....

as a newbie i was not knowing where to post my questions..... sorry for that...

once again thank you....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
"fsck failed. Please repair manually and reboot" after chaning non-system partition undeaf SUSE / openSUSE 17 02-07-2014 12:18 PM
"e100_wait_exec_simple: failed" - Redhat AS3.0 rfrancis Red Hat 1 03-23-2005 12:34 PM
after I created a new account , why system displays"I have no name!" larrylovelinux Linux - Security 3 05-08-2004 05:13 AM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 09:00 PM
Box Won't Boot - just displays "ATI MACH64 BIOS P/N 113-49801-101" te3d Linux - Hardware 3 10-27-2003 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:19 AM.

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
Open Source Consulting | Domain Registration