Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
grub.conf
# 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,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=1
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.32.3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32.3 ro root=UUID=21d34cba-e758-4a3d-8f2f-e98988868a68 rhgb quiet
initrd /boot/initrd-2.6.32.3.img
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=21d34cba-e758-4a3d-8f2f-e98988868a68 rhgb quiet
initrd /boot/initrd-2.6.27.5-117.fc10.i686.img
"default" is set to 1 (grub start counting to 0), and it's the standard fedora kernel. More over, you have a time out of 0, that means that the menu to choose the kernel is not displayed, add 5 or 10 to display it 5 (or 10) seconds before booting with the default kernel.
Last edited by jf.argentino; 01-15-2010 at 04:15 AM.
Reason: fixing end code block
@ anishakaul
compiled the code it is generating .ko file but when i do
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
insmod kernel
insmod: can't read 'kernel': No such file or directory
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
new kernel is latest one 2.6.32.3
old kernel is my fedor10 2.6.27.5
@ anishakaul
compiled the code it is generating .ko file but when i do
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
insmod kernel
insmod: can't read 'kernel': No such file or directory
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
try from root:
Code:
insmod kernel.ko
Last edited by Anisha Kaul; 01-15-2010 at 04:24 AM.
I am working with the default kernel on OpenSuse 11.2
I suppose u should fix your kernel problem (uname -r) first and then try anything else, coz. now kernel problem is the only difference between your comp and my comp w.r.t insmod !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.