How to change Linux distribution, without loss of branch /home?
Hello.
A long time ago, installed it on my laptop Ubuntu 14.04. Since then, the repository is outdated, and the mere possibility of upgrade did not. In addition, I have a 32 bit OS, which makes it difficult to update some programs (like Google Chrome). Decided to upgrade to the latest version, but this time, Debian.
The /home directory I made in a separate section. In the end, I have three sections, namely:
/ - sda1
/home is sda2
swap - sda3.
I want to keep the /home partition, hoping his mount after the installation of debian. The issue is user accounts. Thinking to leave the old accounts.
Ask for advice on the proper transition to the latest version of the OS. Thank you.
3 answers
Under Ubuntu so: not after, but during the installation indicate that the partition sda2 is mounted as /home
here do not take into account one subtlety - FS operates is not the name of user and groups, and appropriate numeric UseID and GroupID.
if on the old system kakoynit user vpupkin had uid=1005 gid=10005 then these settings will remain written in the file properties of the hamster, but in the new system vpupkin as the first user will get a uid=1000 gid=1000 may cause inconsistencies.
so what is reasonable will still be correct in /etc/passwd /etc/group digital indices its user.
create a new, clean hamster ,install the desired software packages and then
try to endure/need to replace the configs from the old ,i.e. the piece ㋛
100% that ALL remontiroval (in full section) will receive glucotrol
Find more questions by tags LinuxUbuntuDebian
If I do as you suggest, when you create a new account, the old data is not podrotica and can they somehow be used? - Tanne commented on June 10th 19 at 16:47