Saving changes in bootable USB with persistence  [Solved]

When you run into problems installing MX Linux XFCE
Message
Author
meet

Re: Saving changes in bootable USB with persistence

#11 Post by meet »

JayM wrote: Tue Apr 07, 2020 1:48 am How you would do this depends on whether your computer uses UEFI or has a legacy BIOS system as the boot screen varies slightly between the two. If booting with UEFI the default selection of the live USB boot menu will be something like "MX Customize Boot" which will take you through several submenus where you will select your keyboard, locale, time zone, and persistence settings. If booting with legacy BIOS there will be, at the bottom of the boot menu screen, a row listing several function keys that will allow you to set the same settings (F5 being the one for persistence.)
Hey. Thanks. The instructions are good to point me in the right direction. Now I've created a persistence storage.
Antediluvian wrote: Tue Apr 07, 2020 2:19 am Hi meet!
From your questions it seems like you are just starting out with MX and need some guidance at the basic level. To make sure we know where you stand ...

1. You seem to have said that you already made a live USB with MX 19.1 on it and that it is capable of persistence. Correct? By the way, what is the size of your USB. Since you want to continue to use the USB for an extended duration it is a good idea to have a stick large enough to do the remaster procedure and to save some data. A 32 or 64GB stick would be nice although you can get by with a 16.

2. If you have made your live USB w/ persistence, then as JayM says watch this runwiththedolphin video "antix mx 19 live usb configuration". It talks about making selections for persistence and covers Legacy boot and UEFI boot. After making your selections make sure you choose to SAVE those settings. To keep things simple I suggest you use persist_static as the method of saving changes to your system automatically and in real time (that is, not when you shut down).

3. You can change the user name and password from demo to whatever you like with the MX User Manager found in the applications Menu. You can also add other user accounts and change the root password.
Hello

My USB size is 4GB. And no, I had only created a bootable USB. Now with the instructions by JayM, I could boot into persistence mode with Root persistence of 500 mb and home persistence of 500 mb.

I've changed the root password and created a new user. But I'm yet to test if it works.

Sorry I don't have any other USB of higher size.
I'm using this as a portable OS to work over cloud only. I don't need to store anything in my USB other than what is required for that particular session.

I hope this will work for my purpose. Pls suggest your views.

Thanks for all the help guys. 👍

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Saving changes in bootable USB with persistence  [Solved]

#12 Post by JayM »

The only thing I would suggest is that if you let MX install any updates or upgrades, or if you install any additional applications, you immediately run MX Tools --> MX RemasterCC afterward. This will write everything that's in your root persistence file into the squash file system then prompt you to create a new root persistence file. If you don't do this your small 500MB persistence files can become filled up, leaving no more room for persistence to work. Even so, a 4GB USB drive is really too small but I suppose you have to make do with what you have, right? Must needs.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

meet

Re: Saving changes in bootable USB with persistence

#13 Post by meet »

JayM wrote: Tue Apr 07, 2020 4:38 am The only thing I would suggest is that if you let MX install any updates or upgrades, or if you install any additional applications, you immediately run MX Tools --> MX RemasterCC afterward. This will write everything that's in your root persistence file into the squash file system then prompt you to create a new root persistence file. If you don't do this your small 500MB persistence files can become filled up, leaving no more room for persistence to work. Even so, a 4GB USB drive is really too small but I suppose you have to make do with what you have, right? Must needs.
Yeah. For the time being, I'll have to make it work with 4GB. Bt thanks for that suggestion of remaster. I'll check it out.

Hey can you tell me what's the difference between root and home persistence?

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Saving changes in bootable USB with persistence

#14 Post by JayM »

Root persistence is where newly-installed apps and updates to existing apps go. Home persistence is where saved data and per-user changes to apps' configurations go, and also such things as MX configuration changes (wallpapers, themes,the panel and so on.)
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
dolphin_oracle
Developer
Posts: 22022
Joined: Sun Dec 16, 2007 12:17 pm

Re: Saving changes in bootable USB with persistence

#15 Post by dolphin_oracle »

With that small a usb I would go with root persistence only.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
anticapitalista
Developer
Posts: 4281
Joined: Sat Jul 15, 2006 10:40 am

Re: Saving changes in bootable USB with persistence

#16 Post by anticapitalista »

dolphin_oracle wrote: Tue Apr 07, 2020 6:27 am With that small a usb I would go with root persistence only.
Also forget about remastering, you won't have enough space.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
m_frank
Posts: 183
Joined: Tue Jun 25, 2019 12:25 pm

