ventoy+porteus+rootcopy how?

Post here if you are a new Porteus member and you're looking for some help.
No_Problem
White ninja
White ninja
Posts: 18
Joined: 25 Oct 2017, 06:47
Distribution: Porteus-OPENBOX-v5.0rc3-x86_64

ventoy+porteus+rootcopy how?

Post#1 by No_Problem » 29 Dec 2021, 20:47

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3933
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

ventoy+porteus+rootcopy how?

Post#2 by ncmprhnsbl » 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)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

No_Problem
White ninja
White ninja
Posts: 18
Joined: 25 Oct 2017, 06:47
Distribution: Porteus-OPENBOX-v5.0rc3-x86_64

ventoy+porteus+rootcopy how?

Post#3 by No_Problem » 29 Dec 2021, 23:06

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?

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

ventoy+porteus+rootcopy how?

Post#4 by Rapha_ » 29 Dec 2021, 23:22

Hi ! The solution is explained in French here :
Sujet : Ventoy, Porteus et Syslinux...

:D

No_Problem
White ninja
White ninja
Posts: 18
Joined: 25 Oct 2017, 06:47
Distribution: Porteus-OPENBOX-v5.0rc3-x86_64

ventoy+porteus+rootcopy how?

Post#5 by No_Problem » 29 Dec 2021, 23:40

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?

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

ventoy+porteus+rootcopy how?

Post#6 by Ed_P » 30 Dec 2021, 02:29

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.
Last edited by Ed_P on 31 Dec 2021, 17:45, edited 1 time in total.
Reason: Corrected problem link.
Ed

No_Problem
White ninja
White ninja
Posts: 18
Joined: 25 Oct 2017, 06:47
Distribution: Porteus-OPENBOX-v5.0rc3-x86_64

ventoy+porteus+rootcopy how?

Post#7 by No_Problem » 30 Dec 2021, 23:11

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:

Kulle
Warlord
Warlord
Posts: 598
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

ventoy+porteus+rootcopy how?

Post#8 by Kulle » 31 Dec 2021, 07:57

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?

Kulle
Warlord
Warlord
Posts: 598
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

ventoy+porteus+rootcopy how?

Post#9 by Kulle » 31 Dec 2021, 08:19

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.

donald
Full of knowledge
Full of knowledge
Posts: 2067
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

ventoy+porteus+rootcopy how?

Post#10 by donald » 31 Dec 2021, 12:17

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

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

ventoy+porteus+rootcopy how?

Post#11 by Ed_P » 31 Dec 2021, 17:47

:shock: Sorry. Link in my posting corrected. :sorry: I thought all porteus.org links were https now. :oops:
Ed

Post Reply