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.
I received some errors with my new kernel(2.4.22) so I decided to try again. I read more from HOWTO. I observed that after decompressing the 2.4.22 kernel there is no .config file so I had copied the .config file from the /boot (this was the .config file of the 2.4.20 kernel) into the /usr/src/linux-2.4.22 and after that
make dep
make bzImage
make modules
make modules_install
cd /sbin
./mkinitrd ./initrd-2.4.22.img 2.4.22
cp /usr/src/linux-2.4.22/arch/i386/boot/bzImage /boot/vmlinux-2.4.22
cp ./initrd-2.4.22.img /boot
cp /usr/src/linux-2.4.22/.config /boot/config-2.4.22
after that I configured GRUB but at start up I receive
Kernel panic: No init found; Try passing init= option to kernel.
What should I do now?
It is good that I copied the .config file of the distribution kernel to use it with this new kernel? Initially I tried with make oldconfig but I didn’t had a .config file in the /usr/src/linux-2.4.22 and it didn’t work write(for example the processor type remained Pentium III and I have am AMD Athlon XP)
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Red Hat Linux (2.4.22)
root (hd0,1)
kernel /vmlinux-2.4.22 ro root=/dev/hda3
initrd /initrd-2.4.22.img
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1
I fix the problem with the kernel and now it loads but I still have some problems:
USB mouse, keyboard…FAILED
Iptables…FAILED
What is iptables and how can I activate it from kernel(what do I have turn on?)?
I turned on the ntfs support but how can I mount the ntfs partition?
I have the following partitions:
1-ntfs
2-boot
3-ext3
4-swap
(I installed linux RedHat 9.0 after windows XP)
Perhaps you have not included USB and iptables support in the kernel. If you require them then they should either be included directly or as modules in the kernel. You would have to do the configure again and either include them or select them as modules then recompile the kernel and install it as before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.