Skip to main content

Questions tagged [persistence]

Questions about persistent state, when information is not lost during processing through an information system. The term is often used for the principle when if something is saved then it could be loaded without informational loss or for transferring information from system A to system B without informational loss.

Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

iptables issues on Pop!_OS

I am seeing some strange/frustrating behavior with iptables in Pop!_OS, which I am struggling to understand. Firstly, I have a server, on which I want to enable incoming ssh connections. The following ...
Time4Tea's user avatar
  • 2,494
0 votes
1 answer
65 views

How to Persistently Map /dev/sd* Devices in Linux for RAID 0 Array

I'm facing an issue with my RAID 0 setup on Linux. I've created a RAID 0 array with 4 disks, but after a few hours of activity and several system reboots, Linux changes the /dev/sd* directives used in ...
Josué Suptitz's user avatar
0 votes
0 answers
141 views

How to extend Encrypted persistence partition on Kali live USB

I would like to increase the amount of Encrypted persistence storage for my Kali Linux live USB. It is encrypted with LUKS encryption and is written as a DD image. My USB is a Sandisk with 32GB and I ...
security_paranoid's user avatar
2 votes
2 answers
2k views

How can I persist the modified V4L2 (Guvcview) profile of a webcam?

I have a USB web camera that gives suboptimal results when I plug it in (Linux seems to apply its own V4L2 settings to it that it thinks are best, they are not). Mainly, it operates at a low FPS. But ...
ostrich's user avatar
  • 21
0 votes
0 answers
883 views

How can I add more storage to a persistent usb with Linux mint on it?

I have created a persistent usb with Linux Mint on a 128 Gb thumb drive. When I first created it I guess I only allocated 80 Gb for persistence. Now that I have been using it for a couple months the ...
Owings671's user avatar
0 votes
1 answer
220 views

Changes are not saved on shutdown [ Linux / Jetson Nano ]

Whenever I restart my Jetson Nano (Ubuntu 18.04.06), all changes I made are reset. The Jetson used to work fine and no major settings have been changed. There are also previous changes on the Jetson ...
John-Hugh Hedrick's user avatar
1 vote
1 answer
1k views

How to install packages which are present on startup in alpine diskless

I've installed alpine linux on an R-Pi using instructions on Alpine's wiki. The instructions note: Alpine Linux will be installed in diskless mode, hence, Alpine Local Backup (lbu) is required to ...
Philip Couling's user avatar
1 vote
2 answers
413 views

How to copy casper-rw persistent USB install to a new HDD?

I'm somewhat of a beginner with Linux, sorry for the dumb question. I installed a persistent Linux Mint install to a USB drive. It has been working well, but now I want to install it directly to a new ...
flen's user avatar
  • 161
0 votes
0 answers
135 views

Is there a way to auto-update a live OS?

I'm currently using a Debian installation for a DIY router. In the interests of security, I'm wondering how I might switch to a non-persistent installation in order to defend against any persistence ...
Synthetic Ascension's user avatar
1 vote
1 answer
2k views

Persistent Debian Live HDD

I want to make a persistent live boot in which I can store my data on a debian iso booted from a hard drive. So I downloaded debian-live (here), modified the grub entry to be able to boot into the ...
User100700's user avatar
0 votes
0 answers
474 views

Not a regular file, you need to load the kernel first - mkusb

I'm using mkusb to make an install of TinyCoreLinuxPlus. I used mkusb-dus, selected the option for a persistent live drive, chose my coreplus.iso file, and cloned to the drive as usual. However, ...
Aaron's user avatar
  • 1
1 vote
0 answers
874 views

systemd-journald is not persisting logs on system running Docker

Every hour or so systemd-journald is deleting any logs older than about an hour instead of persisting them to /var/log/journal/. I have set storage=persistent in journal.conf. Whenever the logs rotate ...
Luke Rayner's user avatar
0 votes
1 answer
373 views

Is it possible to create a MULTIBOOT USB with Kali + persistence?

I am using the Live version of Kali Linux and now I'm realizing that having persistence might be a good idea. There are some tutorials out there showing how it can be done on Windows and it looks easy ...
First User's user avatar
2 votes
1 answer
848 views

Boot live ISO from persistent partition

I've installed ArchCraft with a persistent partition on my USB key using Rufus. Now, when I boot from the live USB, I have an additional empty partition called "persistence", with just "...
keqing123's user avatar
-3 votes
1 answer
2k views

VMware - restart Linux VM without losing everything on it

I have a Linux VM that has frozen completely. It likely happened because I left it idle for too long. I don't have any snapshots and I don't want to have to set it up again due to having a lot of ...
John Doe's user avatar
2 votes
1 answer
2k views

Multi Boot Raspberri Pi and amd64 OS

How I can Multi boot Pi OS 64 bit with persistence for Raspberry pi (arm64) and ventoy with OS with no persistence on another partition, while the Pi OS is the default?
Inachi's user avatar
  • 21
