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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
this is my first post here in this forum . I was trying to copile a new kernel in my PC. I am using Fedora core 6. I tried to compile linux-2.6.22.1 downloading from internet.
what I did were:
make configure
make
make modules_install
make install
install
initrd ....
then I reboot my PC and found a new option to chose OS while starting the PC. But if i choose my new kernel I is not booting. It is not getting the files required. I dont know why is this happening. Is there anyone to help me ??
tar -xzvf linux-2.6.22.1.tar.gz
mv ~/linux-2.6.22.1 /usr/src/linux-2.6.22.1
cd /usr/src
rm /usr/src/linux
ln -s /usr/src/linux-2.6.22.1 linux
cp /boot/config /usr/src/linux/.config
cd /usr/src/linux
make oldconfig
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.22.1-smp
cp System.map /boot/System.map-2.6.22.1-smp
cp .config /boot/config-2.6.22.1-smp
Then edit /etc/lilo.conf and add something like that:
Code:
image = /boot/vmlinuz-2.6.22.1-smp
initrd = /boot/initrd.gz
root = /dev/hda3
label = Slackware
read-only # Partitions should be mounted read-only for checking
Thank you Road Map for your help. But I dont think there is a lilo.conf in fedora core 6 . Instead there is grub.conf in /boot/GRUB . Anyway I made my change there
>>Adilbhilai :
when I boot my computer I get the options of the newly compiled compiled kernel as well as the old one.If I chose the option of my new kernel . It starts to load. And for fe seconds I see a lot of words written of that black window and they pass so quickly that I could not read them . But after few seconds the booting suspends as it fails to find some path , i found there some words like ... unable to shift "root" , unable to unmout , etc. Finally it hauls with showing a system panic that all tasks might be killed of . After that nothing happens and system haults for ever until I reboot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.