swdrumm
Posts: 4
Joined: Thu Oct 25, 2012 5:00 pm
Location: Whitefish, MT USA

Kernel Update Problem

Sat Jul 11, 2015 2:55 am

I'm trying to update an old (2013) installation of Raspbian wheezy to run on my shiny, new RPi Model 2. I upgraded /etc/apt/sources from wheezy to jessie, ran apt-get update, apt-get upgrade, apt-get dist-upgrade and invoked raspberrypi-ui-mods. Everything works fine on the old Model B+.

When I try to boot the SD card in the Model 2, nothing happens. uname -a indicates that I'm still running kernel 3.2.27-rpi-aufs even though /lib/modules includes libraries for kernel version 3.18.11. I suspect the older kernel is what's keeping the model 2 from booting.

How do I upgrade the kernel? I thought apt-get dist-upgrade would have solved it, but no luck.

Thanks!

P.S. I poked around rpi-update, but I don't think that's what I need...

User avatar
joan
Posts: 14936
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Kernel Update Problem

Sat Jul 11, 2015 8:40 am

I expect sudo rpi-update is pretty much what you do need.

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Kernel Update Problem

Sat Jul 11, 2015 10:40 am

swdrumm wrote:I'm trying to update an old (2013) installation of Raspbian wheezy to run on my shiny, new RPi Model 2. I upgraded /etc/apt/sources from wheezy to jessie, ran apt-get update, apt-get upgrade, apt-get dist-upgrade and invoked raspberrypi-ui-mods. Everything works fine on the old Model B+.

When I try to boot the SD card in the Model 2, nothing happens. uname -a indicates that I'm still running kernel 3.2.27-rpi-aufs even though /lib/modules includes libraries for kernel version 3.18.11. I suspect the older kernel is what's keeping the model 2 from booting.

How do I upgrade the kernel? I thought apt-get dist-upgrade would have solved it, but no luck.

Thanks!

P.S. I poked around rpi-update, but I don't think that's what I need...
"kernel 3.2.27-rpi-aufs" would indicate the kernel you are running is not raspbian but possibly berryboot, so rpi-update and various other update apps will probably not work. Updating berryboot, if that is the actual kernel running, is what you need to do so I suggest looking at berryboot's website and check how you can update it for the Pi 2B if it's possible.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “General discussion”