Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Bzimage
post Jul 24 2004, 05:46 PM
Post #1


Group: Members
Posts: 82
Joined: 4-February 04
From: Michigan
Member No.: 2,290

Is this the same as vmlinuz?

Im doing this
Once you have done this, exit the menuconfig (don't forget to save). After that run (as root in your /usr/src/linux folder):

make dep && make clean bzImage modules modules_install
With this command you will create a bzImage kernel file in your /usr/src/linux/arch/i386/boot/. The i386 part may change accordingly to your arch. Now you must copy the kernel image to /boot. (in some distros you will have to mount /boot first)

mount /boot # only do this if your /boot partition doesn't get mounted automaticaly
cp /usr/src/linux/arch/i386/boot/bzImage /boot/ # change the to whatever you want your image to be named
After this you will have to edit your lilo/grub settings. For both it should be enough if you use the same data as for the already working kernel. The lilo conf file is in /etc/lilo.conf. After updating it you will have to run /sbin/lilo

For grub you will have to edit /boot/grub/grub.conf. After the changes nothing else is needed. Move on to AGPGart configuration, which is very IMPORTANT!!!

it says to edit grub but not what to edit. Im pretty sure I did some changes and recompiled the kernel cause it took a good 1.5 hours. I see the line in the grub menu pointing to vmlinuz, to boot off the kernel file I compiled I just change that to my file name right? Thanks for any help

Go to the top of the page
+Quote Post
post Jul 25 2004, 10:12 AM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,807
Joined: 23-January 03
Member No.: 360

You could change the name from vmlinuz to the new kernel name but it is safer to create a new menu item just in case the new kernel doesn't work.

Add to the grub.conf file. Copy your existing default entry but change the name of the kernel to your new one. Similar to the following:
title New kernel (whatever you want)
root (hd0,0) (Shold be the same as your default boot)
kernel /bzImage ro root=/dev/hda2 ...(Same as default except for kernel name)
initrd ....
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th June 2018 - 07:47 AM