• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Booting from new kernel [SOLVED]  (Read 1387 times)
mattmc97
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: July 16, 2010, 09:21:01 PM »

I am trying to boot an older SD card image (Dec 2009) and I am getting garbage on boot after 'Uncompressing Linux......"

I read posts here: http://plugcomputer.org/plugforum/index.php?topic=2002 suggests there was a hardware change sometime in the last 6 months. The solution being upgrade the kernel to 2.6.32 which will include a patch to support the new revision.

So here is what I did:

Code:

PlugPBX:~#uname -r
2.6.30-2-kirkwood

PlugPBX:~#apt-get update

PlugPBX:~#apt-cache search linux-image

PlugPBX:~#apt-get install linux-image-2.6.32-5-kirkwood

..........................
Selecting previously deselected package linux-image-2.6.32-5-kirkwood.
Unpacking linux-image-2.6.32-5-kirkwood (from .../linux-image-2.6.32-5-kirkwood_2.6.32-15_armel.deb) ...
Selecting previously deselected package firmware-linux-free.
Unpacking firmware-linux-free (from .../firmware-linux-free_2.6.32-15_all.deb) ...
Processing triggers for man-db ...
Setting up libapt-pkg-perl (0.1.24+b1) ...
Setting up libuuid-perl (0.02-3+b1) ...
Setting up linux-base (2.6.32-15) ...
Setting up linux-image-2.6.32-5-kirkwood (2.6.32-15) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-kirkwood
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-kirkwood /boot/vmlinuz-2.6.32-5-kirkwood
Setting up firmware-linux-free (2.6.32-15) ...
PlugPBX:~# uname -r
2.6.30-2-kirkwood
PlugPBX:~# reboot



When the system comes back up....

Code:

Linux PlugPBX 2.6.30-2-kirkwood #1 Sun Sep 27 22:57:55 UTC 2009 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jul 16 23:29:23 2010 from 192.168.100.100
PlugPBX:~# uname -r
2.6.30-2-kirkwood



So it appears the kernel upgrade installed without a hitch, but it is still booting the old kernel.

There is no lilo or grub, so where am I supposed to tell it to boot the new kernel or is that supposed to be automatic?

**Update**

After installing from apt-get, issue the following:
#flash-kernel

#shutdown -r now

When it comes up, you no longer have garbage on boot and you have the new kernel.
« Last Edit: July 16, 2010, 09:45:21 PM by mattmc97 » Logged

Pages: [1]
Print
Jump to: