MazeMouse wrote: Sat May 21, 2022 3:09 pmI would like to know how I can re-install a MX-iso over a previously made live USB with persistent. But keeping the used storage vfat partition. (Before I do something wrong). I would like to use the Live-Usb-maker gui.
I don't think the gui version of live-usb-maker (LUM) has this feature (someone please correct me if I'm wrong) but it can be done with the cli version of LUM by selecting
"Other options" and then
"Update the OS on an existing live-usb (experimental)". You need to be sure to enable a storage partition so the program knows which partition holds the live OS.
Here is a way to do it all on the command line (which is probably the best way):
Code: Select all
sudo live-usb-maker --from $iso_file --target $usb_device --data-first --pretend copy-main
where
$iso_file is the full path to the iso file with the new OS and
$usb_device is the device name of the live-usb such as
"/dev/sdd" or simply
"sdd" (which does the same thing). The
--pretend option will keep it from actually writing to the device so you can first see if it all looks correct. The
"copy-main" command tells the program to copy files from the iso file to the main (OS/live) partition but don't do anything else. You could also add the
"check-usb-md5" command to make sure the files copied over did not get corrupted.
You can also do it manually. Mount the iso file that you want to use for the OS update. I use the cli program iso-mount for this but there are probably gui ways to do it. Then mount the OS/live partition of the live-usb. Finally, copy the contents of the mounted iso file to the OS/live partition of the live-usb. This is basically what the
copy-main command above does above.
Note that when you update the live OS, the existing root persistence file will not work. It would be best to just delete it. On the mounted live partition it lives at:
Note that both MX and antiX use a top level "antiX" directory for the live system. This was not my idea but it turned out to be a really good move because it made a number of things much simpler.