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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-07-2004, 08:30 PM   #1
karfei00
Member
 
Registered: May 2004
Posts: 54

Rep: Reputation: 15
new compiled kernel 2.6.6 didnt work


i tried to compile the kernel 2.6.6 .......using these steps

initially i tried :
make dep modules modules_install install

eventually i reliazed that kernel 2.6.6 have to use "make" instead of "make dep"

so i recompiled again :
make modules modules_install install

after evryone was done...i reboot .....there was an option for me to choose linux 2.6.6 from GRUB....then i choosed it.....but the linux cant boot ...

ERRORS:
VFS:Cant open root device "LABEL=/"
Please append a correct "root=" boot option
kernel panic:VFS:Unable to mount root fs

what should i do ?

my grub.conf :

title Red Hat Linux (2.6.6)
root (hd0,1)
kernel /boot/vmlinuz-2.6.6 ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.6.6.img

should i roll back ?if so ..how can i do that? thanks a lot

Last edited by karfei00; 06-07-2004 at 09:25 PM.
 
Old 06-07-2004, 10:20 PM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
change
Code:
 kernel /boot/vmlinuz-2.6.6 ro root=LABEL=/ hdd=ide-scsi
to
Code:
 kernel /boot/vmlinuz-2.6.6 ro root=/dev/hdXX hdd=ide-scsi
where /dev/hdXX is your root (/) partition.
 
Old 06-08-2004, 11:44 AM   #3
Miky
Member
 
Registered: Dec 2002
Location: London / Paris
Distribution: Debian / OpenBsd
Posts: 74

Rep: Reputation: 15
Have you done the mkinitrd -o command ?
You talked about roll back but when you install a new kernel you have do add a new paragraph to boot the kernel and not replace the old one.
 
Old 06-08-2004, 08:59 PM   #4
karfei00
Member
 
Registered: May 2004
Posts: 54

Original Poster
Rep: Reputation: 15
now i am able to boot the 2.6.6 ....but a lot of modules cannot be loaded during the booting time...and i noticed that the mouse is too sensitive in 2.6.6
 
Old 06-09-2004, 12:50 AM   #5
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Rep: Reputation: 15
all u have to do is

make menuconfig

configure your kernel

make && make modules_install

cp arch/i386/boot/bzImage /boot/kernel-2.6
cp System.map /boot/System.map


edit grub to load kernel-2.6 and you're done.

Also with the 2.6.6 kernel you don't need hdd=ide-scsi
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 06:09 PM
keyboard won't work with newly compiled kernel dr_zayus69 Linux - Hardware 10 06-05-2005 11:23 AM
Compiled 2.6.9 kernel - Intel PRO/100 VE Network Card won't work Jonescity Slackware 4 10-24-2004 02:59 AM
X not starting in Fedora 2(latest kernel), already tried reinstall, didnt work RagingIfrit Fedora 11 09-22-2004 04:22 PM
Kernel compiled, but doesnt work fckalya Slackware 14 07-02-2004 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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