Ventoy Forums
Injection plugin - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy Plugin (https://forums.ventoy.net/forumdisplay.php?fid=3)
+--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4)
+--- Thread: Injection plugin (/showthread.php?tid=542)



Injection plugin - Skystrike - 08-29-2020

Can the injection plugin be used to add a file to a persistence.dat file instead of the iso?


RE: Injection plugin - mrkmpn - 08-30-2020

(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.


RE: Injection plugin - Skystrike - 09-01-2020

(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.


RE: Injection plugin - markm - 09-03-2020

(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.


RE: Injection plugin - Skystrike - 09-05-2020

(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.