I simply do not understand how Puppy OS can be running from my internal drive when I boot from the CD and choose the copy to ram option. As I said before, this can only be due to a programming error on the CD.
Can anyone explain this?
I do not know what how Puppy OS can be running from my internal drive
means.
Puppy creates a tmpfs file system in ram.
copy to ram option
means copy the Puppy sfs files to the tmpfs file system that is in ram.
copy the sfs files to ram
is the default way that Puppy works, if you have enough space in the tmpfs file system. If you do not have enough space, then Puppy does not copy the sfs files to ram.
Either way, the sfs files are mounted and become part of the layered file system.
A save file is an ordinary file, like any other file that can be copied or moved or deleted or edited or zipped etc etc. The data in a save file is not compressed, it is byte for byte identical to the data in a hard drive partition.
A save file is not an sfs file. It will typically have a file name extension 2fs or 4fs or 4fs.
My BionicPup64 has 3 sfs files copied to the tmpfs file system, in ram.
Code: Select all
ll /initrd/mnt/tmpfs/*sfs
-rwxrwxrwx 1 128M Feb 2 2022 /initrd/mnt/tmpfs/adrv_bionicpup64_8.0.sfs
-rwxrwxrwx 1 279M Apr 26 2019 /initrd/mnt/tmpfs/puppy_bionicpup64_8.0.sfs
-rwxrwxrwx 1 57M Apr 26 2019 /initrd/mnt/tmpfs/zdrv_bionicpup64_8.0.sfs
The normal way the Puppy works:
1) boot your machine, choosing to boot the Puppy CD.
Normally Puppy will copy the sfs files to the tmpfs in ram,
so you can take the cd out and use the cd drive for other purposes.
If you do not have enough space in the fie system in ram, it will mount the sfs files where they are, on the cd. which means you can not take the cg out and use the drive for other purposes.
If the sfs files are on the hard drive, it will copy the files from there, then unmount the hard drive.
If the sfs files are only on the cd, it will copy the
If you do not have any Puppy sfs files on the hard drive it will copy the sfs files from the cd to the ram fs.
Some Pups offer to cop the sfs files to the hard drive. Or maybe it will do that automatically. I do not remember exactly.
2) It will mount the sfs files and the save file and make a layered file system. with the writable file system in the save file on top of the layered fs. Like this:
save.3fs
pup.sfs
3) When you shut down, If you do not have a save file, Puppy will ask if you want to create a save file.
All the changes you that were made to the system will be copied from the ram file system to the save file.
When you boot the next time, Puppy will find and mount the save file, with all your changes.
Of course, if you choose the boot loader option to boot not using the save file (pfix=ram), It will boot without any of your changes.
That is:
1) the first time you boot when Puppy shuts down (reboot or poweroff) create a save file.
2) then every time you boot Puppy, it will automatically find and use the save file.
how can settings be saved when booting from a CD and copying to RAM?
copying to RAM
has nothing to do with a save file. It allows you to take out the cd and use the cd drive.
How can settings be saved when booting from a CD
The first time you boot, create a save file. You only do this once.
Every other time you boot, your changes are in the save file
If you boot without a save file (pfix=ram) your changes will be gone, until you boot using the save file again.
That is, choose the boot loader's boot normally option.
Shut down, and make a save file.
Then every time you boot Puppy, choose the normal boot option and the save file will be mounted with all your changes in it.
That is, normally you always boot choosing the normal boot option.
Do not use the boot in ram option if you want to have your changes.
A typical cd boot loader should have the option pmedia=cd
which should tell Puppy to search everywhere for the save file.