update kernel to latest version

m.ardito

Famous Member
Feb 17, 2010
1,473
18
103
Torino, Italy
Hi,

admitting my poor experience with linux kernels, may someone post how to update - keeping all the other packages compatible - my pve 1.5/2.6.18 installation?

i guess there are three ways:
1) reinstall the whole system through the new iso (no thanks ;))
2) update via apt-get ...?
3) download one or more debs (which), and do.. ?

i never catched up with this topic...

of course would be useful also for newer kernels/ pve versions, but here i am posting for my particular situation...

proxmox1:~# pveversion -v
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.18-2-pve
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5

Marco
 
if you want to stay on 1.5 you do not get any updates for pve packages. this is not recommended but for some an easy way to avoid work.

adapt your sources.list to:
Code:
# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve1.5
to get the new kernel, download manually:
Code:
wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/pve-kernel-2.6.18-3-pve_2.6.18-6_amd64.deb
and install:
Code:
dpkg -i pve-kernel-2.6.18-3-pve_2.6.18-6_amd64.deb
or you do a standard update based on the 2.6.18 kernel branch, recommended.
 
if you want to stay on 1.5 you do not get any updates for pve packages. this is not recommended but for some an easy way to avoid work.

i - will - upgrade to 1.6, but i want try first the "full" upgrade on a test machine, but now i have other priorities (my job goes beyond system administration), particularly because (as i said) i have poor experience on production linux systems mantainance.

adapt your sources.list to:
Code:
# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve1.5

or you do a standard update based on the 2.6.18 kernel branch, recommended.

as "standard update" you are referring to:
http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_to_1.6
i guess?

readin there, i find
1) Check your sources.list file ... [ok]
2) Update your repository and packages ... [ok]
3) Now install the Proxmox VE virtual package for 2.6.32:...
being this last point:
Code:
aptitude upgrade 
aptitude install proxmox-ve-2.6.32
well, if i want to keep 2.6.18 (i point at stability, openvz compatibility and have no hardware issues to force me to upgrade the kernel version, any major drawbacks in this?)
i just have to skip the last "aptitude install proxmox-ve-2.6.32" step, and the whole system will be upgraded to 1.6/2.6.18?

i'm sorry, but never understood that clearly enough...

Marco