You are not logged in.
Pages: 1
I would appreciate it if someone would tell me the exact steps to upgrade an arch kernel. I tried it myself, only resulting in a kernel panick
Offline
The current kernel26 package is at version 2.6.16.16 i.e. the most recent version, and you can make sure you have that version by doing
pacman -Sy kernel26
What exactly are you trying to upgrade to?
If you're looking for details on customising your kernel, have a look at this for the Arch-specific side of it - apart from that, google for kernel howtos.
Offline
It might be obvious, but after you have upgraded your kernel with
pacman -Sy kernel26
make sure you also write
lilo
or else your kernel most probably will fail to boot.
Offline
First thanks for help!. Now let me see if I understand that correctly :
1 I download the new kernel with pacman.
2 I run the command 'lilo' which automagicly points the botloader in the correct direction.
Offline
The two commands that reb gave you are correct.
/path/to/Truth
Offline
I just forgot to say that you only need the last lilo command if you use lilo as your bootloader, of course. If you use grub, the first command is all you need.
What's happening isn't really that magical. The old kernel files are exchanged with the new kernel files with the same file names, so the boot loader already points to the correct kernel files. For some reason lilo requiers to be re-run when the kernel files change. I think it's doing a checksum test or something.
Offline
For some reason lilo requiers to be re-run when the kernel files change. I think it's doing a checksum test or something.
I might be wrong but I think lilo needs to be rerun because it writes something to the boot sector and need to update that info.
Offline
lilo writes the kernel and image files to the boot sector.
grub on the other hand, just writes itself and the location of it's config file, and some filesystem drivers, so it can directly it's config, and load kernels and initrd's from the filesystem.
James
Offline
lilo writes the kernel and image files to the boot sector.
Not true. lilo can not read filesystems and thus has to rewrite the /boot/map file so it can find the kernels and initrd's. It also writes the exact position of the map file to the boot sector.
Offline
Pages: 1