Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation Kernel Upgd About Linux Networking Printing MOL UAE
Upgrading Standalone systems Upgrading Dual-Boot systems Upgrading to later kernels

AmigaOne - Linux - Standalone System Kernel Upgrade

The section discusses how to upgrade a standalone Debian Linux system, i.e where a PPC Prep Boot partition is used to boot Linux rather than the SLB configuration used on a Dual-booting system with AmigaOS 4.0 on the same hard disk.

Sourcing the Upgrade
Upgrading to 2.4.26 (latest 'official' release)
The kernel image (kernel-2.4.26.img), the gzipped kernel image (vimlinux-2.4.26.gz), and the associated modules (modules-2.4.26.tgz) can be downloaded from AmigaOne Linux SourceForge or they can be downloaded from here (kernel image, gzipped kernel) and modules).

Upgrading to 2.6.9-064 (latest 'un-official' release as at Aug 1,2005)
The kernel image (kernel-2.6.9-064.img), and the associated modules (modules-2.6.9-064.tgz) can be downloaded from Henri Chapelle's website or they can be downloaded from here (kernel image, and modules).

Once you have downloaded the appropriate files you are ready to begin. The following procedures should be applicable to any version of the kernel.

For the purpose of the following examples, let us assume you are upgrading from 2.4.19 to 2.4.26. For other versions of the kernel, simply substitute the appropriate version numbers for 2.4.19 and 2.4.26 as used below:

Upgrade Modules
The first step is to rename the existing modules as a backup. Follow the instructions carefully:

  1. log on as "root" and open a Shell.

  2. type:
        cd /lib/modules     and press <Enter>

  3. type:
        ls -l     and press <Enter>
    - you should see a folder corresponding to your current kernel.

  4. If for some reason the new kernel has the same name as the existing one, or you suspect it does, and you want to keep the existing one, rename the folder by typing:
        mv 2.4.19 2.4.19.sav     and press <Enter>

  5. if installing from floppy, type:
        mount /floppy
                or
        mount -t msdos /dev/fd0 /floppy - if no entry for floppy drive in /etc/fstab
               then
        tar -zxvf /floppy/modules-2.4.26.tgz
        umount /floppy

  6. if installing from CD, type:
        mount /cdrom
        tar -zxvf /cdrom/modules-2.4.26.tgz
        umount /cdrom

Upgrade Kernel
The second step is to replace the Linux kernel in the PPC Prep Boot partition.
In the following command you MUST replace X and Y with the values specific to your configuration:
X is the drive, i.e.
   "a" for Primary Master,
   "b" for Primary Slave,
   "c" for Secondary Master
   "d" for Secondary Slave.
  Y is the partition number
where your kernel is stored.

If you followed the install guide, then you would have placed your kernel on the first disk drive - "hda". and in the first partition "1", so you would specify /dev/hda1. If you specify the wrong partition you will trash Debian and the only recourse is to reinstall from scratch.

  1. if installing from floppy, type:
        mount /floppy
                or
        mount -t msdos /dev/fd0 /floppy - if no entry for floppy drive in /etc/fstab
               then
        dd if=/floppy/kernel-2.4.26.img of=/dev/hdXY
        umount /floppy

  2. if installing from CD, type:
        mount /cdrom
        dd if=/cdrom/kernel-2.4.26.img of=/dev/hdXY
        umount /cdrom

  3. logoff from root

  4. reboot your system

  5. should now show Linux-2.4.26 during boot sequence

Remove Old Modules
The third step, once you are satisfied that the upgrade has been successful, you may want to delete any old files saved in Step 1.

  1. log on as "root" and open a Shell.

  2. type:
        cd /lib/modules     and press <Enter>

  3. if upgrading from 2.4.19, type:
        rm -rf /lib/modules/2.4.19.sav   and press <Enter>

  4. logoff from root

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2005 Amiga Auckland Inc. All rights reserved.
Revised: September 25, 2005.