Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-26-2003, 07:04 AM   #1
ludwig W
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:

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.

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
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
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,

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

Rep: Reputation: 30
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 choose a file system, so you computer can actually boot your root system:
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
Registered: Mar 2003
Posts: 404

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

Thanks for pointing that out.


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 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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration