Page 1 of 1

Best Frugal USB Stick Boot Parameter Settings?

Posted: Sun Sep 01, 2024 10:38 am
by JusGellin

What are the best boot parameters to use for a frugal puppy install on a USB stick that allows
putting as much in memory as possible so it can run as fast as possible?
Also it would allow saving a session if only requested to the USB stick.

I was wondering what you may find to be the best for you doing this.

Thanks


Re: Best USB Stick Boot Parameter Settings

Posted: Mon Sep 02, 2024 12:30 am
by bigpup

In the boot loader menu config file entry.

For the save, have the pmedia= command as pmedia=usbflash

That makes it run in pupmode 13 and have options for how the save works available in Event Manager ->Save Session

The save file or folder is never loaded into RAM, it only is layered into the operating file system.
In pupmode 13 the save uses a save ramdisk to store new stuff, until you tell it to empty into the save file/folder, updating it.
Click on desktop save icon, have set time to update the save, or ask to save on shutdown.

A normal boot will load all of Puppy into RAM.

Do not have pfix=nocopy in the entry.
This tells it not to load the different sfs's into RAM
Just loads into RAM the basic operating system.

Any other pfix= entries have no affect on loading into RAM.

However, pfix=ram is telling the system to only load into RAM and not use the save file/folder.


Re: Best USB Stick Boot Parameter Settings

Posted: Mon Sep 02, 2024 3:12 am
by JusGellin

@bigpup
Thanks.
Good information that concisely shows how to do it.

I was looking at the boot parameters which seemed to be complicated.
I was trying the different parameters to see how they affected mostly the memory.
I concluded what you so nicely put it and realized the same things you mentioned.
It's just a few things that are important for this.
You responded to this at just the right time and reinforced what I was thinking.
So that helps me a lot by working with this. What you mentioned was very clear to me now.

The only additional things I experienced was that I newly installed frugal BW on the internal drive
and the USB stick.
When both of these booted, I saw they contained Grub version 2.03.
This caused conflicts with especially the USB.
To make this work all the way I needed to upgrade the Grub on both to version 2.06.
Now it all works as expected.