How to save settings on Live USB?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

How to save settings on Live USB?

Post by Cairn »

Hello , the live session in Ram from USB start-up stick goes very well .It connects easy to wifi etc.
But what is the step by step instruction to save my settings on this USB stick ( stick is 4GB ) ext4 format .
Do I need 2 sticks : 1 to startup and a second to install Puppy with my settings and savings ?

dancytron
Posts: 667
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 446 times
Been thanked: 194 times

Re: How to save settings on Live USB

Post by dancytron »

The first time you reboot or shutdown, it will ask you to create and setup a save folder (or file). The next time you use it, there will be a button to save and it will save periodically unless you configure it not to.

backi
Posts: 594
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 74 times
Been thanked: 68 times

Re: How to save settings on Live USB

Post by backi »

The next time you use it, there will be a button to save and it will save periodically unless you configure it not to.

Can be configured in >Menu>System>Puppy Event-Manager>Save Session>Save (interval 0=never)........

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB

Post by Cairn »

Now running in Pupmode 5
I should be in 13? How to change that ?
Everything is grayed out in "save session"
I can not do anything in that window .
If I shutdown I can only save to HD ( sda1 or sda2 ) .
What do I have to do / change ?

backi
Posts: 594
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 74 times
Been thanked: 68 times

Re: How to save settings on Live USB?

Post by backi »

If I shutdown I can only save to HD ( sda1 or sda2 ) .

I have no Plan why it is so.

