Page 1 of 1

ventoy+porteus+rootcopy how?

Posted: 29 Dec 2021, 20:47
by No_Problem
Is it possible to use rootcopy when booting from ventoy? I tried the ventoy plugin https://www.ventoy.net/en/plugin_injection.html , for iso editing, but it doesn't work. This plugin adds my test.txt to here /mnt/live/porteus/rootcopy/test/test.txt. But it is not added to the root of the system.

Somebody knows? Help me please.

ventoy-1.0.63
Porteus-OPENBOX-v5.0rc3-x86_64.iso

ventoy+porteus+rootcopy how?

Posted: 29 Dec 2021, 22:52
by ncmprhnsbl
i don't know how ventoy works, but if you can edit the boot line, there is the parameter(cheatcode) rootcopy=/path/to/folder/with_files lets you use rootcopy from anywhere (though it should be a POSIX partition)

ventoy+porteus+rootcopy how?

Posted: 29 Dec 2021, 23:06
by No_Problem
ncmprhnsbl wrote:
29 Dec 2021, 22:52
i don't know how ventoy works, but if you can edit the boot line, there is the parameter(cheatcode) rootcopy=/path/to/folder/with_files lets you use rootcopy from anywhere (though it should be a POSIX partition)
Thank you! Ok, I'll try. Do I understand correctly that this requires editing Porteus-OPENBOX-v5.0rc3-x86_64.iso?
This parameter, as will determine the section of my flash drive. What partition will it take data from?

ventoy+porteus+rootcopy how?

Posted: 29 Dec 2021, 23:22
by Rapha_
Hi ! The solution is explained in French here :
Sujet : Ventoy, Porteus et Syslinux...

:D

ventoy+porteus+rootcopy how?

Posted: 29 Dec 2021, 23:40
by No_Problem
Rapha_ wrote:
29 Dec 2021, 23:22
Hi ! The solution is explained in French here :
Sujet : Ventoy, Porteus et Syslinux...

:D
Thx! Yes, this is very similar to what I want. I'll try.
No_Problem wrote:
29 Dec 2021, 23:40
I'll try.
Yes it works, but you need to customize the syslinux menu. I just added the necessary lines from the old config.



But why are absolute paths specified there?
Rapha_ wrote:
14 Oct 2021, 22:39
...
APPEND from=/dev/sdb1/ rootcopy=/mnt/sdb1/porteus/rootcopy/ extramod=/mnt/sdb1/porteus/modules/ kmap=fr
...
If I insert several flash drives, how can I determine sdX?

ventoy+porteus+rootcopy how?

Posted: 30 Dec 2021, 02:29
by Ed_P
No_Problem wrote:
29 Dec 2021, 23:40
But why are absolute paths specified there?
Rapha_ wrote:
14 Oct 2021, 22:39
...
APPEND from=/dev/sdb1/ rootcopy=/mnt/sdb1/porteus/rootcopy/ extramod=/mnt/sdb1/porteus/modules/ kmap=fr
...
If I insert several flash drives, how can I determine sdX?
From 117-cheatcodes-what-they-are-and-how-to-use-them

Code: Select all

SPECIAL NOTE FOR USING CHEATCODES WITH 'LABEL' AND 'UUID':
If you specify a LABEL or UUID with a cheatcode, remember that all
portions of these commands are case sensitive. You should use a
unique label for each of your partitions if you wish to use device
labels with your cheatcodes. Use the 'blkid' command to view your
device's UUID and LABEL. Using UUID and LABEL can be quite handy
because they are unique to your device, and your data will be found
and properly mapped on different hardware configurations.
Every cheatcode which contains a /path can take advantage of 'UUID:'
and 'LABEL:' extensions.

Examples:
changes=UUID:STrING-0F-ChARACtERS/path/file.dat
extramod=LABEL:YourLabelName/path/to_folder/with_modules
from=UUID:STrING-0F-ChARACtERS/path/folder
rootcopy=LABEL:YourLabelName/path/to_folder/with_files
So use the LABEL or UUID options. I usually use the latter.

ventoy+porteus+rootcopy how?

Posted: 30 Dec 2021, 23:11
by No_Problem
Ed_P wrote:
30 Dec 2021, 02:29
So use the LABEL or UUID options. I usually use the latter.
Everything works now. Thank you, guys! :worship:

Porteus is cool! Happy holidays everyone ... :newyear:

ventoy+porteus+rootcopy how?

Posted: 31 Dec 2021, 07:57
by Kulle
Hi
Ed_P wrote
From 117-cheatcodes-what-they-are-and-how-to-use-them
But www.porteus.org/component/content/artic ... -them.html

==> The requested page could not be found.
Is this a old site?

ventoy+porteus+rootcopy how?

Posted: 31 Dec 2021, 08:19
by Kulle
Addendum:
I tried several times.
Always: The requested page could not be found.
But only with google chrome, not with other browsers!
Thereupon:
I have now restarted the computer, and now the page is also loaded on google chrome.
How can that be??
Is completely incomprehensible to me.

ventoy+porteus+rootcopy how?

Posted: 31 Dec 2021, 12:17
by donald
@Kulle

I don't know how google chrome handles https vs http.

PaleMoon:

Ed's link is a https one which gives:

This Connection is Untrusted
www.porteus.org uses an invalid security certificate.
The certificate is only valid for forum.porteus.org

Your link is http > page is displayed.

ventoy+porteus+rootcopy how?

Posted: 31 Dec 2021, 17:47
by Ed_P
:shock: Sorry. Link in my posting corrected. :sorry: I thought all porteus.org links were https now. :oops: