User Tools

Site Tools


migration

If you want to send us your comments, please do so. Thanks
More on comments


Migration

From an old to a new computer

Processor architecture

When you upgrade your PC to a new one you maybe can migrate you old installation, meaning the harddisk or an image of the harddisk, to the new computer
This migth be possible when the old and the new computer use the same processor brand. So from an Intel to an Intel or from an AMD to an AMD processor.

Hardware

Standoffs

Be aware, standoffs can have coarse and fine screw-thread inside so not all screws fit!

Partitions

If you do not have them, make partitions for

NameType
/Primary
/homeLogical
/optLogical
/rootLogical
/varLogical
swapLogical

and copy the data from the original partitions to these partitions zo your settings are working in the new installment

Users

When installing a fresh Debian because you are upgrading hardware and want to use the old home data or partition make sure the users are added in the same order as on the old computer. In this way they get the same user and group number. To see the number do ls -ln /home. Now you can see the number of the user and group assigned to the username and thereby know in which order to add users on the new system.

From Linux Mint Debaian Edition (LMDE) to Debian testing

This is how we did it just once. It is not tested any further.
Not all the details we encountered are incorporated. This text gives a good idea how it can be done. You will still need your own judgement.
Take a whole day for the procedures to complete.

Let's start.
Make a backup of all important data.
Change

/etc/apt/sources.list

to something like

deb http://ftp.nluug.nl/pub/os/Linux/distr/debian/ testing main non-free contrib
deb-src http://ftp.nluug.nl/pub/os/Linux/distr/debian/ testing main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

deb http://ftp.nluug.nl/pub/os/Linux/distr/debian/ testing-updates main contrib non-free
deb-src http://ftp.nluug.nl/pub/os/Linux/distr/debian/ testing-updates main contrib non-free

Start

sudo aptitude

Type

u

to update the packages list Search for mint and uninstall all Linux Mint packages. After selecting them all, skipping the automatic ones, there where no unresolved issues. Type

g

and

g

again. When aptitude is ready press

u

to update the packages, just to be sure. In aptitude goto the item

Obsolete and Locally Created Packages

uninstall if present

debian-system-adjustments

Reboot.
Start aptitude and do

u

to update the packages, just to be sure. Mark the upgradable packages by pressing (capital!)

U

Press

g

and check everything to see if you want to make any changes. We made no changes and noted which packages we wanted to reinstall later. Press

g

To uninstall, update and install the selected packages.
When aptitude is ready check if there are any errors at the end. If so, save the text for later use.
Press the

Return

key. Press

u

to update the packages, just to be sure. Mark the upgradable packages by pressing (capital!)

U

press

g

Now again there are packages to be uninstalled, upgraded and installed. More or less the same as before.
Check the amount of diskspace needed for the download and install. If in any doubt quit aptitude and run

sudo apt-get autoclean

to get more diskspace.
If you closed aptitude start it again and press U and g again to get to the point:
Press

g

again to continue the migration. When aptitude is ready check if there are any errors at the end. If so, save the text for later use.
Press the

Return

key. Press

u

to update the packages, just to be sure. Mark the upgradable packages by pressing (capital!)

U

press

g

and

g

again. This time only some packages are uninstalled. An other check
Press

u

to update the packages, just to be sure. Mark the upgradable packages by pressing (capital!)

U

press

g

Now we get the message

No packages are scheduled to be installed, removed or upgraded.

You are ready with the migration part using aptitude.
Now it is time to resolve the lose ends you encountered during the migration. Good luck with that.


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
migration.txt · Last modified: 19-02-2018 00:12 by wim