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.
Hi, im in the middle of compiling a new kernel im reading through the included readme to guide me through the installation but theres something in the readme that has confused me and i was wondering if anyone could help?
the readme is directed towards the LILO boot loader but i use grub.
In the readme is says:
- In order to boot your new kernel, you'll need to copy the kernel
image (e.g. .../linux/arch/i386/boot/bzImage after compilation)
to the place where your regular bootable kernel is found.
If you boot Linux from the hard drive, chances are you use LILO which
uses the kernel image as specified in the file /etc/lilo.conf. The
kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or
/boot/bzImage. To use the new kernel, save a copy of the old image
and copy the new image over the old one. Then, you MUST RERUN LILO
to update the loading map!! If you don't, you won't be able to boot
the new kernel image.
but im not sure where that is, in my /etc/grub.conf file it says:
would the kernel boot image be kernel /vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet so kernel /vmlinuz-2.6.5-1.358smp where the kernel is stored?
Yes, that is your current kernel. You just need to copy your new kernel image and name is something like: /vmlinuz-2.6.7-1smp (I just made up a name). If you are using initrd to boot, you will have to create an initrd for this kernel as well. Make an entry for the new kernel in menu.lst like:
Originally posted by m_yates They are both kernel images. You have two entries listed in menu.lst, one for each.
The smp is for multiple processors. If you only have one cpu, you don't want the smp processor. You need the mkinitrd program to make the initrd for the new kernel. Type "man mkinitrd". The command would be something like:
Code:
mkinitrd /boot/initrd-2.6.7.img 2.6.7
At least I think. I use Debian, and it is done a little differently.
ok now this is strange, man mkinitrd works but when i try "mkinitrd /boot/initrd-2.6.7.img 2.6.7" it gives me this:
[root@myroom boot]# mkinitrd /boot/initrd-2.6.7.img 2.6.7
bash: mkinitrd: command not found
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.