I am not in Puppy now (i am in Fossa Dog)....probably you first have to create a Save File or Save Folder first (after first Boot and configure your first Setup >Shut down ....you will be ask to make a Save File or Save folder.....and where to save(better make Save Folder).
Save to your Usb Stick.

After creating a Save File or Save Folder .....then reboot>now you will be able to set configuration in "Save Session".
So ....first you have to create a Save File or Save Folder .

Correct me anyone if i am wrong.

Feek
Posts: 397
Joined: Sun Oct 18, 2020 8:48 am
Location: cze
Has thanked: 49 times
Been thanked: 90 times

Re: How to save settings on Live USB?

Post by Feek »

Before a save folder/file is created, the pupmode=5 is perfectly ok. After the save is created the pupmode will change to 13 or 12.

How did you installed puppy? What bootloader did you use?

In your usb should be something like menu.lst or syslinux.conf or grub.cfg, which is bootloader's config file. Open it as text and in the kernel line type the parameter "pmedia=usbflash" (or change it this way) and save it. After reboot try to create a save and it should offer you to save to usb with pupmode=13. You can also specify the partition where the save will be with the param psave. Example: "psave=sdb4" (also in the kernel line).

goltrek
Posts: 14
Joined: Thu Sep 02, 2021 2:26 pm
Been thanked: 1 time

Re: How to save settings on Live USB?

Post by goltrek »

Thanks to everyone for the tips, very important.

User avatar
bigpup
Moderator
Posts: 6550
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 797 times
Been thanked: 1369 times

Re: How to save settings on Live USB

Post by bigpup »

Cairn wrote: Thu Sep 02, 2021 11:53 am

Now running in Pupmode 5
I should be in 13? How to change that ?
Everything is grayed out in "save session"
I can not do anything in that window .
If I shutdown I can only save to HD ( sda1 or sda2 ) .
What do I have to do / change ?

You have to do a shutdown, make a save, and boot using the save, for options in Puppy Event-Manager>Save Session to be available.

If I shutdown I can only save to HD ( sda1 or sda2 )

This is caused by a command in the boot menu entry that is setup for a live CD, which can only save on internal drive.
So you need to change this command for installs to a USB.

On the USB will be the grub.cfg file.
In Rox file manager.
Navigate to showing the location of this file.
Click on grub.cfg file to open in text editor.
anywhere in the entries you see pmedia=cd
Change it to pmedia=usbflash
Save and exit the text editor.
Shutdown, but do not make a save this time.
Reboot now using this changed grub.cfg
Shutdown and now make a save.
It should now offer the USB as a location to put the save.

If you already made a save on the internal drive and are booting using it.
You can move the save to the USB.
But first you need to make the pmedia= change.
Now move the save to the USB.
Reboot and if asked, do not make another save.
As it now boots, it should find, and use the save, on the USB.

Example menu entry:

menuentry "fossapup64 9.5" {
linux /vmlinuz pfix=fsck pmedia=cd
initrd /initrd.gz

Change to this:

menuentry "fossapup64 9.5" {
linux /vmlinuz pfix=fsck pmedia=usbflash
initrd /initrd.gz

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

stevie pup
Posts: 217
Joined: Mon May 10, 2021 7:40 pm
Location: Derbyshire, UK
Has thanked: 14 times
Been thanked: 55 times

Re: How to save settings on Live USB?

Post by stevie pup »

I've found this varies, I've also had a number of occasions when it's only given me the option to save to SDA. It depends on what software you used to create your bootable USB stick, and it also appears to vary from one Puppy to another. I'm running two Puppies in live mode from USB sticks, one was simple to save to the same USB, the other one took some messing around. So how did you create your USB and which Puppy are you running?

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB?

Post by Cairn »

Tried to do " pmedia=cd Change it to pmedia=usbflash "
Stick is read only .Can someone give me the code to change this in the console .
When I open de console I am in root#

How did you installed puppy? USB Image writer from MINT 20.2
What bootloader did you use? Efi / grub
fossapup64 9.5

one
Posts: 244
Joined: Sun Jul 12, 2020 7:53 am
Has thanked: 16 times
Been thanked: 59 times

Re: How to save settings on Live USB?

Post by one »

Cairn wrote: Fri Sep 03, 2021 6:37 am

[...]
How did you installed puppy? USB Image writer from MINT 20.2

The "USB Image Writer" uses the "dd" command to create a bootable stick, but that results in a read-only ISO 9660 file system - so you can't save anything on it (no persistence).

(That's the reason why it proposes sdax (your harddrive) as a writeable possibility for a savefile.)

Bigpup gave advice how to do that in this thread:

viewtopic.php?p=528#p528

Don't use BalenaEtcher ...

peace

stevie pup
Posts: 217
Joined: Mon May 10, 2021 7:40 pm
Location: Derbyshire, UK
Has thanked: 14 times
Been thanked: 55 times

Re: How to save settings on Live USB?

Post by stevie pup »

I was using the latest version of BionicPup 32 (+28) and when I came to burn the USB, with Rufus, a message popped up which told me it was a "hybrid ISO", whatever that means, and gave me two options. One was to burn it as read only and the other would leave the rest of the USB writable, which is the choice I made.

I assume this is something to do with the way the ISO was created. Whether or not this facility is included with other Puppies I don't know, it certainly isn't with the other one I use, BusterPup, and I don't know if it's something that can be added to other Puppies, my knowledge doesn't go that far. So I'll leave that to the experts.

User avatar
shinobar
Posts: 61
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 8 times
Been thanked: 33 times
Contact:

Re: How to save settings on Live USB?

Post by shinobar »

@Cairn
Easiest way is to Install Puppy on another USB drive. Fossapup has 'StickPup' can be found in the 'Setup' menu.
1. Boot from your Live USB.
2. Stick in a new USB drive.
3. Run 'StickPup'.
4. Select the source type 'this'.
5. Select the new ISB drive, and go on.

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB?

Post by Cairn »

Hi , StickPup did'nt work (lost its sdb ; no connection; not mounted )

So reinstalled with UNbootin on another USB , but now it it does'nt mount when pressing the key to choose between OSes .
Apparantly it wrote the install disk with BIOS and this is not recognised on my computer .
Can I change this somewhere ? I really miss basic knowledge , so if you post something , please step by step and don't assume
that I know how to do it myself ,especially not in terminal cmd's .

User avatar
shinobar
Posts: 61
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 8 times
Been thanked: 33 times
Contact:

Re: How to save settings on Live USB?

Post by shinobar »

Cairn wrote: Sun Sep 05, 2021 12:26 pm

Hi , StickPup did'nt work (lost its sdb ; no connection; not mounted )

Did you stick out your Live USB when running FrudalPup?
Keep your Live USB stick in and new USB in parallel.

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB?

Post by Cairn »

Both USB sticks were in the laptop .Down in left corner I could see the sda sdb en sdc .
During the install process there was the message that the sdc was not mounted.
And I got the instruction to pull it out and back in to mount it again .No result .

User avatar
shinobar
Posts: 61
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 8 times
Been thanked: 33 times
Contact:

Re: How to save settings on Live USB?

Post by shinobar »

Cairn wrote: Sun Sep 05, 2021 2:29 pm

Both USB sticks were in the laptop .Down in left corner I could see the sda sdb en sdc .
During the install process there was the message that the sdc was not mounted.
And I got the instruction to pull it out and back in to mount it again .No result .

You can ask @gyrog at viewtopic.php?f=105&t=337

Another option - try BootFlash on the FossaPup. You need to format the 2nd USB drive with 'fat32' formatted and 'boot' flagged using GParted.

Last edited by shinobar on Sun Sep 05, 2021 4:12 pm, edited 1 time in total.
User avatar
Jafadmin
Posts: 381
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to save settings on Live USB?

Post by Jafadmin »

shinobar wrote: Sun Sep 05, 2021 1:08 pm
Cairn wrote: Sun Sep 05, 2021 12:26 pm

Hi , StickPup did'nt work (lost its sdb ; no connection; not mounted )

Did you stick out your Live USB when running FrudalPup?
Keep your Live USB stick in and new USB in parallel.

@shinobar, what happens if you install G2C on a thumbdrive but don't specify any disks that contain OS's? Will it go ahead and create a bootable blank grub.cfg?

On G4D it would create a virgin boot thumb with a basically empty menu.lst. Then we could just use geany to create entries, manually.

This was very useful behavior, and gave me the ability to do some very tricky booting solutions :geek:

User avatar
shinobar
Posts: 61
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 8 times
Been thanked: 33 times
Contact:

Re: How to save settings on Live USB?

Post by shinobar »

Jafadmin wrote: Sun Sep 05, 2021 4:12 pm

@shinobar, what happens if you install G2C on a thumbdrive but don't specify any disks that contain OS's? Will it go ahead and create a bootable blank grub.cfg?

Please try by yourself.

User avatar
bigpup
Moderator
Posts: 6550
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 797 times
Been thanked: 1369 times

Re: How to save settings on Live USB?

Post by bigpup »

Cairn wrote: Sun Sep 05, 2021 2:29 pm

Both USB sticks were in the laptop .Down in left corner I could see the sda sdb en sdc .
During the install process there was the message that the sdc was not mounted.
And I got the instruction to pull it out and back in to mount it again .No result .

That is general mounting on a OS that auto mounts.
Puppy does not auto mount drives.
In Puppy Linux.
To mount, left click on the desktop drive icon (sdc)
I assume sdc is the USB you want to mount to install on.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Jafadmin
Posts: 381
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to save settings on Live USB?

Post by Jafadmin »

shinobar wrote: Sun Sep 05, 2021 4:16 pm
Jafadmin wrote: Sun Sep 05, 2021 4:12 pm

@shinobar, what happens if you install G2C on a thumbdrive but don't specify any disks that contain OS's? Will it go ahead and create a bootable blank grub.cfg?

Please try by yourself.

Right. About that .. G2C won't install on any of my puppies (Fossapup, Bionicpup64, etc ..) :(

I guess I would have to DL and install Xenial64 to check it out, right?

Oops! :roll: .. I had a bad download. Never mind ..

Installed ok on Bionic64 :thumbup:

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB?

Post by Cairn »

Keep on fiddling ! Now I burnt a CD and got de CD-Rom working . I can start Puppy in the RAM .
Then tried to install from CD to USB but in the process it always looses its USB it even disappears from the desktop .
I did put the .iso on the sda to install from there . What next ? Or does someone knows the terminal codes to make the install .

backi
Posts: 594
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 74 times
Been thanked: 68 times

Re: How to save settings on Live USB?

Post by backi »

Why not just extract the Iso (hope you know how to do it) from a running Puppy? and put its Content ( all those x.sfs Files--- initrd.gz---- vmlinuz) to the Usb Stick......then run Grub4dos.(hope you know how to do it)> to a (ext4 or ext3) formatted Usb Stick......and (re) boot it (Usb-Stick) ....
>configure >shut down >choose where to save to save Save File/Folder....it will be (probably) your Usb-Stick.

This is called a "frugal" Installation.....the most common and efficient applied Method .
After this is done you can choose to configure your "Save Settings" somewhere in Puppy Menu>Event Manager.

The next time you use it, there will be a button to save and it will save periodically unless you configure it not to.

Can be configured in >Menu>System>Puppy Event-Manager>Save Session>Save (interval 0=never)........

I am a Fossa-Dog User........ so correct me someone if i am wrong.

Last edited by backi on Wed Sep 08, 2021 9:23 am, edited 1 time in total.
Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB?

Post by Cairn »

No don't know how to extract from a running Puppy session in RAM .
I have a CD and USB stick as CD-Rom , so I can not change or write to it .

Why run Grub4dos (I am on a old Macbook 4.1 running Mint or Puppy in RAM )

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Re: How to save settings on Live USB?

Post by Cairn »

It is in the frugal installation I loose my USB stick while installation is going on and then it looses contact .
So I am trying frugal installation from running RAM puppy to USB stick formatted as fat32 I also tried with the stick formated as ext4 .
There is the problem .

backi
Posts: 594
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 74 times
Been thanked: 68 times

Re: How to save settings on Live USB?

Post by backi »

Did you make/flag your Usb-Stick as "bootable" with Gparted?

User avatar
bigpup
Moderator
Posts: 6550
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 797 times
Been thanked: 1369 times

Re: How to save settings on Live USB?

Post by bigpup »

It is in the frugal installation I loose my USB stick while installation is going on and then it looses contact .

First are you doing this before trying to run the installer program in some Puppy version?

I assume the USB stick is seen as sdc1 (or some other sd identifier) as a desktop drive icon.
Plugging in the USB you want to install on.
Mount it before running the installer program.
In Puppy Linux.
To mount, left click on the desktop drive icon (sdc1)

Now try using the installer program.
Do not worry if the drive icon disappears from the desktop, as the installer program is working.

If the USB is physically loosing connection with the computer.
That is the USB stick or the USB port issue.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Cairn
Posts: 9
Joined: Wed Sep 01, 2021 1:54 pm

Solved: How to save settings on Live USB?

Post by Cairn »

Thanks for all of your help everybody !
What went wrong : I did the frugal install but forgot the boot install . :oops:
So could not boot from USB .
On the USB I only had :
adrv_fossapup64_9.5.sfs 239,2MB Squashfsfilesystem image
fdrv_fossapup64_9.5.sfs 42,2 MB Squashfsfilesystem image
initrd.gz 1,4 MB Archive
puppy_fossapup64_9.5.sfs 101,2 MB Squashfsfilesystem image
vmlinuz 6,6 MB Program
zdrv_fossapup64_9.5.sfs 28,8 MB Squashfsfilesystem image

and no boot folder
Now everything works perfect .Really worth the effort , love Puppy !

Post Reply

Return to “Beginners Help”