1 vote
1 answer
947 views

How to access persistent data from Linux installation on USB pendrive?

I have installed Linux Mint on USB pendrive with universal usb installer. I have also specified size of the file for persistance during installation. Is it possible to access data stored on this file ...
hal's user avatar
  • 295
0 votes
1 answer
2k views

Kali Linux on portable SSD with data persistence

I need to setup a portable kali-linux environment that I can boot on any available computer. I don't want to use a virtual environment because I would need to download VMware on the host computer, ...
mossonzdod's user avatar
2 votes
1 answer
2k views

Can TC rules persist beyond a reboot? Where?

I am trying to determine whether rules put in place using tc persist beyond a reboot (I do not believe they do by default), and whether there is any way to cause them to persist, or if the best you ...
pooley1994's user avatar
0 votes
1 answer
437 views

Persistence on Tinycore 12.0 virtual machine

Using Oracle Virtual Box, I have a Tinycore 12.0 virtual machine with a MacOS Big Sur 11.2.3 host. I have the most minimal Core version, no GUI, because I was having trouble with mouse tracking and I ...
Jargon's user avatar
  • 1
0 votes
0 answers
350 views

Debian live usb stick with persistence boots without gui on vega gpu systems

background: as corona starts we have made an bootable usb with persistance via rufus and debian-live-10.3.0-amd64-xfce. We installed an vpn client / remmira or freerdp and the users boot it with their ...
rigoletto's user avatar
0 votes
1 answer
584 views

chmod command to persist file permissions

This is part of Ansible automation where I have to run a single chmod command and read the permission from the users. Thus, chmod -R $fileperm <filename> However, at times the user may not ...
Ashar's user avatar
  • 519
0 votes
2 answers
7k views

systemctl Persistent timer and service, when computer turned off

How do the systemctl timer works when the computer is turned off at the given trigger time? There is the option "Persistent", but when exactly is the command executed? In how far is it ...
camel's user avatar
  • 13
3 votes
0 answers
730 views

Does btrfs sync "suffer" from same issues as btrfs snapshot?

Targeting "roughly okay backups" of a running system that uses BTRFS as filessytem, I seek an answer regarding Can option a) btrfs filesystem sync <path>(sync(1)) be used to force an &...
humanityANDpeace's user avatar
1 vote
1 answer
473 views

BASH/Linux: Always Up or Retry a command?

For my particular use case, I liked to use docker-compose up to provide retry logic for a couple of apps. When shifting gears and pivoting to easy to use CDN infrastructure, it seems as if running ...
Chris's user avatar
  • 1,015
0 votes
1 answer
2k views

Encrypted Persistence Kali usb won’t save

I am trying to make a encrypted persistent Kali usb. I followed this tutorial. https://devanswers.co/guide-kali-linux-2018-live-usb-encrypted-persistence-windows/ It took me a while to get it to boot ...
cartier_5's user avatar
0 votes
0 answers
212 views

I use Linux Lite Live with persistent memory and I'm unable to remove/disable cdrom repository in it. What to do?

I created a Linux Lite Live with persistent memory using mkusb. I set the persistent memory to 100%. I need to remove the cdrom repository from Linux Lite Live so that I don't have to be annoyed by ...
FourPaws's user avatar
-1 votes
1 answer
1k views

Things to do after booting Kali Linux 2020.2 live usb persistence? [closed]

I just wanted to know more about kali Linux because I strive to become a system admin in the future. I started to download kali-linux 2020.2 x64 live. I prefer to choose USB persistence because I ...
Mr.systemmad's user avatar
2 votes
3 answers
1k views

What is the best way to store a single counter persistently?

I have a simple bash script that increments a counter a few times per second, guaranteed less than 100 times per second. The script works fine, but I would like the counter to persist on machine ...
00prometheus's user avatar
4 votes
2 answers
4k views

Making cpupower changes persistent

I have been fiddling with power management and I can't find a way to make the changes I want persistent. For example, I have set the maximum cpu frequency with this command: sudo cpupower frequency-...
fresh's user avatar
  • 153
0 votes
1 answer
232 views

Is it possible to dupe my current Pop! OS (20.04)system, data, everything from SSD hardrive to persistent USB?

I saw Matt Zabojnik’s article on the Medium website. (How to make a Pop!_OS Persistent Live USB). My question is, I want to dupe my current setup (settings, files, programs etc) from my current SSD ...
rand's user avatar
  • 1
0 votes
1 answer
2k views

Tails: How to keep browser add-ons in persistent storage?

