Hi,
I have been able to compile the new kernel.. I still have a question.. The README says that I have to put the bzImage on the boot folder and then change the grub.conf file... i have doubts regarding how to inform grub.conf about the new kernel (i want to have both of them) My current grub.conf looks like this:
Code:
# 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,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Windows XP
rootnoverify (hd0,1)
chainloader +1
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,2)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5.img
So, i guess i need a new entry. The kernel already in grub.conf makes reference to /vmlinuz and /initrd, which can be located in: (these are my current kernel files)
Code:
[root@localhost boot]# pwd
/boot
[root@localhost boot]# ls -l
total 4496
-rw-r--r-- 1 root root 56972 Mar 14 16:00 config-2.6.15-1.2054_FC5
drwxr-xr-x 2 root root 1024 Apr 17 22:57 grub
-rw-r--r-- 1 root root 1775671 Mar 27 23:06 initrd-2.6.15-1.2054_FC5.img
drwx------ 2 root root 12288 Mar 27 17:45 lost+found
-rw-r--r-- 1 root root 1050591 Mar 14 16:00 System.map-2.6.15-1.2054_FC5
-rw-r--r-- 1 root root 1677922 Mar 14 16:00 vmlinuz-2.6.15-1.2054_FC5
Still, the README says that i have to put the image bzImage in this folder... How do I reference it then? How is my grub.conf going to look like eventually?
Here's my new kernels' boot folder:
Code:
[root@localhost boot]# pwd
/usr/src/linux/arch/x86_64/boot
[root@localhost boot]# ls -l
total 3500
-rwxr-xr-x 1 root root 512 Apr 17 22:39 bootsect
-rw-r--r-- 1 root root 2040 Apr 17 22:39 bootsect.o
-rw-rw-rw- 1 root root 2156 Apr 17 17:53 bootsect.S
-rw-r--r-- 1 root root 1698016 Apr 17 22:39 bzImage
drwxrwxrwx 2 root root 4096 Apr 17 22:39 compressed
-rw-rw-rw- 1 root root 47 Apr 17 17:53 install.sh
-rw-rw-rw- 1 root root 3707 Apr 17 17:53 Makefile
-rw-rw-rw- 1 root root 330 Apr 17 17:53 mtools.conf.in
-rwxr-xr-x 1 root root 7226 Apr 17 22:39 setup
-rw-r--r-- 1 root root 18696 Apr 17 22:39 setup.o
-rw-rw-rw- 1 root root 22422 Apr 17 17:53 setup.S
drwxrwxrwx 2 root root 4096 Apr 17 22:39 tools
-rw-rw-rw- 1 root root 40381 Apr 17 17:53 video.S
-rwxr-xr-x 1 root root 1689824 Apr 17 22:39 vmlinux.bin
tnx,
Fernando