Re: Saving changes in bootable USB with persistence

#17 Post by m_frank »


You can get USB sticks pretty economical these days.

I just took a look on Amazon, searching for:

Code: Select all

usb 3 stick 16gb
and the first item was:

Code: Select all

32GB USB 3.0 Flash Drive  == $7.99 (reg $9.99)
It looks like one I've got (I also have a 64GB version) and they work fine.
LT: Dell 5566, Core i3-7100U, 6GB, 1.0TB HD, MX-19.1_x64/386
LT: Lenovo T500, Core2 Duo P8700, 4GB, 320GB HD, MX-19.1_x64/386
LT: HP DV6-1053cl, Core2 Duo P7450, 4GB, 320GB HD, MX-18.3_x64
DT: HP 500-281, Core i3-4130, 4GB, 1.0TB HD, MX-18.3_x64

User avatar
penguin
Posts: 262
Joined: Wed Jan 04, 2017 2:15 pm

Re: Saving changes in bootable USB with persistence

#18 Post by penguin »

anticapitalista wrote: Tue Apr 07, 2020 6:41 am
dolphin_oracle wrote: Tue Apr 07, 2020 6:27 am With that small a usb I would go with root persistence only.
Also forget about remastering, you won't have enough space.
Sorry to reply in this post @anticapitalista.
Today I spend a lot of time to find a linux distro that one can use as backuper of anoher linux.
Saying simple. One has installed linux, but he needs to have backup of it, in case something going wrong. The best, uncomplicated way that I judge is: Boot machine from a live linux distro (lets consider it - antix live usb) and make a backup of installed linux distro on his machine (can be anyone) on a separate partition of machine. One expert user can complete it using dd command in terminal, or rsync. If something has gone wrong, he can boot from live linux usb and by dd or rsync can restore back the damaged system. Personally I have resolved this problem times ago. I have 2 or 3 linux in my machine so I can backup and restore my linux systems from others. I use qt4-fsarchiver because, I have found it very simple gui. Times ago I have installed my MX Linux installed qt4-fsarchiver and snapshoted my MX Linux to a bootable USB. So, as I said, I have tried some live distros today, including Antix Linux . Since some time I did not experimented with MX Linux live. As I know MX Linux includes Lucky Backup in its Live Usb. Times ago I recommended author of Sparky Linux to include qt4-fsarchiver in Sparky live (remember that Sparky had included time ago , but I don't know status of this package in actual Sparky Live). I discovered that Antix Linux includes Partimage also Rsync, but i think that are not so easy for a novice user. The best way will be to include a simple gui interface of dd (like dd utility), qt4-fstarchiver, or maybe a self made of simple gui (maybe in yad or zenity) of fsarchiver or gnome-disk. I tried to install by my self gnome-disk in Antix Live with persistence activated from boot but I did not arrived to save it in Antix Live Usb, maybe because created live usb by Mint Usb instead of MX Linux Usb Creator, that has a function of Full Featured Mode.
The only live distro that I found easy usable was Ubuntu Mate that has gnome-disk utility included and someone can image partitions easily (easy gui).

Why a prefer qt4-fsarchiver ? Because I can restore a backup in a partition that has a size different with original one, also fsarchiver produce a zipped image . dd command or gnome-disk cause troubles when the the size of the restored partition is different from original . But for restore and backup of/to original partitions the dd and gnome-disk goes fine.

Sorry that I used this thread for my request or my objections. Will be worthy to have a simple gui for Antix or MX Linux Live USB that backup and restore partitions .

User avatar
anticapitalista
Developer
Posts: 4281
Joined: Sat Jul 15, 2006 10:40 am

Re: Saving changes in bootable USB with persistence

#19 Post by anticapitalista »

@penguin - qt4-fsarchiver is not in Debian repos and the sourceforge site says it is no longer supported (but this is off-topic, make a separate thread if you want to continue the discussion)
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

Caesar2
Posts: 43
Joined: Wed Jul 27, 2011 2:57 pm

Re: Saving changes in bootable USB with persistence

#20 Post by Caesar2 »

User meet isn't the only one having this exact same issue. I hope the answers provided work for me too. The vagueness of the issue has caused a lot of stress and wasted time and resources. Maybe now resolution is possible. Thanks.
[><]

Post Reply

Return to “Installation”