You are not logged in.
I compile the newest Linux kernel.
I read Archlinux wiki about how to edit GRUB for boot new compile kernel,
but Archlinux wiki do not reference to it.
Who can help me, baby?
Offline
The file is /boot/grub/menu.lst . Change the file names inside this file to use your new kernel and initrd that you just built. You don't have to do anything else after you finish this file.
Offline
The file is /boot/grub/menu.lst . Change the file names inside this file to use your new kernel and initrd that you just built. You don't have to do anything else after you finish this file.
If my built kernel's name is "newkernel",
and the "menu.lst" like this:
#(0) Arch Linux
title Arch Linux [/boot/vmlinuz]
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda1 ro vga=792
initrd /initrd26.img (use this if you use mkinitrd)
initrd /kernel26.img (use this if you use mkinitcpio, or if you have an updated kernel)
Where should modify?
Please say it clearer.
Offline
how did you build your kernel? traditional way or arch way?
if it's the arch way (TM), here's an example of a custom kernel with -mm patch.
what I have in /boot:
-rw-r--r-- 1 root root 4.3M 2008-12-23 09:52 kernel26mm-fallback.img
-rw-r--r-- 1 root root 668K 2008-12-23 09:52 kernel26mm.img
-rw-r--r-- 1 root root 764K 2008-12-22 18:44 System.map26mm
-rw-r--r-- 1 root root 1.7M 2008-12-22 18:44 vmlinuz26mm
now here's the /boot/grub/menu.lst related entry (you may add the fallback one):
# (2) Arch Linux
title kernel26mm
root (hd0,0)
kernel /vmlinuz26mm root=/dev/sda5 ro vga=773
initrd /kernel26mm.img
Offline
how did you build your kernel? traditional way or arch way?
if it's the arch way (TM), here's an example of a custom kernel with -mm patch.
what I have in /boot:-rw-r--r-- 1 root root 4.3M 2008-12-23 09:52 kernel26mm-fallback.img
-rw-r--r-- 1 root root 668K 2008-12-23 09:52 kernel26mm.img
-rw-r--r-- 1 root root 764K 2008-12-22 18:44 System.map26mm
-rw-r--r-- 1 root root 1.7M 2008-12-22 18:44 vmlinuz26mmnow here's the /boot/grub/menu.lst related entry (you may add the fallback one):
# (2) Arch Linux
title kernel26mm
root (hd0,0)
kernel /vmlinuz26mm root=/dev/sda5 ro vga=773
initrd /kernel26mm.img
Should be traditional way.
Offline
did you read this?
http://wiki.archlinux.org/index.php/Ker … rom_Source
Offline
it's highly recommended to install packages in arch using makepkg/pacman. Just modify a kernel26 PKGBUILD. I have yet to see one that doesn't allow you to use a custom config. So just rename the PKGBUILD mv your config to the source of the PKGBUILD dir and run makepkg. Then pacman -U and update menu.lst with the new entry (duplicate of the original) using the new name for the custom kernel.
All the info you need is in the wiki, throw this on top of ccache and you can repackage a kernel26 just like arch devs do it in mins when an update comes through upstream.
Offline