Howto: keep your base.drv during update

From andLinux

Revision as of 07:38, 25 April 2008 by Ludovic f (Talk | contribs)
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.

The procedure before the upgrade

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

wget http://www.henrynestler.com/colinux/testing/stable-0.7.3/20080416-Snapshot/packages/modules-2.6.22.18-co-0.7.3-20080416.tgz
tar -xzf modules-2.6.22.18-co-0.7.3-20080416.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 precedure is a bit more compliated:

  • 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 kernal modules similar to the case above, i.e.
wget http://www.henrynestler.com/colinux/testing/stable-0.7.3/20080416-Snapshot/packages/modules-2.6.22.18-co-0.7.3-20080416.tgz
tar -xzf modules-2.6.22.18-co-0.7.3-20080416.tgz -C /mnt/old/
  • shutdown andLinux again, replace the new base.drv by your existing one, boot andLinux again, and you're done.

Notes

  • Just in case something might go wrong, it's recommended to make backup copies of base.drv (while andLinux is not running).
  • When updating from andLinux Beta 1 rc6 to andLinux Beta 1 (final), the procedure above is sufficient (as all other changes in the new version are installation related). When updating from an older version, it may be necessary to perform additional tasks such as updating/installing packages, adapting script files, etc.

Seen a page that contains spam or objectionable material? Please report the link and/or login of the author to david @ andLinux . org (remove spaces)