Small USB sticks create problems with from cheatcode?

Post here if you are a new Porteus member and you're looking for some help.
Argo Navis
Black ninja
Black ninja
Posts: 35
Joined: 29 Feb 2024, 21:52
Distribution: Porteus 5.01

Small USB sticks create problems with from cheatcode?

Post#1 by Argo Navis » 18 Aug 2024, 00:26

I don't know if this real of if its me...
Do someone knows if the size of the usb key creates problems if it is too small?

I built two different keys: one is a 4GB and a second is 2GB.
Both have the same setup :
  • 1st partition is fat32
    • size is 34MB
    • it holds /boot and /efi folders
    • it is label BOOT
  • 2nd partition is ext4
    • size is the remaining space of the key so around 3GB and 1GB
    • it hols /porteus folder
    • it is labeled MAIN
I use the cheatcode

Code: Select all

from=LABEL:MAIN
. It has always worked previously.
When I try to boot with either of the small keys, I get and error message saying the "from= cheatcode is incorrect"

I reformated another key just to be sure, it is 16GB. Same setup, same cheatcode, and this one works...
:%)

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

Small USB sticks create problems with from cheatcode?

Post#2 by Ed_P » 18 Aug 2024, 00:58

My guess would be you've formatted the small drives wrong.

Argo Navis
Black ninja
Black ninja
Posts: 35
Joined: 29 Feb 2024, 21:52
Distribution: Porteus 5.01

Small USB sticks create problems with from cheatcode?

Post#3 by Argo Navis » 18 Aug 2024, 12:45

Edit: The keys are booting in Always Fresh.

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

Small USB sticks create problems with from cheatcode?

Post#4 by Ed_P » 18 Aug 2024, 15:42

Argo Navis wrote:
18 Aug 2024, 12:45
Edit: The keys are booting in Always Fresh.
Ok. :good: Then why do you need the from= cheatcode?? :%)

You can try changing the from= cheatcodes to use the drive's UUID code rather than the drive's label. from=UUID:....

Argo Navis
Black ninja
Black ninja
Posts: 35
Joined: 29 Feb 2024, 21:52
Distribution: Porteus 5.01

Small USB sticks create problems with from cheatcode?

Post#5 by Argo Navis » 20 Aug 2024, 15:05

from=UUID: is not working either.
I formatted a 16GB key from the same company, same model, same setup, and it works.
So there is really something about the size of the USB key that prevents it from booting in regular mode.

Mel1974
White ninja
White ninja
Posts: 13
Joined: 02 Aug 2017, 16:09
Distribution: porteus mate 3.2.2

Small USB sticks create problems with from cheatcode?

Post#6 by Mel1974 » 26 Aug 2024, 02:43

Since the 16GB key works with the same setup, I think that the problem may be related to size rather than configuration

Vic
Samurai
Samurai
Posts: 171
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

Small USB sticks create problems with from cheatcode?

Post#7 by Vic » 26 Aug 2024, 09:09

Hi Argo Navis

Have you tried them in another computer?
Or in different usb ports?

Vic

Argo Navis
Black ninja
Black ninja
Posts: 35
Joined: 29 Feb 2024, 21:52
Distribution: Porteus 5.01

Small USB sticks create problems with from cheatcode?

Post#8 by Argo Navis » 27 Aug 2024, 00:39

I have 2 laptops at home and it works on none of them. I will try on other computers when I get the chance. I am currently using 16gb keys, but since I plan on having many keys in circulation, it would have been a save of money for me. But it's not a big deal.

rych
Warlord
Warlord
Posts: 787
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Small USB sticks create problems with from cheatcode?

Post#9 by rych » 27 Aug 2024, 04:49

I would have suggested trying a different 2GB stick, but those must be rare to find these days... They are probably old, vintage, outdated, and yours is likely to be at the end of its life. Besides, what can you even squeeze into that size? A Firefox profile alone easily takes a 1GB these days!?

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

Small USB sticks create problems with from cheatcode?

Post#10 by ncmprhnsbl » 27 Aug 2024, 07:19

does it really need the from= cheatcode at all?
without it, it should just search for the porteus*.cfg file.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Amaya Nidjit
White ninja
White ninja
Posts: 22
Joined: 01 Nov 2024, 05:53
Distribution: Multiple Porteus-v5.01x32 live
Location: Left Coast of Canada

Small USB sticks create problems with from cheatcode?

Post#11 by Amaya Nidjit » 19 Nov 2024, 06:45

A rather late addition to this Topic, but for others who may see this, Porteus runs just fine from 2G and 4G gigsticks with the default config file written by the installer. No "from=" cheat code is used in the default config file.
The 2G stick is pretty cramped - theres barely room for a half-dozen app modules.

Amaya
Amaya

Post Reply