• Need help updating kernel from 2.6.18 to 2.6.32
    12 replies, posted
I'm trying to update the Kernel on Ubuntu Server 10.04 Minimal. Currently when i run uname -r it returns [code] root@strata:~# uname -r 2.6.18-194.3.1.el5.028stab069.6 [/code] but i'm trying to update the Kernel to 2.6.32. I tried update the kernel using apt-get, but upon reboot it still boot into 2.6.18. I have tried update-grub, and I looked at the grub.cfg and it looks like it is set to the correct kernel. Any help would be great. Thanks, Patrick.
Is that some kind of self built kernel? I get this from Ubuntu 9.04 Server: [code] florian@celaeno:~$ uname -r 2.6.28-11-server [/code] Not the weird crap you are getting. Also, you could try removing the old kernel using apt-get, not sure how, but you can Google it.
I remember that one distro Sidux had a kernel remover tool, you could look into that.
I'm not sure if its self built, it was installed with our VPS's OS reinstall. I would try to remove the old kernel, but it dosent exist. [code] root@strata:~# dpkg --list | grep linux-image ii linux-image-2.6.32-22-generic 2.6.32-22.36 Linux kernel image for version 2.6.32 on x86 [/code] Even in the /boot directory, the kernel dosent exist. [img]http://patdaman.com/imguploads/bootDir.PNG[/img] In the grub.cfg there is absoletuley NOTHING about 2.6.18-194 [code] ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian, with Linux 2.6.32-22-generic' --class debian --class gnu-linux --class gnu --class os { recordfail set root='(/dev/simfs)' linux /boot/vmlinuz-2.6.32-22-generic root=/dev/simfs ro kopt quiet splash initrd /boot/initrd.img-2.6.32-22-generic } menuentry 'Debian, with Linux 2.6.32-22-generic (recovery mode)' --class debian --class gnu-linux --class gnu --class os { recordfail set root='(/dev/simfs)' echo 'Loading Linux 2.6.32-22-generic ...' linux /boot/vmlinuz-2.6.32-22-generic root=/dev/simfs ro single kopt echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-22-generic } menuentry 'Debian, with Linux 2.6.32' --class debian --class gnu-linux --class gnu --class os { recordfail set root='(/dev/simfs)' linux /boot/vmlinuz-2.6.32 root=/dev/simfs ro kopt quiet splash } menuentry 'Debian, with Linux 2.6.32 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { recordfail set root='(/dev/simfs)' echo 'Loading Linux 2.6.32 ...' linux /boot/vmlinuz-2.6.32 root=/dev/simfs ro single kopt echo 'Loading initial ramdisk ...' } ### END /etc/grub.d/10_linux ### [/code] I've been working on trying to update the kernel for a few days now, and in past experience have never had anything like this. Any help on this would be great. Thanks again, Patrick.
In the OP, the version you're running: 2.6.18-194.3.1.el5.028stab069.6 is from Red Hat. The el5 is Enterprise Linux 5 (RHEL) I honestly don't know how that's possible. Are you sure the Ubuntu server is even the one that's running? And you're not by chance running RHEL/CentOS?
if the kernel doesn't exist, then it can't be booting into it. Is it possible that uname is fucked up? [editline]01:54AM[/editline] [QUOTE=PvtCupcakes;22717498]In the OP, the version you're running: 2.6.18-194.3.1.el5.028stab069.6 is from Red Hat. The el5 is Enterprise Linux 5 (RHEL) I honestly don't know how that's possible. Are you sure the Ubuntu server is even the one that's running? And you're not by chance running RHEL/CentOS?[/QUOTE] well he used dpkg on it too. I have no clue what OP did to his system(s)
This is a fresh install of Ubuntu Server 10.04 Minimal (32-bit). Nothing was changed, except for the install of htop, and danted. Honestly I have no idea how this is possible. We have tried installing Ubuntu multiple times to fix this, but still to no avail. I would love to switch to CentOS 5.5, but don't know any good SOCKSv5 proxy's for it. If anyone has a suggestion, it would be greatly appreciated. The main reason for wanting to update the kernel is because there are no headers available for our current one. [B]Edit:[/B] [code] root@strata:~# cat /proc/version Linux version 2.6.18-194.3.1.el5.028stab069.6 (root@rhel5-build-x64) (gcc versio n 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed May 26 18:31:05 MSD 2010 [/code] Apparently when you click the reinstall button for Ubuntu it installs Red Hat.... Thanks PvtCupcakes for noticing that the kernel is for Red Hat.
You can use SSH as a SOCKS5 proxy. [code] ssh yourserver.com -D 1080 [/code] I haven't done this in a while, but in Firefox you would configure it to connect to a SOCKS5 proxy on port 1080.
AFAIK, on Xen hosts you can't "update the kernel", because the VPS will be forced to run whatever the hypervisor tells it to. I can change the kernels on my Linodes though from their control panel - for example, they have "latest stable" and "latest paravirt" kernels versioned at 2.6.18 and 2.6.32. Correct me if I'm wrong.
[QUOTE=Tuntis;22798257]AFAIK, on Xen hosts you can't "update the kernel", because the VPS will be forced to run whatever the hypervisor tells it to. I can change the kernels on my Linodes though from their control panel - for example, they have "latest stable" and "latest paravirt" kernels versioned at 2.6.18 and 2.6.32. Correct me if I'm wrong.[/QUOTE] Aye, the VPS computer is running Red Hat and the virtualized system is running Ubuntu server.
[QUOTE=patdaman45;22699843]I'm trying to update the Kernel on Ubuntu Server 10.04 Minimal. Currently when i run uname -r it returns [code] root@strata:~# uname -r 2.6.18-194.3.1.el5.028stab069.6 [/code] but i'm trying to update the Kernel to 2.6.32. I tried update the kernel using apt-get, but upon reboot it still boot into 2.6.18. I have tried update-grub, and I looked at the grub.cfg and it looks like it is set to the correct kernel. Any help would be great. Thanks, Patrick.[/QUOTE] The default kernel [I]should already be 2.6.32.xx[/I] from Ubuntu 10.04, minimal or not. I don't understand where it's pulling 2.6.18-194.3.1.el5.028stab069.6 from, but it's wrong.
[QUOTE=Pixel Heart;22896100]The default kernel [I]should already be 2.6.32.xx[/I] from Ubuntu 10.04, minimal or not. I don't understand where it's pulling 2.6.18-194.3.1.el5.028stab069.6 from, but it's wrong.[/QUOTE] Virtualization, Ubuntu has to use the kernel of the host OS.
Oh, now I see.
Sorry, you need to Log In to post a reply to this thread.