LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-26-2003, 07:04 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
Need help...about to go mad!!!


Right ,I’ve been having major problems with trying to configure and compile a new kernel.I’ve asked a lot of people ,but no one has pin-pointed the problem,so I thought I’d ask again.
For the record,I’m running RED HAT 8 that I installed about a week ago.I can boot from the default kernel,but I can’t boot from any that I configure and compile myself.

Ok,I’ve tried to catalog every step that I’ve done in trying to create a new kernel in the hope that someone can tell me what I’m doing wrong:

1.downloaded a new Linux kernel source code package:
linux-2.4.19.tar.gz

2.I went to the /urs/src folder and unpacked the
file which gave me a folder called linux-2.4.19

3.then ,from /usr/src/linux-2.4.19 / I ran make mrproper

4. then I ran make xconfig .I left things as they were and pressed save and exit

5.Got a message saying ‘end of kernel config.Next you must run make dep’

6. ran make dep

7. ran make clean

8. ran make bzImage

9. make modules

10. make modules_install

11. make install

12 Then I checked that I had an initrd image for the new kernel,which I did,and checked the Grub config file .

13. rebooted and when GRUB loaded,I chose my new kernel.

HERE IS THE PROBLEM:
It gets a few seconds into the booting process and gives me the message:
ds:no socket drivers loaded
VFS:cannot open root device “LABEL=/” or 00.00
Please append a correct “root=” boot option
Kernel panic VFS:unable to mount root fs on 00.00





When I check my grub config file,it says this:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hdc5
# initrd /boot/initrd-version.img
#boot=/dev/hdc
default=5
timeout=20
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.19)
root (hd0,4)
kernel /boot/vmlinuz-2.4.19 ro root=LABEL=/ hda=ide-scsi
initrd /boot/initrd-2.4.19.img
title Red Hat Linux (2.4.18-14)
root (hd0,4)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hda=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title WINDOWS XP
rootnoverify (hd0,0)
chainloader +1



what does # NOTICE: You do not have a /boot partition.Mean?
Is that the source of my problems??If so,how do I go about fixing it?


Thanks for any help,
Ludwig

Last edited by ludwig W; 03-26-2003 at 07:08 AM.
 
Old 03-26-2003, 04:24 PM   #2
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
4. then I ran make xconfig .I left things as they were and pressed save and exit
THERE's your problem. You have to actually go and change stuff...like choose a file system, so you computer can actually boot your root system:
Quote:
Kernel panic VFS:unable to mount root fs on 00.00
I recommend that you (a) go through each option in the kernel config - if you dont know what it is see the equivelant "help" (b) don't recompile your kernel - why exactly did you choose to recompile it?

BTW, /boot is usually only needed on older HD's -- its a seperate partition, where you can possibly install your kernel, and so forth. Its usually not needed (although some people prefer a seperate /boot) - ie. its not the problem.
; )
 
Old 03-26-2003, 05:45 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks cuckoopint.
I'll do what you say.

Thanks for pointing that out.
 
  


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
mpg123 vs mad doralsoral Linux - Software 1 03-01-2005 10:29 PM
Printer gone mad liljhand Linux - Hardware 0 01-29-2005 12:15 PM
my vim got mad! ilnli Slackware 4 01-03-2005 02:15 PM
Getting mad of apache J_Szucs Linux - Software 8 11-21-2003 01:47 AM
:mad: Installation prob :mad: soodvarun Red Hat 0 09-12-2003 01:44 AM

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

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