The frugal install is very clever. The first time you boot with the "frugal" option, it will do the frugal install to a formatted partition of your choice. After that, the same "frugal" option will cause us to boot into the frugal install you created on the first boot.
You need a recent version of live-usb-maker (from test repos or my git repo) for the following to work. Make sure it has the --data-first option available. Otherwise we might overwrite your data!
You will also need to create a small (50M or so) fat32 partition at the end of your usb-stick and format your 2nd partition as ext4. This should be easy to do in the gparted program. Please use --pretend mode first.
However, if you don't already have an MX live system available or if you want to boot from your usb stick then some manual intervention will be required. Fortunately, we make this very easy with the command line version of live-usb-maker. Let's say you want to install from MX-18.3_x64.iso in your user's ~/Download directory. Plug in your usb stick and run:
Code: Select all
sudo live-usb-maker --from ~/Download/MX-18.3_x64.iso "copy-main+"
I just tested that here. The "copy-main+" command will cause LUM to skip the partitioning and formatting steps and start with copy-main so your current data is preserved.
If you are nervous about your data,
please use "pretend" mode first to see the steps we will take. I also did that here and LUM created the following output:
Code: Select all
Found msdos partitioning
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdd1 vfat 3.0G 4.0K 3.0G 1% data
/dev/sdd2 ext4 12G 330M 12G 3% main
/dev/sdd3 vfat 49M 13M 37M 26% uefi
>> copy-uefi
copy from iso to uefi partition
files [Ee][Ff][Ii] boot/{grub,uefi-mt} version
Fix Dell uefi memtest bug
>> copy-main
Removing existing antiX/ directory
copy from iso to main partition
>> check-usb-md5
check md5 for initrd.gz
check md5 for linuxfs
check md5 for vmlinuz
>> uuids
Using antiX/MX grub config 1.0
>> install
extlinux version 6.04
>> done
You can see the actual commands that would be run in the file /var/log/live-usb-maker.log. Carefully look at the table that shows the existing partitions. If the first partition is not marked as "data" then something is wrong.
If you don't already have a recent version of live-usb-maker (with the --data-first option) installed on your system, you can easily get it using the instructions in my
live-usb-maker repo:
Code: Select all
sudo apt-get update # if needed
sudo apt-get install git # if needed
git clone https://github.com/BitJam/live-usb-maker
git clone https://github.com/BitJam/cli-shell-utils
cd live-usb-maker
sudo ./live-usb-maker
If you already have "git" installed then you can skip the first two steps. If you are using a non-Debian system then use your normal package installer to install "git" if it is not already installed. If you are using live-usb-maker from my repos then then command to run changes slightly to:
Code: Select all
sudo ./live-usb-maker --from ~/Download/MX-18.3_x64.iso "copy-main+"
We precede "live-usb-maker" with a "./" so the version in the current directory is used instead of having the system look for live-usb-maker on your $PATH.
Tl;DR: this may look very complicated but it boils down to just 4 commands (assuming you already have "git" installed):
Code: Select all
git clone https://github.com/BitJam/live-usb-maker
git clone https://github.com/BitJam/cli-shell-utils
cd live-usb-maker
sudo ./live-usb-maker --from ~/Download/MX-18.3_x64.iso "copy-main+"