Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Ok so far i have
1) make mrproper
2)make xconfig
3)make dep
4)make clean
5)make bzImage
6)make modules
7)make modules_install
Finally then im confused dunno what to do do i cp /usr/src/linux-2.4.20-18.9 /boot/test 2.4.20-18.9.img ? Then do i edit my grub config file to match? what do i do?
Originally posted by cholzsc1 Ok so far i have
1) make mrproper
2)make xconfig
3)make dep
4)make clean
5)make bzImage
6)make modules
7)make modules_install
Finally then im confused dunno what to do do i cp /usr/src/linux-2.4.20-18.9 /boot/test 2.4.20-18.9.img ? Then do i edit my grub config file to match? what do i do?
Using grub as bootloader
If you got no errors in your 7 steps, then all you have to do is reboot. Step 7 copies the img file, and updates grub for you. Try the reboot and report back!
Yeah got a kernel panic error how do i edit the grub.conf to say the correct stuff?Dunno how to edit file says cant mount root...Dont i have to edit grub b4 reboot or mkinitrd /boot/newmkinitrd ???????
Originally posted by cnjohnson If you got no errors in your 7 steps, then all you have to do is reboot. Step 7 copies the img file, and updates grub for you.
no it doesn't, it installs the modules, hence the name. you will still need to update grub. you won't alwaysneed an init idisk though, so just clone the existing entry and change the path to the new image e.g /boot/vmlinux-2.4.21-test
This is my grub.conf file am i missing something or is there something i have to compile to get it to work?
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-18.9custom)
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9custom ro root=/dev/hda2=/ hdd=scsi
initrd /initrd-2.4.20-18.9custom.img
append="hdd=scsi"
title Red Hat Linux (2.4.20-18.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdd=scsi
initrd /initrd-2.4.20-18.9.img
append="hdd=scsi"
Originally posted by acid_kewpie no it doesn't, it installs the modules, hence the name. you will still need to update grub. you won't alwaysneed an init idisk though, so just clone the existing entry and change the path to the new image e.g /boot/vmlinux-2.4.21-test
In fact, RH9 takes care of all the copying, and the updating of grub. See the RH 9 docs.
Check to make sure that you set EXT3 FS support as static (<*>) in your kernel configuration.
I made that mistake once. My boot partition was ReiserFS and I compiled ReiserFS support as a module. Big mistake. How could the kernel load support for ReiserFS if the support module is on a ReiserFS partition?
So, as a best practice, it's always a good idea to hard-code FS support for whatever FS your boot partition's using.
You missed one final step:
make install
This command will update the GRUB file and copy the kernel to the /boot partition. You don't have to manually do anything. Simply reboot after that and the new kernel should appear in the GRUB menu.
Originally posted by solspin You missed one final step:
make install
This command will update the GRUB file and copy the kernel to the /boot partition. You don't have to manually do anything. Simply reboot after that and the new kernel should appear in the GRUB menu.
Good eye! I didn't catch that. That would 'splain everything!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.