Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Injection plugin
#1
Can the injection plugin be used to add a file to a persistence.dat file instead of the iso?
Reply
#2
(08-29-2020, 11:53 PM)Skystrike Wrote: Can the injection plugin be used to add a file to a persistence.dat file instead of the iso?
Injection doesn't add files to the iso, it injects files into the file system before the OS loads. I learned it cannot be used to put files, for example, into the home directory once the OS is loaded. If you are needing a particular file once you are booted into the OS you would use persistence. And to address your other post, you need to boot into the OS using persistence. Then add the file you want to be there upon subsequent boots. That will store it in the persistence image, which will be read the next time you boot and your file will still be there.
Reply
#3
(08-30-2020, 10:00 PM)mrkmpn Wrote:
(08-29-2020, 11:53 PM)Skystrike Wrote: Can the injection plugin be used to add a file to a persistence.dat file instead of the iso?
Injection doesn't add files to the iso, it injects files into the file system before the OS loads. I learned it cannot be used to put files, for example, into the home directory once the OS is loaded. If you are needing a particular file once you are booted into the OS you would use persistence. And to address your other post, you need to boot into the OS using persistence. Then add the file you want to be there upon subsequent boots. That will store it in the persistence image, which will be read the next time you boot and your file will still be there.

my problem is with getting persistence to work on Debian based distros, in order for these to detect a drive to use for persistence a persistence.conf file has to be created on the live-rw labeled drive, which in this case is persistence.dat. I have tried a lot to get it to work with no avail.
Reply
#4
(09-01-2020, 08:17 PM)Skystrike Wrote:
(08-30-2020, 10:00 PM)mrkmpn Wrote:
(08-29-2020, 11:53 PM)Skystrike Wrote: Can the injection plugin be used to add a file to a persistence.dat file instead of the iso?
Injection doesn't add files to the iso, it injects files into the file system before the OS loads. I learned it cannot be used to put files, for example, into the home directory once the OS is loaded. If you are needing a particular file once you are booted into the OS you would use persistence. And to address your other post, you need to boot into the OS using persistence. Then add the file you want to be there upon subsequent boots. That will store it in the persistence image, which will be read the next time you boot and your file will still be there.

my problem is with getting persistence to work on Debian based distros, in order for these to detect a drive to use for persistence a persistence.conf file has to be created on the live-rw labeled drive, which in this case is persistence.dat. I have tried a lot to get it to work with no avail.
I use persistence with MX Linux and haven't done anything with a persistence.conf. I only used the instructions for the ventoy persistence plugin and configured the ventoy.json. However, I also didn't download the .dat files, I created the persistence.img file with createpersistenceimg.sh.
Reply
#5
(09-03-2020, 06:14 PM)markm Wrote:
(09-01-2020, 08:17 PM)Skystrike Wrote:
(08-30-2020, 10:00 PM)mrkmpn Wrote:
(08-29-2020, 11:53 PM)Skystrike Wrote: Can the injection plugin be used to add a file to a persistence.dat file instead of the iso?
Injection doesn't add files to the iso, it injects files into the file system before the OS loads. I learned it cannot be used to put files, for example, into the home directory once the OS is loaded. If you are needing a particular file once you are booted into the OS you would use persistence. And to address your other post, you need to boot into the OS using persistence. Then add the file you want to be there upon subsequent boots. That will store it in the persistence image, which will be read the next time you boot and your file will still be there.

my problem is with getting persistence to work on Debian based distros, in order for these to detect a drive to use for persistence a persistence.conf file has to be created on the live-rw labeled drive, which in this case is persistence.dat. I have tried a lot to get it to work with no avail.
I use persistence with MX Linux and haven't done anything with a persistence.conf. I only used the instructions for the ventoy persistence plugin and configured the ventoy.json. However, I also didn't download the .dat files, I created the persistence.img file with createpersistenceimg.sh.
With MX linux its preset in the iso for persistence, with all other Debian and based distros like Kali it is not.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)