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.
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
title Red Hat Linux (2.4.19)
kernel /boot/vmlinuz-2.4.19 ro root=LABEL=/ hda=ide-scsi
title Red Hat Linux (2.4.18-14)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hda=ide-scsi
title WINDOWS XP
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,
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.
I'll do what you say.
Thanks for pointing that out.
|All times are GMT -5. The time now is 10:02 PM.|