Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Upgrading from antix 19 to antix 21?
- This topic has 15 replies, 9 voices, and was last updated Jul 5-12:28 pm by sybok.
-
AuthorPosts
-
November 19, 2021 at 5:14 am #71179Member
lgj100
Hi Everyone,
I have two computers running antix, one antix 21 beta, and another running antix 19. I would like to upgrade both to antix 21.
(1) How do I upgrade from antix 19 to 21 without doing a new install?
(2) Will the antix 21 beta automatically upgrade to the antix 21 when I do apt upgrade?
Sincerely,
Lars.November 19, 2021 at 5:19 am #71181Anonymous
::hi lgj100, on the #2 no not usually on an alpha or beta doing a clean upgrade. there
are threads on the forum for upgrading from one version to another for stable.November 28, 2021 at 1:12 am #71832Memberlgj100
::Is this really true, that the antiX-21 beta version won’t update to the official release when I do apt upgrade? Can one of the developers confirm that. Because otherwise I’ll have to reinstall.
Sincerely,
Lars.November 28, 2021 at 3:46 am #71840Moderator
Brian Masinick
::If you want the reported version to show up as antiX 21 you either have to install Version 21 or manually modify the files containing version information. I’ve done both at one time or another.
Frankly the fastest and simplest way to get antiX 21 is to obtain an image and install it, unless you have a very slow network.
In the past various companies have produced CD, DVD and USB media that they sell for a modest profit. This is another reasonable approach if you can afford it; recent versions have been available on USB media.
--
Brian MasinickNovember 28, 2021 at 4:09 am #71844Moderator
christophe
::Hi lgj100.
Take a look at these previous threads:
https://www.antixforum.com/forums/topic/antix-21-grup-yorum-released/page/3/#post-70311
(Regarding the 21-beta-to-21-final.)https://www.antixforum.com/forums/topic/whats-the-step-by-step-guide-to-upgrading-with-antix-21-live-usb/#post-71425
(Regarding 19-to-21; also a bit on reinstalling but keeping an already-configured /home partition — potentially useful for either/both of your situations.)HTH
- This reply was modified 1 year, 5 months ago by christophe.
- This reply was modified 1 year, 5 months ago by christophe.
confirmed antiX frugaler, since 2019
July 1, 2022 at 12:32 am #85431Memberstevesr0
::Presumably, a motive to upgrade rather than do a fresh install is to keep all the data files one has added. I just installed antiX-21 as a live USB – it was painless and after I have played with it a bit, I expect to install to the hard drive on which my current antiX-17 install lives.
I plan to copy all the data files I want to keep to a usb drive and then copy them back to my home directory after the install of antiX-21 has taken over the space currently used by antiX-17. Since I also have windows installed on this machine in a separate partition, I will obviously have to tell the installer what partitions to use.
I would appreciate any advice about pitfalls to this and suggestions of posts to study. In my current antiX-17 install, I created both a root partition, a home partition and a swap partition. I understand that many just use one partition for all the directories (obviously with separate /root and /home directories) and a swap file instead of a /swap partition.
(While I can – and will look up the ways to do this with the pros and cons of different ways – I figured that this might be something valuable for many noobies who are upgrading from 19 to 21 (and old noobies who might be upgrading from 17 such as me)).
stevesr0
July 1, 2022 at 12:45 am #85434Moderator
Brian Masinick
::@stevesr0: good idea to copy files to an external device and copy them back after installation.
Regarding the separation of various directories that can be useful for a server or a system of many people. On a single user system it’s unlikely to provide much benefit and it adds complexity, an unnecessary complication in my opinion.
--
Brian MasinickJuly 1, 2022 at 3:54 am #85438ModeratorBobC
::I’ve been using this method since antiX 17. I created a packagecomp utility to do a lot of the work. I have a lot of things customized, and my system is setup the way I like it, functionally, and usually I want to preserve my customizations unless the never version has improvements to those same areas that I like better. It takes testing the new version to sort out what I want to carry over from my old system.
I backup my old root and /home system using live-usb-maker in personal mode onto a flashdrive.
I install a package called Aptik and Aptik-GTK to makes the backup and restore process for my /home directory easy, space efficient, and reliable, then I run it under root to make a /home backup.
I create a separate partition with gparted and install the new system to that separate partition.
I make a list of packages from my old system and compare it to the list of packages on the new system, and decide which I need to add.
I add the missing packages including Aptik and Aptik-GTK on the new system.
I make a backup copy of the clean /home directory on the new system to refer to in case my /home restore causes problems,
I restore the /home directory backup to the new system with Aptik-GTK under root. When I think its all correct, I reboot into the new system.
- This reply was modified 10 months, 1 week ago by BobC. Reason: added .zip file of the utility I use
Attachments:
July 1, 2022 at 3:13 pm #85454Moderator
Brian Masinick
::I do a similar thing but I have my own ways; usually I multi-boot so I have my environment on an adjacent partition. One or two cp -R commands and possibly a mount or two and I’m done; seldom exceeds even five minutes unless I am doing something else at the same time!
Usually 1-2 minutes is the max!
--
Brian MasinickJuly 2, 2022 at 12:08 pm #85491ModeratorBobC
::Brian,
Could you explain what your cp -R commands are and what they copy vs don’t copy? I suspect these commands are doing the equivalent of the backup and restore commands I use.
I wonder if there would be a way to copy the old one to a compressed .zip file (maybe on a flash drive), and then restore that over top of the new /home?, thus creating an efficient backup of /home at point of migration at the same time?
July 2, 2022 at 12:31 pm #85493Moderator
Brian Masinick
::cp -R means that you can copy all files and directories from the source to the destination so what I often do is name a few hidden files, such as . profile, .bash* and .Mozilla plus bin, Documents and any private browser directories, then name the target, typically /mnt/home/Masinick. previously mounted to the desired target.
If I am doing it for multiple targets I umount /mnt, remount it to another target and repeat, so even doing it for multiple target partitions only requires unmounting and remounting /many and recalling the previous cp commands. Even without a pre-written script this is faster than explaining it in words! (I could probably do 2-3 such operations between writing paragraphs of explanation).
--
Brian MasinickJuly 2, 2022 at 4:32 pm #85516Memberstevesr0
::Hi BobC and Brian Masinick,
Thanks for each of your posts. Gives me much to chew on. I presume others will also get something useful from them.
stevesr0
July 2, 2022 at 8:30 pm #85519Member
blur13
::If the system is a laptop and you have used Connman to connect to lots of wifi networks copying the directory /var/lib/connman to the new install will save you a lot of time retyping/finding passwords.
July 2, 2022 at 11:14 pm #85525Memberstevesr0
July 5, 2022 at 11:38 am #85607Member
roland
::Back in the days of release 13 a fresh install cost you a lot of work to recreate the usual customisations and the $home directory, but now with preservable $home they can be easily and quickly recreated, often giving the chance to rethink them. I never let a new release wait long, I install it in one of my PCs and when sorted after perhaps a few months, migrate the rest to it. Perhaps what I still miss is a way to carry browser bookmarks forwards easily to the new install.
-
AuthorPosts
- You must be logged in to reply to this topic.