Howto: keep your base.drv during update

From andLinux

(Difference between revisions)
Jump to: navigation, search
(oops. forgot to edit. see previous message: updating snapshot version)
Current revision (16:34, 28 May 2009) (edit) (undo)
m
 
(3 intermediate revisions not shown.)
Line 1: Line 1:
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.
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 ==
== The procedure before the upgrade ==
-
When updating to andLinux Beta 1 (final), you'll have to run these commands:
+
When updating to andLinux Beta 2 (final), you'll have to run these commands:
<blockquote><pre>
<blockquote><pre>
-
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
+
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.3-20080524.tgz -C /
+
tar -xzf modules-2.6.22.18-co-0.7.4.tgz -C /
</pre></blockquote>
</pre></blockquote>
Then
Then
Line 13: Line 17:
== 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>
Line 23: Line 27:
mount /dev/cobd2 /mnt/old
mount /dev/cobd2 /mnt/old
</pre></blockquote>
</pre></blockquote>
-
* install the new kernal modules similar to the case above, i.e.
+
* install the new kernel modules to the mounted old base drv, similar to the case above, i.e.
<blockquote><pre>
<blockquote><pre>
-
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
+
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.3-20080416.tgz -C /mnt/old/
+
tar -xzf modules-2.6.22.18-co-0.7.4.tgz -C /mnt/old/
</pre></blockquote>
</pre></blockquote>
* shutdown andLinux again, replace the new base.drv by your existing one, boot andLinux again, and you're done.
* 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.
 

Current revision

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.

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)