LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-21-2006, 06:19 PM   #1
Usman Sajid
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Mandriva Install Fails: Kernel Panic


So I've got a bit of an installation problem here that I'm hoping someone will know how to fix.

When installing Mandriva Linux (2006) on what once a Windows XP computer (the hard drive has since been formatted), the installation goes to the screen after where you hit Enter, and then freezes. I'm not doing a shared-partition job, it's merely a one-OS install.

I decided to do a text-install so I could figure out what the problem was, and it turns out to be the same problem that I had when I tried to install Ubuntu earlier (and failed, hence I tried Mandriva instead).

The last lines that I get prior to the install stopping and 'freezing' is:

Code:
RAMDISK: Compressed image found at block 0
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
crc error
EXT2-fs: unable to read superblock
Kernel panic - not syncing: WFS: Unable to mount root fs on unknown-block(9,0)
_
I've tried to make the situation as clear as posisble, and you'll have to forgive my novelty to Linux: indeed, I decided that Windows didn't serve my needs so hence I decided to convert. Perhaps you can help me get it up and running. I'll be right here watching the post (like you do), so if you want more information, please ask.

Last edited by Usman Sajid; 01-21-2006 at 06:20 PM.
 
Old 01-21-2006, 07:36 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
buddy,AFAIK U need to have an `initrd' with correct path set on your /boot/grub/grub.conf.Did u compiled a custom kernel?then make an initrd using 'mkinitrd' utility.Best of LUX
 
Old 01-22-2006, 07:48 AM   #3
Usman Sajid
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Right: I haven't compiled anything custom whatsoever, I've just downloaded it straight off the net (which I MD5 verified, and 'twas A-OK), stuck it on a CD-RW and tried to install it. I also don't have a clue what this 'initrd' stuff is: I've come straight off Windows and tried to do everything by the book.
 
Old 02-05-2006, 07:49 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
If your kernel isn't compiled with an IDE or filesystem driver internally, ie statically, it won't be able to read the hard drive when it boots..

The usual answer is to use an "initrd", which contains the same kernel but with some extra hardware drivers from the kernel modules. It boots from the MBR on the drive, or a named partition, and allows file systems to be recognised.

In your /boot directory there will be an initrd image that needs to be entered into your boot loader config file, ie LILO or GRUB.

If this website is correct, you will have LILO installed, hopefully on /dev/hda.
http://www.mandrake.tips.4.free.fr/installmdv2006.html
This means you will need to use the rescue mode on the installation cd and manually modify the /etc/lilo.conf file and run lilo -v again to correct the MBR.
You will need a line like..
initrd = /boot/initrd-img-xxxxxxx (use the correct file name here)
in the block where the kernel is specified.
 
  


Reply



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
mandriva 2006 install on hp fails dickgregory Mandriva 5 02-28-2006 06:17 PM
Mandriva - Not Booting After Moving Hd, kernel panic Quaxo Linux - General 3 12-03-2005 06:13 PM
Mandriva 2006 installation on laptop HP pavillion, Kernel panic while detecting PCMCI Demo Linux - Laptop and Netbook 0 12-03-2005 05:00 AM
kernel panic in mandriva 10.2 ppc cbomholt Mandriva 1 11-11-2005 02:12 PM
Mandrake 9.0 install fails with kernel panic Septus Mandriva 2 02-02-2004 10:13 AM

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

All times are GMT -5. The time now is 11:17 PM.

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