Howto: keep your base.drv during update

From andLinux

(Difference between revisions)
Jump to: navigation, search
(updated url to snapshot from 20080416 (no longer available) to 20080524)
m (fixed 2 typos)
Line 13: Line 13:
== If you already did the upgrade ==
== 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:
+
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
* shutdown andLinux, add a line to settings.txt
<blockquote><pre>
<blockquote><pre>

Revision as of 08:01, 30 May 2008

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/20080524-Snapshot/packages/modules-2.6.22.18-co-0.7.3-20080524.tgz
tar -xzf modules-2.6.22.18-co-0.7.3-20080524.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/testing/stable-0.7.3/20080524-Snapshot/packages/modules-2.6.22.18-co-0.7.3-20080524.tgz
tar -xzf modules-2.6.22.18-co-0.7.3-20080524.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)