LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2003, 04:42 PM   #1
jim.mack
LQ Newbie
 
Registered: Jul 2003
Location: CA
Distribution: red hat
Posts: 2

Rep: Reputation: 0
kernel gone bad


I think I missed a step while installing a new kernel and now it will not boot. It hangs immediately after LILO Loading Linux, it makes a series of dots, and the cursor drops down a line and hangs. There are no other messages on the screen.

I tried booting from the CD and using the rescue option. I am able to boot the rescue cd, and I am able to mount the disk that "should" contain the root. But when I mount it, only "lost+found" is shown. I have mounted the drive as ext2 and ext3, and run e2fsck on it.

e2fsck -b 32768 /dev/hda2
tune2fs -j /dev/hda2
mount -t ext3 /dev/hda2 /mnt/hda2

The only thing in /mnt/hda2 is lost+found, and there is nothing in it. I actually mounted both partitions on hda, both had the same result.

I am running on an IBM Laptop with Red-Hat 9.0. I have previously run a custom kernel without any problems.

Running fdisk –l:
/dev/hda1 1 14 105808 83 Linux
dev/hda2 15 4645 35010360 83 Linux
dev/hda3 4646 4783 1043280 82 Linux swap

running e2fsck /dev/hda2:
e2fsck 1.34-WIP (21-May-2003)
/dev/hda2: clean, 11/4382336, 145739, 8752590 blocks

At this point I am stuck, Any ideas before I reinstall?

Thanks,
 
Old 07-10-2003, 05:05 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
is /hda1 a boot partition?

how many users do you have on your system?

is /hda2 your /home/ ?

from what i have seen it looks like /hda2 is the home, your getting the lost+found because your looking at root's home. take a look at /hda1 and see if things are there.

drop a line back with your /etc/lilo.conf and we'll see if we can fix it for you.

cheers.
 
Old 07-10-2003, 05:18 PM   #3
jim.mack
LQ Newbie
 
Registered: Jul 2003
Location: CA
Distribution: red hat
Posts: 2

Original Poster
Rep: Reputation: 0
No, the boot partition is hda2. hda1 was an IBM "recovery" disk that I erased after installing (it still worked after this). I mounted and looked at both hda1 and hda2, neither had any data. It seems like the disk got hosed somehow. Is there a utility to verify, beyond e2fcsk?

It is a single user system.

Unfortunately, I don't have a copy of my lilo.conf, but I didn't try anything fancy. If I can get access to the disk, I am pretty sure I can fix it.

hda1 and hda2 not showing any directories is what really has me confused. Any ideas?
 
Old 07-10-2003, 05:30 PM   #4
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
aahhhhh, no. sorry.

looks as if you might have rmed the whole system somehow. how i don't know. and the /hda1 still being there after you got rid of it is puzzling in itself. did you write your disk after you removed it? that the only thing that i can think of as to why it's still there.

good luck.
 
  


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
NEw kernel compile gone bad, please help botto Linux - Software 1 12-13-2004 03:53 PM
Kernel Panic? That's bad right? omegaworks Linux - General 6 08-29-2004 05:27 PM
Bad message with compiled kernel melinda_sayang Linux - General 2 02-18-2004 10:06 PM
Bad installed kernel problem! THX1138 Linux - Newbie 7 11-02-2003 02:57 PM
Is having a large kernel bad? MRK Linux - Software 4 07-13-2003 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 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