Page 1 of 1
Best Way to Upgrade/ Move to New Computer & Drive
Posted: Sun Jan 12, 2025 5:08 pm
by kellyv
Hi
I am migrating from my desktop setup to a laptop. The desktop is MXL21 with a 2.5 SSD harddrive, the laptop has a 2tb M.2 2280 SSD and I plan to install MXL23 on it. I was going to jsut install MXL23 on the laptop and then re-install everything that is on the desktop (I can keep the desktop installation running as is until I finish the migration). However, I read the official migration info and thought it might be a good idea to keep as much of the configuration from my current setup as possible.
So my next thought was to take a snapshot of the current system, install that on the new drive and then upgrade to MXL23 on the laptop. I would then have the User Installed Packages list available and could go from there. Or should I upgrade my current desktop installation, take a snapshot and install that on the laptop? Or is there a better method?
I have already migrated my current installation to another different laptop via snapshot and an external drive, so I know that part works easily. Just not sure what the best & most efficient method to migrate and upgrade at the same time is. There may be some 'gotchas' that aren't apparent to me at this time.
Thanks for any advice
FWIW, here is the QSI
Code: Select all
Snapshot created on: 20241221_1706
System: Kernel: 6.0.0-6mx-amd64 [6.0.12-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.0.0-6mx-amd64 root=UUID=<filter> ro splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower January 15 2023
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Desktop Mobo: ASRock model: A88M-ITX/ac serial: <filter>
UEFI-[Legacy]: American Megatrends v: P1.00 date: 01/20/2016
CPU: Info: Quad Core model: AMD A10-7860K Radeon R7 12 Compute Cores 4C+8G bits: 64
type: MCP arch: Steamroller family: 15 (21) model-id: 38 (56) stepping: 1
microcode: 6003106 cache: L2: 2 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 28749
Speed: 2006 MHz min/max: 1400/3600 MHz boost: enabled Core speeds (MHz): 1: 1493
2: 1923 3: 1398 4: 1399
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: radeon v: kernel
alternate: amdgpu bus-ID: 00:01.0 chip-ID: 1002:130f class-ID: 0300
Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver:
loaded: ati,radeon unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: DVI-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x298mm (20.9x11.7")
diag: 609mm (24")
OpenGL: renderer: AMD KAVERI (LLVM 14.0.5 DRM 2.50 6.0.0-6mx-amd64) v: 4.5 Mesa 22.0.5
direct render: Yes
Audio: Device-1: AMD Kaveri HDMI/DP Audio vendor: ASRock driver: snd_hda_intel v: kernel
bus-ID: 00:01.1 chip-ID: 1002:1308 class-ID: 0403
Device-2: AMD FCH Azalia vendor: ASRock driver: snd_hda_intel v: kernel bus-ID: 00:14.2
chip-ID: 1022:780d class-ID: 0403
Sound Server-1: ALSA v: k6.0.0-6mx-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel modules: wl port: f100
bus-ID: 01:00.0 chip-ID: 8086:08b3 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock
driver: r8169 v: kernel port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: wg0-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 8-5:2 chip-ID: 8087:07dc class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 4 state: down bt-service: N/A rfk-block:
hardware: no software: no address: <filter>
Info: acl-mtu: 1021:5 sco-mtu: 96:6 link-policy: rswitch hold sniff
link-mode: slave accept
Drives: Local Storage: total: 2.53 TiB used: 1.53 TiB (60.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Inland model: SATA SSD size: 953.87 GiB block-size:
physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 8B0
scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 model: SATA SSD size: 223.57 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 21.1
scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 model: SATA SSD size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 61.5
scheme: MBR
ID-4: /dev/sdf maj-min: 8:80 type: USB vendor: Seagate model: ST1000LM024 HN-M101MBB
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: HDD rpm: 5400
serial: <filter> scheme: MBR
Partition: ID-1: / raw-size: 468.93 GiB size: 460.5 GiB (98.20%) used: 194.48 GiB (42.2%) fs: ext4
dev: /dev/sdc1 maj-min: 8:33
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8 GiB used: 866.3 MiB (10.6%) priority: -2
dev: /dev/sdc2 maj-min: 8:34
Sensors: System Temperatures: cpu: 9.0 C mobo: N/A gpu: radeon temp: 3.0 C
Fan Speeds (RPM): N/A
Repos: Packages: 3068 note: see --pkg apt: 3058 lib: 1705 flatpak: 10
Active apt repos in: /etc/apt/sources.list
1: deb https://www.bchemnet.com/suldr/ debian extra
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
No active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
Info: Processes: 272 Uptime: 3d 2h 20m wakeups: 55 Memory: 10.65 GiB used: 2.96 GiB (27.8%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: BIOS (legacy, CSM, MBR)
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Sun Jan 12, 2025 5:17 pm
by j2mcgreg
Our recommended method is to back up your data to an external location, install MX from the latest snapshot available here:
https://sourceforge.net/projects/mx-lin ... Snapshots/
and then restore your data from the backup.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 13, 2025 8:25 pm
by kellyv
When you say restore data, that is not clear enough to me in that, most of my 'data' is on other drives except the data in the home folder, which is mostly browser, email and program/ app configurations. What data can I copy over to keep configurations of already installed programs intact? Can I just copy the home folder over to the new installation? Will that keep my browser configurations and sessions intact? Configuration data for my music players? Email?
To me, your instructions make it seem like I would be starting from zero but the instructions for migration seem to suggest that most of my configuration should remain intact. If you could give me a slightly more specific outline of how exactly to upgrade to a new release that would be helpful. Are there reasons why I should not follow the migration instructions here detailed here -
https://mxlinux.org/migration/?
Thanks
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 13, 2025 8:58 pm
by j2mcgreg
kellyv wrote: Mon Jan 13, 2025 8:25 pm
When you say restore data, that is not clear enough to me in that, most of my 'data' is on other drives except the data in the home folder, which is mostly browser, email and program/ app configurations. What data can I copy over to keep configurations of already installed programs intact? Can I just copy the home folder over to the new installation? Will that keep my browser configurations and sessions intact? Configuration data for my music players? Email?
To me, your instructions make it seem like I would be starting from zero but the instructions for migration seem to suggest that most of my configuration should remain intact. If you could give me a slightly more specific outline of how exactly to upgrade to a new release that would be helpful. Are there reasons why I should not follow the migration instructions here detailed here -
https://mxlinux.org/migration/?
Thanks
The hidden .
config files in your existing MX 21 /home can play havoc with the new .
config files that will be created when the new versions of those packages are installed in MX 23. Tracking down why the new packages are misbehaving can be a nightmare. So backup any data you have in Documents, Pictures, Music etc as well as Bookmarks, Address Books and leave the rest of /home alone.
What email client do you use?
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 13, 2025 9:46 pm
by DukeComposed
kellyv wrote: Mon Jan 13, 2025 8:25 pm
If you could give me a slightly more specific outline of how exactly to upgrade to a new release that would be helpful. Are there reasons why I should not follow the migration instructions here detailed here -
https://mxlinux.org/migration/?
That depends. Do you expect any help?
The best outline for upgrading is documented on the page called
Upgrading from MX-21 to MX-23 without reinstalling. Pay particular attention to this part at the top of the page, emphasis added:
DISCLAIMER: This how-to is for the benefit of advanced users who are comfortable with the command line and willing to research and fix things if things go wrong, it’s not guaranteed to work and is not supported in any way by the dev team.
In short, the best way to upgrade from MX-21 to MX-23 has been given: backup your configs, do a clean install, and move over your configs by hand. Attempting to do an in-place upgrade is something this forum will not help you un-break if and when something goes wrong. I hear the success rate for an in-place upgrade is about 50%, so take that into consideration when making your choice.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 13, 2025 10:33 pm
by kellyv
I seem to be reading conflicting information from both responses. this method
The best outline for upgrading is documented on the page called Upgrading from MX-21 to MX-23 without reinstalling. Pay particular attention to this part at the top of the page, emphasis added:
is not recommended from the way I am reading it
Let me ask another way - Is this information from
https://mxlinux.org/migration/ - correct? It says this is the best way to do a clean installation but also mentions keeping the original home folder - at least that's how I understand it - which would mean .config files as well
Sorry to be thick about it but I am an experienced linux user, no fear of the command line, I am just trying to avoid problems of my own creation. BTW, I backup my backups and backup even more when I make system changes. I'll be making a snapshot and backing up my home folder to an external drive, while keeping my current installation alive.
Thanks again
From MX-21.x to MX-23
Because of the change in the base from Debian 11 (Bullseye) to Debian 12 (Bookworm), there can be no official upgrade option.
A clean install is highly recommended for most users, most easily done by following these steps:
1) in case there is a problem, save any critical data (settings, documents, pictures, music etc.) from your existing installation away from your target site; or make an image with MX Snapshot.
2) run MX User Installed Packages (HELP here) to get a list of all the extra applications you added to your previous installation.
NOTE: Some MX-21 users may not have the package (“user-installed-packages”) by default but it is in the repos. Use Package Installer or Synaptic to install it, or open a terminal (F4) and paste in this command: sudo apt install user-installed-packages.
Opening screen of the app migration tool User Installed Packages that is used before and after installation
3) install MX 23 OVER your current installation as you proceed:
a) at the beginning, select to make a “Custom” installation
b) choose the same user name that you used before
c) select to re-use the existing home directory
Note that if you have multiple users, their homes will be preserved but you will need to use MX User Manager to recreate the users after you boot into the new system.
Installer
Installer: selecting to re-use the existing Home folder that has the same user name
4) once installation is finished, run MX User Installed Packages again to get back the applications you had installed; note that a few may no longer be available in the new Debian Stable.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 13, 2025 10:59 pm
by asqwerth
1. in-place upgrade from 21 to 23 - not officially supported and the disclaimer is there for good reason. Instructions are provided for experienced users but they need to solve issues themselves. Not saying there won't be users here willing to help, but don't expect or demand it.
2. Recommended way of upgrading is as you have listed in the bottom half of your post above. Fresh install of MX23 over the existing root partition but choose to preserve /home. However, I would advise that you backup your configs (especially for your apps other than for xfce) and data in /home anyway.
If XFCE behaves in a wonky manner, be prepared to delete all your xfce configs from home and re-customise XFCE. in MX23.5, the XFCE version is 4.20, which is much newer than the one in MX21. Things may not work exactly the same now in XFCE.
3. A better way if you can spare the disk space on your machine - make a totally fresh install of MX23 in a separate partition. Make sure you know which MX install is controlling grub so that you can update it to include both MX installs. Then boot into the new MX23, and manually copy over your MX21 configs for your various apps. CHeck the apps one by one. If the configs work with the new versions of the apps, great. If not, delete them again.
I try to avoid importing old configs for desktop environments so I customise from scratch. I mean, it's not difficult to reconfigure XFCE.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 13, 2025 11:10 pm
by DukeComposed
kellyv wrote: Mon Jan 13, 2025 10:33 pm
I seem to be reading conflicting information from both responses.
"Upgrading" can mean switching from MX-21 to MX-23 through a clean install, which is unambiguously the recommended method, or it can mean "hacking an MX-21 install into an MX-23 install in-place", which is unambiguously not recommended.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 16, 2025 2:58 pm
by kellyv
Hi
Thanks to everyone for your assistance and suggestions. I plan to make a snapshot of my current desktop, install that on the new laptop/ drive and then upgrade the laptop as per the migration instructions. I understand that there may (will) be some programs that will not work immediately and some re-configuration will be required.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 27, 2025 7:49 pm
by kellyv
Hi
I still have some questions/ issues regarding installing and upgrading
I made a snapshot of my current MX21 desktop and installed it on the laptop, went ok some things not there but for the most part seemed fine. I then tried to upgrade to upgrade to MX23.4, I used the same user name as the desktop when prompted but never got the window asking about using the existing home directory. The install finished but it was just a new install, there was none of my previous MX21 info, the list of User Installed Packages was not there, the home folder was just the new install.
What should I expect to happen when I upgrade from 21 to 23 as per the migration instructions? What info should remain from the previous install?
Thanks
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 27, 2025 10:06 pm
by DukeComposed
kellyv wrote: Mon Jan 27, 2025 7:49 pm
I used the same user name as the desktop when prompted but never got the window asking about using the existing home directory. The install finished but it was just a new install, there was none of my previous MX21 info
It's not a window that pops up. The option exists in the installer on the "Choose partitions" page when selecting the disk layout for the new install.
asqwerth wrote: Mon Jan 13, 2025 10:59 pm
Fresh install of MX23 over the existing root partition but choose to preserve /home.
As asqwerth says, this only works when you have separate root and home partitions. [Correction: /home can be preserved under certain special circumstances, see
#12.] The installer can detect your existing disk layout and you have the option to change that. In this case, that means explicitly configuring the MX installer to use the same root partition that already exists, and to preserve the same home partition that already exists.
When you find your old home partition you need to find the "Use for" option for it and select "/home". This will let you use the "Format" option of "Preserve" for it and it won't be replaced when the system in installed. You probably missed it if you were just clicking next and expecting a prompt.
Edit: /home preservation can work on a single partition.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 27, 2025 10:49 pm
by asqwerth
DukeComposed wrote: Mon Jan 27, 2025 10:06 pm
asqwerth wrote: Mon Jan 13, 2025 10:59 pm
Fresh install of MX23 over the existing root partition but choose to preserve /home.
As asqwerth says, this only works when you have separate root and home partitions. The installer can detect your existing disk layout and you have the option to change that. In this case, that means explicitly configuring the MX installer to use the same root partition that already exists, and to preserve the same home partition that already exists.
When you find your old home partition you need to find the "Use for" option for it and select "/home". This will let you use the "Format" option of "Preserve" for it and it won't be replaced when the system in installed. You probably missed it if you were just clicking next and expecting a prompt.
Nope, You can actually preserve /home on root partition - I've done it before. Though I recall someone saying that this may not be possible if home is encrypted.
I think one of the devs said that how it works when you preserve /home on root partition is that the installer manually deletes everything on root except the home bit, and then installs/writes the new system onto the said partition while keeping home intact.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Mon Jan 27, 2025 10:59 pm
by DukeComposed
asqwerth wrote: Mon Jan 27, 2025 10:49 pm
Nope, You can actually preserve /home on root partition - I've done it before. Though I recall someone saying that this may not be possible if home is encrypted.
I think one of the devs said that how it works when you preserve /home on root partition is that the installer manually deletes everything on root except the home bit, and then installs/writes the new system onto the said partition while keeping home intact.
I can check the code if it's important, but I appreciate the information and I've updated the post accordingly.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Tue Jan 28, 2025 3:38 am
by Eadwine Rose
Install 23 clean, at least you won't take outdated stuff along that way. Upgrading 21 to 23 is not supported, and you get to keep the pieces when it breaks.
Of course when you have proper backups, and want to try it to learn from it, by all means go ahead.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Tue Jan 28, 2025 9:43 pm
by kellyv
It's not a window that pops up. The option exists in the installer on the "Choose partitions" page when selecting the disk layout for the new install.
Okay, pretty not easy to find and no reference to it on the 'Migration Page". I assume that I pick "/home" in the box in front of rootMX21?? However, when I do I get a pop up that says "A root partition of at least 7.9GB is required" so IKD what I need to do next. I see no way to add another partition unless I use the "broom/magic wand" to start a whole new layout
Add'l info - there is an 256MB EFI /FAT32 partition and an 8GB swapMX partition already listed along with the 1.9TB rootMX21 partition
Thanks
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Wed Jan 29, 2025 1:50 am
by asqwerth
The 'choose partitions' page is a big spreadsheet. Maximise the window to full so you can view as much of it, and the various options in all the columns, as possible.
Every row is for a different partition, and each column shows different options for that partition.
For your selected root, home and {optional) swap rows, make appropriate choices in the various columns.
Eg. Look for the partition that you are choosing to be your home. In one of the columns there should be a drop down menu to choose whether to format it (which will delete all) or preserve it. There will be another column to choose whether you wish to make this partition your root or home or swap.
You can also choose what label to use for that partition, among a host of other options .
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Wed Jan 29, 2025 2:22 am
by FullScale4Me
The MX Installer help for the Format option is literally 'next door' if you scroll.
Run in terminal 'minstall --pretend' for a zero pressure read of all the Intaller's self-document.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Wed Jan 29, 2025 4:21 am
by DukeComposed
kellyv wrote: Tue Jan 28, 2025 9:43 pm
Okay, pretty not easy to find and no reference to it on the 'Migration Page".
You're still under the impression that migration is something that the dev team encourages. It can be done, sometimes, but it's not supported and inexperienced users should never attempt it.
kellyv wrote: Tue Jan 28, 2025 9:43 pm
I assume that I pick "/home" in the box in front of rootMX21??
No. You pick root for the root partition, always, and /home for the home partition, always. If your QSI from
#1 is to be believed, you only have a root partition. fehlix outlines that preserving /home can be done on a machine with a single partition, though I haven't looked at the code to confirm this.
If the concept of multiple partitions, or what the difference is between a root partition and home partition, are foreign to you, you are not ready to attempt this action.
kellyv wrote: Tue Jan 28, 2025 9:43 pm
I see no way to add another partition unless I use the "broom/magic wand" to start a whole new layout
Why are you trying to add something during a migration? This is already a unsupported action. Don't try to complicate things.
kellyv wrote: Tue Jan 28, 2025 9:43 pm
Add'l info - there is an 256MB EFI /FAT32 partition and an 8GB swapMX partition already listed along with the 1.9TB rootMX21 partition
Yes... and? If the presence of these are confusing, as I said, you may not be ready to attempt this action.
You really need to understand your existing system and its layout, and how it functions. You must comprehend the fundamental structure and function of how your system works so when you're told something like "install over the root partition and choose the 'preserve home' option in the installer" you understand what this entails. The users of this forum can walk you through the steps, but you must be aware of what you're doing so you don't irrevocably break something trying to follow those steps.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Wed Jan 29, 2025 6:57 am
by Greg Brannon
Don't be discouraged by suggestions that you may be in over your head. If you're willing to explore the edges of your Linux knowledge and capabilities, be prepared for occasional branches that provide challenges to increase your skills, and forge ahead.
To be prepared you should learn how to preserve and restore your personal files (suggestions: rsync, crontab) and have a reliable drive in your computer or external USB drive (or both) to which your important history is routinely saved. IMO, 'snapshots' have questionable value. My snapshot experience is dated, because I found long ago that they typically returned me to an undesirable state, so I found alternatives.
Starting from a clean install might be perceived as a crisis, but it can be a blessing and should maybe be a periodic exercise. I've restarted from a clean install or rebuilt RPi OSs so many times that I have a checklist that returns my system to a base state, but having a recent backup of /home is a prerequisite. It's worth noting that my need to begin from a clean install has significantly decreased since discovering MXLinux.
Be prepared, be brave, come back for help as needed, and move ahead. Best of luck.
Greg.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Wed Jan 29, 2025 7:19 am
by j2mcgreg
Here's the thing: if you had done the recommended clean install and restore data from back up, you'd be done by now. It takes about two hours on my thirteen year old and slow Acer Aspire V5 and under an hour on my HP 15 and 17.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Wed Jan 29, 2025 7:33 am
by richb
I would also say that snapshots are NOT overrated. I make a snapshot every week and have used them many times.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 1:23 pm
by kellyv
That's a lot of advice but still doesn't answer my original question. I don't know why you all think I am trying to do something different and if I am in place I don't need to be it's because I followed the info posted here
The OFFICIAL MIGRATION GUIDE
https://mxlinux.org/migration/ says:
3) install MX 23 OVER your current installation as you proceed:
a) at the beginning, select to make a “Custom” installation
b) choose the same user name that you used before
c) select to re-use the existing home directory
and that I should be presented with this option
https://mxlinux.org/wp-content/uploads/ ... ration.jpg
If someone can give me an ELI5 to get here, that would be swell.
Just for the record, I have been using Linux as my desktop/ laptop solution since the deprecation of Windows XP and I am currently running 6 linux installs for various and sundry reasons (desktop, laptop, shop desktop, 3 virtual machines) so I feel I kinda got a handle at this point. As for backups, if you read my post you'll see my backups are backed up along with the snapshot to transfer to the new machine.
The reason I have been trying to make this work because if there any vestiges of my current home folder that will be useful after the upgrade it would save a lot of time, so I would like to see what happens using this method. Starting from scratch means a lot user info and customization that I would have to re-input, so anytime saved is great. Plus, it looks like the User Package Installer would be a great help. I recently changed the shop computer to Peppermint from MX19 and it took the better part of day to get things working like I was used to, and that's a much simpler install than my desktop.
Thanks again
Moderator: image changed to link, please read the forum rules, thanks.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 1:58 pm
by j2mcgreg
Try it if you want to and if you have the necessary experience, but the success rate is about 50%. It will also take substantially longer to accomplish than our recommended method.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 2:00 pm
by Eadwine Rose
Remember.. it is not recommended and not supported.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 2:17 pm
by Nokkaelaein
Eadwine Rose wrote: Thu Jan 30, 2025 2:00 pm
Remember.. it is not recommended and not supported.
j2mcgreg wrote: Thu Jan 30, 2025 1:58 pm
Try it if you want to and if you have the necessary experience, but the success rate is about 50%. It will also take substantially longer to accomplish than our recommended method.
You are both responding as if kellyv is talking about this procedure:
https://mxlinux.org/wiki/system/upgradi ... nstalling/
But instead they emphasize it's this:
kellyv wrote: Thu Jan 30, 2025 1:23 pm
I followed the info posted here
The OFFICIAL MIGRATION GUIDE
https://mxlinux.org/migration/ says:
3) install MX 23 OVER your current installation as you proceed:
a) at the beginning, select to make a “Custom” installation
b) choose the same user name that you used before
c) select to re-use the existing home directory
and that I should be presented with this option
https://mxlinux.org/wp-content/uploads/ ... ration.jpg
That is the official, supported, recommended way of installing MX Linux from 21 to 23, "A clean install is highly recommended for most users, most easily done by following these steps", where step 3 is
"3) install MX 23 OVER your current installation as you proceed:
a) at the beginning, select to make a “Custom” installation
b) choose the same user name that you used before
c) select to re-use the existing home directory"
https://mxlinux.org/migration/
That official document.
Also, I might add, WHEN talking about the unofficial way of migrating WITHOUT reinstalling (which isn't the above), it's good to warn about it being an expert procedure - but there's nothing inherently
bad about doing that, if the user is at a level comfortable of performing such procedures with their OS. Generally (not talking about this instance, but in general) a user might have custom authored their system to such extent that it's no longer near stock MX, and definitely a time saver to perform that procedure instead of installing from scratch. That is not for typical use, or typical home user skill level, but again: WHEN appropriate, it's good to know that it is a realistic option to try. In the actual documentation it is called the "unofficial but well-tested method for experienced users to migrate without re-installation", and "Success is not guaranteed, and some users encounter configuration problems afterwards." That's a balanced view of the procedure, and as I've said previously, I'm very grateful Adrian has taken the time to document that procedure.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 2:27 pm
by j2mcgreg
@kellyv
Sorry, I misunderstood. You only get presented with option to reuse home, if you first select custom partitioning.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 2:51 pm
by DukeComposed
Nokkaelaein wrote: Thu Jan 30, 2025 2:17 pm
That is the official, supported, recommended way of installing MX Linux from 21 to 23, "A clean install is highly recommended for most users, most easily done by following these steps"
There's a discrepancy between calling something an official, supported way of doing something and the line immediately preceding the given quote about how a clean install is highly recommended. The line immediately preceding it? "Because of the change in the base from Debian 11 (Bullseye) to Debian 12 (Bookworm), there can be no official upgrade option."
So I think there's some confusion surrounding any upgrade process, because even though there's an approach which is "recommended", it's not "official", and in truth not even an "upgrade". I think that's creating some cognitive dissonance.
Personally, I interpret "there can be no official upgrade option" as pretty cut and dried and the subsequent steps, though on the project's website, and with an easy to remember URL, can in no way be considered "official" and thus likely not "supported". Perhaps the wording on the migration page could be revised to make it clear what the official, supported, recommended way actually is and that might clear up some of the confusion regardless of what those steps actually are.
(Side note: I think a lot of folks think of the words "upgrade" and "migration" as interchangeable and, in common parlance, that makes sense. "I had an MX-21 machine. I did some stuff to it. Now I have an MX-23 machine." In this case, the mxlinux.org/migration page is just outlining a method to pave over an existing machine with a new install with some extra steps to keep a list of old packages and preserve the contents under /home. Is this really a migration if you must literally re-install all your old software based on a text file you backed up? It's a philosophical question and I don't think many of us are keen on talking through the Ship of Theseus to answer it. The confusion comes in when there are clearly two different sets of instructions and even the one that doesn't have a big nasty disclaimer attached to it... still has a disclaimer attached to it.)
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 3:10 pm
by Nokkaelaein
DukeComposed wrote: Thu Jan 30, 2025 2:51 pm
There's a discrepancy between calling something an official, supported way of doing something and the line immediately preceding the given quote about how a clean install is highly recommended. The line immediately preceding it? "Because of the change in the base from Debian 11 (Bullseye) to Debian 12 (Bookworm), there can be no official upgrade option."
So I think there's some confusion surrounding any upgrade process, because even though there's an approach which is "recommended", it's not "official", and in truth not even an "upgrade". I think that's creating some cognitive dissonance.
Awh, sorry, I don't follow your logic here, heh :). It is most definitely official and supported.
If it's in the main bar of the official MX Linux website, I assume it's actual official communication?
https://i.imgur.com/bMeLAPX.png
https://mxlinux.org/migration/
And it says:
"Because of the change in the base from Debian 11 (Bullseye) to Debian 12 (Bookworm), there can be no official upgrade option. A clean install is highly recommended for most users, most easily done by following these steps:"
Followed by the actual steps, number three being, "3) install MX 23 OVER your current installation as you proceed"
Note that it indeed says "most easily done by following these steps." This is a clean install, keeping
user data in the home directory - and it does a clean install of the actual OS over the previous one. You say this "can in no way be considered "official" and thus likely not "supported"" - but this is literally the official, supported way of doing this. Are you sure you are reading the same page?
Then there's a separate link,
clearly separate, described as "There is unofficial but well-tested method for experienced users to migrate without re-installation: consult this Wiki page. Success is not guaranteed, and some users encounter configuration problems afterwards." Note that this description says "There is an unofficial but well-tested method", emphasizing that the said link takes the reader to unofficial instructions (i.e. the instructions on the main Migration page are, in contrast,
official.)
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 3:50 pm
by DukeComposed
Nokkaelaein wrote: Thu Jan 30, 2025 3:10 pm
If it's in the main bar of the official MX Linux website, I assume it's actual official communication?
Making assumptions is how things get broken in the first place. My point remains: there is a clear contradiction between "there's no official upgrade option" and "here are some steps we recommend". I'm interpreting that the part saying "no official upgrade option" means "no official upgrade option".
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 3:56 pm
by Nokkaelaein
DukeComposed wrote: Thu Jan 30, 2025 3:50 pm
Making assumptions is how things get broken in the first place. My point remains: there is a clear contradiction between "there's no official upgrade option" and "here are some steps we recommend". I'm interpreting that the part saying "no official upgrade option" means "no official upgrade option".
Wah, I sort of get where you are coming from with this (and I wasn't the least bit sarcastic when asking whether you are reading the same page, btw :) I was really puzzled by this), I just think there's a limit to what the "necessary qualifications" for something to be considered official are, hah.
I mean, MX Linux has an FAQ, linked on the main page, I think it's safe to assume
that is official, to the extent "official" can be understood in this context, right?
And there's a question, "What’s the best way to upgrade from one version of MX to another?" The answer: "Instructions for migration of different MX versions can be found on the Migration page of the MX Community website." (Links to
https://mxlinux.org/migration/ ) - where it says there is no official upgrade option, and "A clean install is highly recommended for most users, most easily done by following these steps" ... followed by the steps for a clean install of the OS.
I understand where you are coming from with this, but personally I think this goes into the territory of things being communicated in a certain way, and whether the actual text communicates what was intended to be communicated. I choose to believe these texts contain what they were intending to communicate :), and as they are the official MX Linux materials themselves, it's okay to assume they are official, eh. If the MX project has indeed intended to communicate something else (than what actually reads in the text) that's of course a problem, and the texts should be changed. Maybe a rewrite wouldn't hurt in any case if it's bringing up ambiguity like this?
But yeah, I note and understand your point of view, and I guess that's enough about that xD
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Jan 30, 2025 9:03 pm
by asqwerth
Let's just focus on helping OP do a FRESH install of MX23 over her old MX, while trying to preserve her /home. Whether you call it an install or migration or upgrade, the point is that she is NOT trying to do in in-place upgrade of her existing MX.
We can discuss definitions elsewhere. I agree with @Nokkaelaein by the way. The "preserve home while installing" advice is clearly not the same as the "in-place upgrade of existing MX installation". It doesn't carry that same warning/disclaimer.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Mar 27, 2025 3:39 pm
by Michael-IDA
j2mcgreg wrote: Mon Jan 13, 2025 8:58 pm
The hidden .
config files in your existing MX 21 /home can play havoc with the new .
config files that will be created when the new versions of those packages are installed
Ah, aren't they overwritten by the new install though? At least the ones that changed enough to matter is what I've seen in the past. The whole point of preserving /home was to save the 10s or even 100s of hours of reconfiguring starting from scratch creates.
asqwerth wrote: Thu Jan 30, 2025 9:03 pm
Let's just focus on helping OP do a FRESH install of MX23 over her old MX, while trying to preserve her /home.
j2mcgreg wrote: Thu Jan 30, 2025 2:27 pm
You only get presented with option to reuse home, if you first select custom partitioning.
I'm having the same issue, like Kelly, I have not gotten offered a way to preserve home when trying to reuse /home. The formatting drop down I’m given does not contain a ‘preserve’ option as shown in the up thread pic.
This use to be the way to do this:
Michael-IDA wrote: Mon Jul 27, 2020 11:21 am
- Tarball existing /home/user dir, copy it to something external (old-home).
- Run the installer, manually partition and encrypt everything with a passphrase you’ll use in production (throw-away).
- Remember the passphrase!
- Boot throw-away, unpack tarball on /home/{whatever}
- logout of user, SHIFT-ALT-F1, login as root
- As root move old-home to /home/user, fix perms, etc.
- Shutdown
- Boot Live USB
- Run the installer, don’t partition, select manual partitioning
- Select existing partitions and check encrypt for everything
- Use the exact same passphrase!
- Check preserve /home
Answer the other questions, and it just works. The installer will not ask for any other passphrase, so you have to use the same one both times.
Saved me 50 - 100 hours of re-doing settings, configs, passwords, key-bindings, panel settings, button modifications, etc., etc. as they popped up over the next year...
I'd attach a screenshot, but the drop down collapses when I try.
So….
Is there no way now to preserve an encrypted /home like there was 5 years ago?
Thanks,
Michael
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Mar 27, 2025 7:05 pm
by asqwerth
Ah, aren't they overwritten by the new install though? At least the ones that changed enough to matter is what I've seen in the past
Existing contents in /home, including hidden dot config files, are never written over.
can't help with encrypted /home.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Apr 03, 2025 8:10 am
by Fernent
asqwerth wrote: Thu Mar 27, 2025 7:05 pm
Ah, aren't they overwritten by the new install though? At least the ones that changed enough to matter is what I've seen in the past
Existing contents in /home, including hidden dot config files, are never written over.
can't help with encrypted /home.
I have /home on a separate drive partition and /home/$me encrypted with ecryptfs. Previously using MX21.3, I installed MX23.5 to its own partition while preserving /home. Then chroot to the new installation and install ecryptfs-utils there, and I was up and running.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Thu Apr 03, 2025 11:58 am
by Michael-IDA
Fernent wrote: Thu Apr 03, 2025 8:10 am
I have /home on a separate drive partition and /home/$me encrypted with ecryptfs. Previously using MX21.3, I installed MX23.5 to its own partition while preserving /home. Then chroot to the new installation and install ecryptfs-utils there, and I was up and running.
+1 !
I basically tried what you did (albeit differently, but the results were the same). Going straight from 19 to 23 was too much for Xfce, so I did this:
viewtopic.php?p=815153#p815153
You end up with two users, but it saved 100s (literally) of hours of re-configuring the 10+ years of configurations I've made to TDE and other apps I use daily. TDE being my 'work' environment, it is more important for me to keep its configs.
I'll probably use something like 'startx -- :1' to run both users at once, but that's in the future.
Best,
Michael
Edit:
I'll probably use something like 'startx -- :1' to run both users at once
To do this (for me who normally uses the second user the most):
- Login normally as second user (that uses the Ctrl+Alt+F7 display)
- To open first user, Ctrl+Alt+Fn
- - login as first user
- - startx -- :1
which starts a second display running the first user on Xfce. You can change back and forth with Ctrl+Alt+F7 / Ctrl+Alt+Fn. Do note: The first user hijacks sound at the hardware level, so my main user (second) has no sound

. Okay, really not that big a deal for me, I don't use zoom etc. that often.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Sun Apr 13, 2025 9:27 am
by Danathar
I TOTALLY understand why MX does not support in-place upgrades (excluding custom installations on top of your home directory). Supporting an "official" in-place upgrade process is incredibly complicated. The number of things that can go horribly wrong—well, it requires a lot of time, effort, people, etc. Many distros do not have the resources to support that.
There are very few distros that support in-place upgrades AND inform users that a major version upgrade is available, while also providing an option to upgrade—like macOS or even Windows does using the GUI(ignoring that Windows 10 goes EOL this fall). As far as I can tell, the ONLY distributions that satisfy both requirements are Ubuntu and Fedora. Everybody else, as far as I know, doesn’t go that far.
It’s been a bit of a disappointment, as I wish more would, but I get it.
In my case, I have a couple of old PCs I’m going to donate. I want to install Linux on them in some OEM mode on boot up that prompts them to create their user ID and password, and that allows the user to get upgrades in a nice, non-techie way—but also ensures they’re not left stranded without knowing their OS is EOL. Honestly, other than Ubuntu LTS or Fedora (and I’m not even sure Fedora has an OEM install method), there doesn’t seem to be any distro that meets my requirements.
I LOVE MX and AntiX, but those two features—OEM install and prompted GUI notification/ability to upgrade to major versions—are just not supported. So, I’ll probably not put MX on those systems. It will likely be something like the Ubuntu LTS or Fedora Cinnamon spin (since that’s close to what a Windows user might be familiar with). It's a little sad because there will be a LOT of PC's headed for the scrap heap after this fall due to Windows 11 incompatibility and these are perfectly good systems with Linux on them.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Sun Apr 13, 2025 4:51 pm
by FullScale4Me
Danathar wrote: Sun Apr 13, 2025 9:27 am
I
LOVE MX and AntiX, but those two features—OEM install and prompted GUI notification/ability to upgrade to major versions—are just not supported. So, I’ll probably not put MX on those systems. It will likely be something like the Ubuntu LTS or Fedora Cinnamon spin (since that’s close to what a Windows user might be familiar with). It's a little sad because there will be a LOT of PC's headed for the scrap heap after this fall due to Windows 11 incompatibility and these are perfectly good systems with Linux on them.
If you run the MX Installer
minstall -h in terminal you will get (excerpt below)
Code: Select all
-o, --oem Install the operating system, delaying prompts for user-specific options until
the first reboot. Upon rebooting, the installer will be run with --oobe so
that the user can provide these details. This is useful for OEM installations,
selling or giving away a computer with an OS pre-loaded on it.
--oobe Out Of the Box Experience option. This will start automatically if installed
with --oem option.
To experiment, run
minstall --pretend
From help - "Test mode for GUI, you can advance to different screens without actually installing." FYI - I'm told not all options are available in pretend mode.
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Sun Apr 13, 2025 5:50 pm
by Danathar
I’ll give it a try and see what it’s like. I honestly didn’t know that existed. Thanks
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Sun Apr 13, 2025 8:43 pm
by Michael-IDA
Danathar wrote: Sun Apr 13, 2025 9:27 amIt's a little sad because there will be a LOT of PC's headed for the scrap heap after this fall due to Windows 11 incompatibility and these are perfectly good systems with Linux on them.
You can installing MX (or any Linux) on the old comp's and then installing Win11 in a VM to save these PCs...
https://blogs.oracle.com/virtualization ... virtualbox
Wish more people would think 'outside the box'
Best,
Michael
Edit:
PS: Windows 11 Pro Cd Key Retail Microsoft Global can be had for $10. So, don't let friends buy retail

Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Tue Apr 15, 2025 6:50 am
by Danathar
Michael-IDA wrote: Sun Apr 13, 2025 8:43 pm
Danathar wrote: Sun Apr 13, 2025 9:27 amIt's a little sad because there will be a LOT of PC's headed for the scrap heap after this fall due to Windows 11 incompatibility and these are perfectly good systems with Linux on them.
You can installing MX (or any Linux) on the old comp's and then installing Win11 in a VM to save these PCs...
https://blogs.oracle.com/virtualization ... virtualbox
Wish more people would think 'outside the box'
Best,
Michael
Edit:
PS: Windows 11 Pro Cd Key Retail Microsoft Global can be had for $10. So, don't let friends buy retail
Somehow…I doubt that $10 key legal…
Re: Best Way to Upgrade/ Move to New Computer & Drive
Posted: Tue Apr 15, 2025 9:57 pm
by Michael-IDA
Danathar wrote: Tue Apr 15, 2025 6:50 am
Michael-IDA wrote: Sun Apr 13, 2025 8:43 pm
PS: Windows 11 Pro Cd Key Retail Microsoft Global can be had for $10. So, don't let friends buy retail
Somehow…I doubt that $10 key legal…
It is, I've owned one for a year and an half. Search on the full phrase I listed, you'll find it.