LinuxQuestions.org
Visit Jeremy's Blog.
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 07-14-2003, 03:59 AM   #1
klog2_k
LQ Newbie
 
Registered: Jul 2003
Location: hjgjg
Posts: 5

Rep: Reputation: 0
compile kernel 2.4.20


I want compile kernel 2.4.20 in redhat 7.2 using vmware. I already make dep clean modules modules_install bzImage and bzlilo, and copy vmlinuz to /boot and edity lilo.conf. but it still kernel panic. I need help from anyone here that familar in this situation.
 
Old 07-14-2003, 05:34 AM   #2
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
the procedure i use

make clean

make menuconfig
(edit the options as needed)
make dep
make modules
make modules_install
make bzImage

cp path/to/bzImage /boot/vmlinuz
cp System.map /boot/

(configure lilo if needed)

lilo
reboot

and of course thats all after making a backup of my curret kernel so i can still boot if it breaks,

Where does the kernel panic occur?
 
Old 07-15-2003, 11:40 PM   #3
klog2_k
LQ Newbie
 
Registered: Jul 2003
Location: hjgjg
Posts: 5

Original Poster
Rep: Reputation: 0
the kernel panic display the error "Kernel panic:VFS:unable to mount root fs" The question now is how to compile the kernel on VMWARE, is there any option that i miss during configure the kernel ?
 
Old 07-16-2003, 08:39 AM   #4
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
i have used lilo in a while, but...

in redhat's grub.conf the root partition is listed as:

root (hd0,1)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdd=ide-scsi


but if i use my own kernel i had to change it to

root(hd0,1)
kernel /vmlinuz-2.4.20-18.9 ro root=/dev/hda3


obviously my '/' partition is hda3.

that might help you, but if anyone else has an answer, i'd like to know what this means.
 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

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