(Yes, I know I should not install browser add-ons but I know what I'm doing.) I want to install a browser add-on (Metamask Ethereum wallet) and make Tails remember it in the persistent storage. I ...
Georg Jähnig's user avatar
0 votes
0 answers
2k views

Moving Kali Linux Persistent Installation to another USB drive

I have a 8GB USB Drive where I installed Kali Linux (4GB partition) and then used the other 4GB for the persistent part. Yesterday I did an "apt update && apt upgrade" and it crashed my ...
lbramos's user avatar
  • 101
0 votes
3 answers
83 views

How run Softwares as a snapshot?

I want to run the software as non-persistent, which means if any configuration is changed, they revert. In the Windows, Software Sandboxie has this amazing feature. When the program is started, it ...
Monu's user avatar
  • 155
1 vote
0 answers
492 views

bind home and other folders to casper-rw

I use an USB key with a casper-rw partition but Ubuntu only binds /var/log-crash to casper-rw, the rest of linux files are non-persistant. But i want to have nearly all consistent, like an normal ...
wxi's user avatar
  • 179
0 votes
0 answers
314 views

Working(details) of kali linux on usb persistent flash drive

I made a persistent usb drive for kali linux but there are some issues and i and i want some detail working of booting up an os from usb stick Issues some programs don't get started when launched ...
Rahul Gupta's user avatar
-1 votes
1 answer
557 views

Minimal linux live persistence

I am new to Linux. I was trying Minimal Linux Live recently. Is there a way by which I can ensure persistence in the Linux? Example, if I create a file it must stay there even after rebooting.
network's user avatar
  • 33
1 vote
0 answers
207 views

How to modify the boot process of a Lubuntu liveCD

I am using a persistent Lubuntu liveCD image. Now I intended to disable the autologin and hide the original user (lubuntu) in the login screen. during a reboot it tries to create a new user lubuntu ...
Fips's user avatar
  • 11
0 votes
1 answer
494 views

Create persistent live usb from physical or virtual machine

When creating a persistent live USB from a Linux distro, it appears to be impossible to upgrade the kernel and certain other low-level features. Is it possible to install and configure a Linux install,...
StatelySquirrel's user avatar
0 votes
1 answer
1k views

Bridge Configs Reset After systemctl restart network

I currently have a Centos 7 KVM host with the following network config: [root@workhorse1 log]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
Alex's user avatar
  • 13
1 vote
0 answers
833 views

How to ensure the text file will be read as Markdown file by an external user?

Mime type is set for md extension in the following file: $ cat /etc/mime.types | grep markdown text/markdown md markdown But, on checking the Mime type of .md file ...
Porcupine's user avatar
  • 2,084
1 vote
1 answer
4k views

Tiny Core: startup script and persistence

I need a very lightweight, and I found Tiny Core Linux, which I installed following this guide, but I have several problems, related to adding SysVinit (in which is based) startup scripts: Anything I ...
xCovelus - Слава Україні's user avatar
2 votes
1 answer
3k views

Speed up persistent live usb disk operations

I created a persistent Debian 9 live usb. The persistence is configured with / union. An unexpected consequence, although obvious in hindsight, is the system lags on non-cached reads: holmes@...
Lorem Ipsum's user avatar
1 vote
2 answers
2k views

Slax Linux: Save changes (persistent USB) after selecting copy to RAM at boot

Explanation: Right now I'm using a MacBookPro9,2 with Slax. I'm on an exchange trip and I'm having problems with my main HD (either bad SATA cable or damaged SSD). Repairing the hardware on my ...
Maganna Dev's user avatar
-1 votes
1 answer
382 views

Where did my persistence go?

I've had a Kali Linux bootable usb for a long time now. Last night I updated Kali, and shutdown when I went to bed. I boot up now, and it appears everything is wiped. All files gone. The desktop ...
Joey Rodriguez's user avatar
0 votes
1 answer
1k views

activate casper-rw partition

I've got a "live" LM 18.3X. Added a "casper-rw" partition. Now, I need to get the O.S. to recognize/use that partition. What file do I go to to change the command lines and what are those changes I ...
Rick's user avatar
  • 1
0 votes
1 answer
1k views

USB 2-1.4: device descriptor read/64, error -110

I can't seem to find any USB 2 error code list. I'm booting off Kali 2018.2 with Luks Encrypted Persistence. I can't get past to Fail Safe, GUI crashes everytime it tries to init. It seems to ...
Andrew Angelo Barrientos's user avatar
0 votes
1 answer
67 views

what are the benefits of always running from live cd for data protection? [closed]

Wanted to create a list of all the benefits of always running from a live CD (with or without persistence/as long as personal data is saved on encrypted drive locally)?
freedemrain's user avatar
0 votes
1 answer
4k views

Let CentOS 7 on live-USB won't reset to default settings after reboot

I've downloaded the LiveGNOME iso for CentOS 7 and use rufus to make CentOS 7 Live-USB that I can boot a Centos 7 with it. But after I boot it I've set up some settings, then I shut down it, later I ...
Andrew.Wolphoe's user avatar
4 votes
3 answers
6k views

Persistent iptables

I've just read about iptables-persistent and I'm completely lost w.r.t. the design. I'm not the only one, who didn't understand how it works, but actually it seems to be way beyond my imagination. I ...
maaartinus's user avatar
  • 5,159