Howto: keep your base.drv during update

From andLinux

Jump to: navigation, search

If you want to keep your customized base.drv when updating andLinux, you'll have to perform the following steps. It's easier to do it before the upgrade.

Notes

  • Just in case something might go wrong, it's recommended to make backup copies of base.drv (while andLinux is not running).
  • The following procedure usually is not sufficient. Between two releases, usually major things change, so it's necessary to perform additional tasks manually such as updating/installing packages, adapting script files, etc. Altogether it may be less work to reconfigure the new andLinux installation by reinstalling your additional packages and coping your files, including all the applications' settings files (by copying all the dot-files (files whose name begin with a dot) in the home directory, you'll most probably cover all relevant settings).

The procedure before the upgrade

When updating to andLinux Beta 2 (final), you'll have to run these commands:

wget http://www.henrynestler.com/colinux/releases/0.7.4/packages/modules-2.6.22.18-co-0.7.4.tgz
tar -xzf modules-2.6.22.18-co-0.7.4.tgz -C /

Then

  • uninstall andLinux, reboot, remove possible remainders (except base.drv, of course),
  • install the new andLinux release, reboot, let andLinux boot up,
  • shutdown andLinux again, replace the new base.drv by your existing one, boot andLinux again, and you're done.

If you already did the upgrade

In case you've already installed the new version and kept your old base.drv in a different folder, the procedure is a bit more complicated:

  • shutdown andLinux, add a line to settings.txt
cobd2=C:\path\to\old\base.drv
  • boot andLinux again, mount the old drive
mkdir /mnt/old
mount /dev/cobd2 /mnt/old
  • install the new kernel modules to the mounted old base drv, similar to the case above, i.e.
wget http://www.henrynestler.com/colinux/releases/0.7.4/packages/modules-2.6.22.18-co-0.7.4.tgz
tar -xzf modules-2.6.22.18-co-0.7.4.tgz -C /mnt/old/
  • shutdown andLinux again, replace the new base.drv by your existing one, boot andLinux again, and you're done.