LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-24-2006, 08:44 AM   #1
ishashank
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Problem with installing linux version 2.6.0 on CentOS


Hi All,

I am trying to install linux version 2.6.0 on a linux machine with CentOS.

The Problem after booting the system I am getting is as follows:

******
Ext3-fs : Unable to read superblock
mount : error 22 mounting ext3
pivotroot : pivot_root((/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
kernel panic: no init found try passing init= option to kernel.
******

I am mentioning below the output of df command and the contents of /boot/grub/grub.conf file for your reference.

[root@localhost root]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 529628 337068 165656 68% /
/dev/md1 264333 33727 216958 14% /boot
none 2050708 0 2050708 0% /dev/shm
/dev/md6 1043452 32840 957604 4% /tmp
/dev/md5 4142700 1965532 1966724 50% /usr
/dev/md7 529564 259780 242884 52% /var
/dev/md8 4142700 56576 3875680 2% /var/TKLC
/dev/md9 529564 16432 486232 4% /var/TKLC/recovery
/dev/md10 4142700 1507676 2424580 39% /var/TKLC/recovery/usr
/dev/md11 15630680 14727208 109468 100% /var/TKLC/swap


This is a snapshot of the /boot/grub/grub.conf file

******
title CentOS (2.6.0)
root (hd0,0)
kernel /vmlinuz-2.6.0 ro root=/dev/md2 hdb=ide-scsi hdd=ide-scsi apm=off reboot=w console=tty0 console=ttyS0,115200
initrd /initrd-2.6.0.img
******

My bosses are haunting over me to get the job done ASAP.
It would be a gr8 help if you could give some pointers.

Regards,
Shashank
 
Old 03-24-2006, 10:44 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Instead of attempting to install such an old 2.6 kernel why not just upgrade to CentOS 4.X (it's free afterall). Much easier to upgrade to 4.X then to get a 2.6 kernel on CentOS 2/3 working.

But if you want to do it the hard way;

http://www.fearthecow.net/index.pl?s...st&page=kernel
http://thomer.com/linux/migrate-to-2.6.html
http://kerneltrap.org/node/799

All the links are a bit old but should provide the information you need.

FYI: from ftp://centos.cs.ucr.edu/centos/4.3/os/SRPMS

kernel-2.6.9-34.EL.src.rpm 43343 KB 03/14/2006 12:46:00 AM
 
  


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
Installing CentOS easy_bill Linux - Newbie 5 10-02-2006 09:47 PM
Installing CentOS robyne Linux - Newbie 2 06-24-2005 01:25 PM
Problem installing ksambaplugin: too recent version of Qt Designer duffboygrim Linux - Software 0 02-29-2004 04:46 PM
installing a firmware version of linux bob_man_uk Linux - Software 1 11-19-2003 06:04 AM
Installing/Compiling Linux version 0.99 drewskiamk Linux - General 1 05-01-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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