Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > Kernel panic:unable to boot with compiled kernel...

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-08-2007   #11 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Location: Toronto
Posts: 127
Post the output of command "fdisk -l"
kevkim55 is offline  



Reply With Quote
Old 08-08-2007   #12 (permalink)
Just Joined!
 
Join Date: Jun 2007
Posts: 34
contents of "fdisk -l"

Quote:
Originally Posted by kevkim55 View Post
Post the output of command "fdisk -l"
Disk /dev/hda: 10.8 GB, 10800857088 bytes
255 heads, 63 sectors/track, 1313 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1251 10048626 83 Linux
/dev/hda2 1252 1313 498015 5 Extended
/dev/hda5 1252 1313 497983+ 82 Linux swap / Solaris

Here you go. Any help is greatly appreciated.

Thanks
rabantu is offline   Reply With Quote
Old 08-08-2007   #13 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,169
Did you disable ext3 support in compiled kernel?
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 08-08-2007   #14 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,158
Send a message via AIM to Dapper Dan
Hi again guys...

I've been getting the exact same errors on my wifes old Omnibook. I first got the error a week ago under Slackware 10.2. Up until then it has worked without problems. I could not get passed "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block."

I was going to upgrade to "12" anyway so I installed it last weekend. The install went without incident, wiping the old "/" and installing over it. Everything worked as expected until yesterday, and suddenly, there is that exact same error again which seems highly unlikely. a few subsequent reboots yeilded the same error.

At this point I'm beginning to suspect a bad drive.

EDIT: Weirdness of all weirdness.... I just booted it to copy down the error exactly and it's now booting into X and running perfectly! lol... What do you make of this devils_casper? Maybe rabantu is experiencing a similar problem.
__________________
CRUX 2.6 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 08-08-2007   #15 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,169
Thats really weird.
It could be because of dieing Hard Disk. Try to scan it with disk utility provided by your Hard Disk's Manufacturer. fsck doesn't scan and report problems correctly.
Latest version of fsck, 1.40.2, works fine though.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 08-08-2007   #16 (permalink)
Just Joined!
 
Join Date: Jun 2007
Posts: 34
did not disable ext3...

Quote:
Originally Posted by devils_casper View Post
Thats really weird.
It could be because of dieing Hard Disk. Try to scan it with disk utility provided by your Hard Disk's Manufacturer. fsck doesn't scan and report problems correctly.
Latest version of fsck, 1.40.2, works fine though.
HI Dapper_Dan & Devils_Casper,

Thanks for your replies.

I didnt disable my ext3.

And if it was a problem with my hard disk, why would it not give me any issues when I boot it with the Xubuntu 7.04 ( Kernel 2.6.20.15 i guess )?
Am I just getting lucky with that kernel?

I will do the fsck once I go back home tonight.

Thanks
rabantu is offline   Reply With Quote
Old 08-09-2007   #17 (permalink)
Just Joined!
 
Join Date: Jun 2007
Posts: 34
fsck did not report any errors...

Quote:
Originally Posted by devils_casper View Post
Thats really weird.
It could be because of dieing Hard Disk. Try to scan it with disk utility provided by your Hard Disk's Manufacturer. fsck doesn't scan and report problems correctly.
Latest version of fsck, 1.40.2, works fine though.
Hi Devils_Casper,

As suggested I ran fsck and it didnt report any errors.
The following is the output from running the fsck command:

fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda1 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? yes

/dev/hda1: recovering journal
/dev/hda1: clean, 163989/1256640 files, 1391711/2512156 blocks
rabantu is offline   Reply With Quote
Old 08-10-2007   #18 (permalink)
Just Joined!
 
Join Date: Jun 2007
Posts: 34
can someone please advise me what to do in my situation??

Quote:
Originally Posted by rabantu View Post
Hi Devils_Casper,

As suggested I ran fsck and it didnt report any errors.
The following is the output from running the fsck command:

fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda1 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? yes

/dev/hda1: recovering journal
/dev/hda1: clean, 163989/1256640 files, 1391711/2512156 blocks
Hi,

I have been stuck for a while now. Can someone please advise me what to do??

Thanks
rabantu is offline   Reply With Quote
Old 08-11-2007   #19 (permalink)
Just Joined!
 
Join Date: Jun 2007
Posts: 34
Anyone please!!!!!!!

Quote:
Originally Posted by rabantu View Post
Hi,

I have been stuck for a while now. Can someone please advise me what to do??

Thanks
Can anyone please give me some advise?

Thanks
rabantu is offline   Reply With Quote
Old 08-12-2007   #20 (permalink)
Linux Newbie
 
Join Date: Dec 2005
Location: Toronto
Posts: 127
Quote:
I didnt disable my ext3.
Did you compile ext3 as a module ? If yes, you need to recompile your kernel with ext3 integrated into your kernel.

In case you have ext3 compiled as a module, you'll have to include ext3 module in the initrd image and make sure that init script in the initrd image loads the ext3 module before it attempts to mount the root filesystem.

Let me know if this was helpful !
kevkim55 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:28 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1