How to indicate to Puppy where you want your savefolder to be located.

Moderator: Forum moderators

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

This information is about frugal installs using savefolders or savefiles, based on the current woof-ce.
For older Puppies, ignore all the SAVESPEC stuff.

In this, when I refer to a "savefolder", it could also be a "savefile".

1. Do nothing.

The default location for any savefolder is in the install directory, i.e. where your Puppy...sfs is stored.

********** Using text files **********

2. SAVEMARK

Create a text file called SAVEMARK in the install directory, that contains just a number.
This is the partition number for storing a savefolder, on the same drive as the install directory.
e.g. Puppy is installed on sda2 in '/pups/fossa64'. If the file '/pups/fossa64/SAVEMARK contains just the single character '4',
then Puppy will expect the savefolder to be on sda4 in '/pups/fossa64/fossapup64save'.
Note that the sub-directory is the same for both the install location and the save location.

3. SAVESPEC

Create a text file called SAVESPEC in the install directory, that contains information to define a save location.
A typical SAVESPEC file looks like this:

Code: Select all

SS_ID='Wone'
SS_DIR='/pups/fossa64'
SS_MEDIA=atahd

Where "SS_ID" is the Volume Label or UUID of the partition,
"SS_DIR" is the sub-directory,
"SS_MEDIA" is the PMEDIA spec of the save drive, to overwrite the PMEDIA spec in Puppy that relates to the install drive.
So Puppy will expect to find a savefolder in the '/pups/fossa64' sub-directory on the partition with the Volume Label "Wone",
and PMEDIA will be set to "atahd", no matter how Puppy was booted.

The advantage of a SAVESPEC file is that it can reference anywhere on the system, even on a USB disk.
If you specify a USB disk and it is not inserted at boot time, Puppy will do a first-boot, since it can't find any savefolder.

A utility called 'mk-savespec' that generates a SAVESPEC file for a selected directory, is made available in viewtopic.php?f=66&t=1371.
It can be downloaded from http://www.mediafire.com/folder/ufo1lerdg73j0/savespec.

On first-shutdown a SAVESPEC file might be written if non-default options are selected, so that 'init' can deliver what 'shutdownconfig' promises.

********** Using boot parameters **********

Boot parameters are part of each Puppies bootloader entry, in the config file for the bootloader, on the line that usually starts with "linux" or "kernel".
(Or they can be manually entered during the boot, via the keyboard.)

4. psavemark=<partition-number>

Using the SAVEMARK example above, the save partition could have been specified with a boot parameter, "psavemark=4", instead.

5. psave=<partition>:<sub-directory>/<filename>

This has the advantage that it can specify a savefolder as being anywhere in the system.

Usually only a <partition> and a <sub-directory>, are specified for a save location, but the format is designed to possibly include a <filename>.
So to emulate the SAVESPEC example above, it would be necessary to specify "psave=Wone:/pups/fossa64/" as a boot parameter.
If the trailing "/" is omitted, then this would be interpreted as a savefolder called 'fossa64' in the '/pups' sub-directory,
instead of a savefolder called 'fossapup64save' in the '/pups/fossa64' sub-directory.

***************IMPORTANT EDIT******************
If "psave=Wone:/fossapup64save" is specified, the "fossapup64save" bit corresponds to the <filename> part of the format,
just like "fossapup64save.4fs" would be, not the <sub-directory>. And "psave=Wone:/" should produce the same result,
since the 'init' script already knows the default name for any savefolder.
**************************************************

The example shows "Wone", a Volume Label, but it could also be the UUID of the partition.

Note:
Since a SAVESPEC file might be written automatically during 'first-shutdown', 'init' gives it precedence.

Advertisement:
Of course, if you use an install utility like FrugalPup, all this can be taken care of, for you.
viewtopic.php?f=105&t=337

Last edited by gyrog on Sun Apr 11, 2021 4:40 pm, edited 1 time in total.
Clarity
Posts: 3822
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 520 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by Clarity »

Thank you for this excellent description for PUP's boot use.

I dont do Frugals since 2020+ PUPs; rather I boot their ISOs. But I assume the information is also applicable for ISO boots as well.

I have use "psave" continuously ... even on pristine boots as the system will save the session to the folder identified by psave.

I have known about couple of the other options, 2 are new to me. I will try their use, time-permiting.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

Clarity wrote: Sat Apr 10, 2021 3:39 am

Thank you for this excellent description for PUP's boot use.

Thanks.

Clarity wrote: Sat Apr 10, 2021 3:39 am

But I assume the information is also applicable for ISO boots as well.

Yes, they apply to all woof-ce Puppy Linux installs that use the normal 'init' script in 'initrd.gz'.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

No, this topic is not supposed to contain any information about WeeDogLinux.
It's about only woof-ce generated Puppy Linux.

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

gyrog wrote: Sat Apr 10, 2021 7:30 am

No, this topic is not supposed to contain any information about WeeDogLinux.
It's about only woof-ce generated Puppy Linux.

Really. A matter of opinion. A thread is a topic that evokes related responses.

It makes sense, in my opinion, to group related-information together when easy to do so since, when thus so easily achievable, it makes all such forum-distro-related information collectable in one simple HowTo thread (nice to see on simple thread covering all such for DebianDogs, FatDog, and CorePup too). However, since you are so P-centric fussy, I will delete my related post and provide it in duplicate HowTo despite my feeling that that duplication is stupid, divisive, and inefficient in terms of overall forum distro discussion, collaboration, and understanding.

Refer here for similar WeeDogLinux howto information: viewtopic.php?p=22406#p22406

I guess you are concerned about comparative facilities Puppy has on offer via its rather huge and hugely complex initrd/init. Oh well, cherry-pick with acknowledgments should help you (well... maybe not - hacking in extra code into that init, without complete redesign, inevitably creates a dense jungle as P attempts to allow uncompressed filesystem layers has relatively recently demonstrated), since an actual collaborative attitude is plainly lacking on your part. But just my observed opinion - you are welcome to your dubious distro-style apartheid (“apartness” in the language of Afrikaans).

EDIT: However, in these circumstances, I therefore implore this forum creator/manager to address the inequitable organisation of distro discussion space, and less than incentive for forum member collaboration, that is obviously still being pursued and emphasised by some via such ridiculous divisive attitudes. Such attitudes should not be encouraged. Certainly that is a problem - the time already involved maintaining this forum is evidently huge and painful - hence the selfishness of those who resist to share. There was no confusion caused by a separate post which clearly identified it concerned WeeDogLinux similar configuration details, which everyone on here knows is not a woof-CE generated distro or indeed a P derivative at all. Certainly, a more generic HowTo subject to the thread would be a great improvement for that overall and collaborative, shared understanding all in one place. Sad really, that in this day and age, divisive politics are self-evident in even a shared forum such as this one, when the advantage of mutual and shared collaboration (without theft/lack of credit/acknowledgment to source ideas) should be self-evident.

wiak

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by keniv »

@gyrog
I'd just like to thank you for this very useful and concise "how to" on the use save folders in woof-CE pups. In posts in other threads I have raised the issue of save folders having been made at first shutdown not been found on reboot. I've had help with this from other forum members which have provided solutions, however, I've not seen a list of different methods with examples which, as a non-expert, I've been able to follow. I find it useful that this just deals with woof-CE pups in that it limits the complexity of the content. All my installs are manual frugal installs and I use grub4dos. I have a copy of BusterDog so I realise finding the save folder requires a boot script entry. I required help to set this up at first which I got from the BusterDog thread. Again I found it easier to be dealing with just BusterDog alone when trying to get a BusterDog save folder to work. As a non-expert I have given up on trying one pup because of issues with the save folder not being detected at reboot (though I did have other issues as well). I have also considered going back to using save files as when I used these they gave very little if any trouble the only drawback being that they sometimes had to be resized. I think if newer woof-CE pups are to be accessible to the non-expert user then getting save folders to work constantly is important and I think this "how to" is a big help in this respect.

Regards,

Ken.

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

keniv wrote: Sat Apr 10, 2021 1:18 pm

I find it useful that this just deals with woof-CE pups in that it limits the complexity of the content

So you should be happy that I've moved similar instructions for WeeDogLinux to a separate thread (except I'm hoping other distro devs, such as for BusterDog and so on) can add similar details on same thread (in which case I'll make the topic heading more generic). Since you have been using Puppy since the old days its surprising you don't know the boot options yet, but it is nice to hear you like some of the non-woof-ce DebianDogs. Not that I imagine that 'gyrog' would agree with you that BusterDog is preferable compared to "some of the 64 bit pups [which] are more for the expert and less for someone who would class themselves as a user". I'm admittedly much biased in my positive opinion of the DebianDogs also, having given up Puppy for DD back in 2013 and I helped implement a (very) few system-level bits and pieces of the original DDs, which are still part of that BusterDog system you have been enjoying. Anyway, you are clearly a gentleman, and Scottish too, but maybe from a different clan than myself, and each to their own as we say.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

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

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by bigpup »

This is the problem, I have always understood will happen. :thumbdown:
If this Puppy Linux forum, has sections talking about other Linux operating systems, that are not full Woof-CE built.
Any information provided on how to do something, is going to constantly run into, it does not work, in this Linux OS, that is on this forum.

I guess humans need warning statements, that this is only for Woof-CE built Puppy Linux OS's, only!!!
Then you will have to tell them what those OS's are that do not work or which ones are specific Woof=CE built Puppy Linux OS's. :cry:

The forum confusion is alive a well! :thumbdown: :roll: :evil:

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
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

bigpup wrote: Sat Apr 10, 2021 3:09 pm

This is the problem, I have always understood will happen. :thumbdown:
If this Puppy Linux forum, has sections talking about other Linux operating systems, that are not full Woof-CE built.
...
:thumbdown: :roll: :evil:

That is good. Off topic: viewtopic.php?p=22435#p22435

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by keniv »

wiak wrote: Sat Apr 10, 2021 2:21 pm

So you should be happy that I've moved similar instructions for WeeDogLinux to a separate thread (except I'm hoping other distro devs, such as for BusterDog and so on) can add similar details on same thread

Yes I am happy that you've been good enough to do this. I also think that Board Index>House Training>Instructional HOW-TO Section>Install is a reasonably logical place for it to be.

Since you have been using Puppy since the old days its surprising you don't know the boot options yet

Well as I said I'm a non-expert in fact you used the word "user" and I have used that word to describe my abilities on the new/old forums before now. Also, until recently, I mainly used Lucid 5287 and Racy 551 both with save files so I did not need to know about save folders. I am only trying to move away from these now because of the issue of maintaining an upto date 32bit browser. Even when I first started to use DebianDog I used a 32 bit version and a save file. However resizing save files here became more problematical so I moved to a save folder.
There's a post on this thread
viewtopic.php?f=40&t=442&start=50
by forum member bigpup (second post down) outlining some of the changes that have taken place in terms of "saving". An ordinary user like myself cannot keep up with this stuff without some help from the more expert members on here.

Anyway, you are clearly a gentleman, and Scottish too, but maybe from a different clan

Yes, but I think as far as computing is concerned your clan is more knowledgeable than mine.

Regards,

Ken.

User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2743 times
Been thanked: 2619 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by rockedge »

@bigpup I take information from many forums and sources for fixes and solutions. I've used stuff meant for Windows to fix Puppy Linux for one thing or another. I've taken ideas from every distro source there is in Linux to put together my Puppy's that I sometimes build from Woof-CE and some Puppy's built with different methods.

For me I can glean exactly what I need to proceed from the oddest places. So far on this forum it is pretty clear what is what.

SO @bigpup you don't like the way I organized the forum or include other OS's?

I for one think they are all related as frugal install-able distros with similar concepts of persistence storage making them related.

Like my neighbor's Great Dane's live next door to another neighbor's really small dogs and me with my cats in the middle. All different all living on the same street.

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

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by bigpup »

SO @bigpup you don't like the way I organized the forum or include other OS's?

The forum is in general, very well setup, and much easier to use, than the old Puppy forum.

The issue for me is the confusion that some people have about finding info and where to post.

No problem if you want to offer sections about non-Official Puppy OS's.

But maybe the main tittle of the forum needs changed to:
Puppy Linux and other similar Puppy Like Linux Forum

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
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

@bigpup: WeeDogLinux is per design in no way Puppy Like (though it can be built so) aside from being 'equally' capable of frugal install configurations. But of course, live CD installations have been around since the days of Yddrasil Linux (1992), and frugal i guess from DemoLinux (1998), Knoppix and Vector linux (which I believe was the inspiration/repo-provider for the original Pups(?)).

Stop trying to make all of these alternative distros that are discussed on this forum somehow derived from Puppy, which some of them simply are not, and who should care about that one way or the other? They were simply created by members of the original murga forum, which was certainly created for Puppy use - but these alternatives did not exist back then. And the late John Murga stated something along the lines that he wanted his forum to be a very open forum (by all means, google that), and anyway, like it or not, that is how it turned out even prior to the appearance of the DebianDogs in 2013, which is a long time ago now. Why anyone not be happy to be part of a forum that helps to provide its users with additional choice and multiple alternatives, beats me; the offerings all take probably thousands of hours of work by their developers, all given free - wow, so terrible. I ask again, what really, when you consider these circumstances of what is being freely provided, is the benefit your presence itself is giving this forum. It's one thing to post lots of help for beginners and other Puppy users alike, but the trouble you are causing by making your Puppy-only demands is ridiculous in comparison to the efforts being put in by these (us) alternative distro developers. And regardless of feeling re: offtopic discussions, that kind of demand and clearly vocalised lack of other-distro respect is amongst the worst of times when it comes to what occurs on this forum - it is an attitude which causes far more damage and lack of cooperation than the positive of any amount of user help postings.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

Oh I did such a terrible thing mentioning WeeDogLinux distro boot codes in the forum's "House Training -> Instructional HOW-TO Section" to the extent that another forum admin (known to be Puppy-centric, which is fine in itself) thought himself so privileged that he moved my thread down to where he considered it belongs without even having the courtesy to discuss it with me in private first ... tut tut... such good team behaviour... But totally unacceptable and I will not stand for it.

Here is just a quick random list from more recent quarter of all the hundred's (maybe thousands) of posts in old forum section "House Training -> HOWTO ( Solutions )". Tons of other HowTo's in that location that were not distro specific at all (hence useful to all). I must be misunderstanding something and being so out-of-order not realising only woof-CE Puppy HowTo material was now acceptable - first I knew... The ultra small area reserved for release announement discussions by the other-than-Puppy-distros, which are every bit as important and valid as any Puppy, is simply never large enough to hold all documentation/relevant howto information as well... my goodness, the DogHouse is so generous in space acceptance/first page forum exposure anyway!!!

Fatdog64-600 Full Install Guide by jamesbond
How to install Puppy/Dog distros on a GPT hard drive system by mikeslr
How to Install Pip on TazPup by s243a
Turn Your DebianDog Into Devuan - a simple howto by anikin
HowTo dCoreDog: Puppified dCore-Xenial by wiak
[SOLVED] How to Install Lubuntu on Puppy Box by benali72
How to find faster debian mirrors by labbe5
Autoconnect Android USB Tethering with udev rule by drunkjedi
Combine Debs and Pets into One by slavvo67
Deleting / Creating User Accounts by labbe5
DebianDog HowTo thread by saintless
Thunar custom actions by labbe5
Use FFConvert with pAVrecord for finding record options by mcewanw
How to Fix Linux Problems by labbe5
how to fix time when dual booting Ubuntu and Windows by labbe5
Frugal Install w/ Grub4dos from a Linux Operating System by mikeslr
How Create DebianLive from netinstall including porteus-boot by fredx181
isohybrid-bios-uefi - one way by scsijon
How I fixed my Quirky Xerus 8.1.6 USB boot problem by Kafshiel
FatDog64 LUKS Encrypted - Thumb Boot NAS by jafadmin
How-to run Fatdog-64-700 in an Acer IconiaTab W500/W510 by 01micko
Gtkdialog tutorial for beginners by don570
Boot Debian Jessie using Slacko and grub4dos by gerry
HowTo get ALSA audio to work when default sound card is HDMI by mcewanw
How to reduce the size of Debian Live image by saintless
Create a Multi Grub4dos cd/dvd to boot multiple Puppys (and other distributions) by nic007
How I customized DebianDog64 by oui
Network Storage Appliance With DebianDog and OpenMediaVault by step
DebianDog wireless LAN HowTo by mcewanw
Install Android on your PC by rufwoof
Run Android-x86-4.2 safely on your PC by don570
How to root Android device using ADB by don570
How I installed Bitcoin-QT Wallet in Quirky by JaDy
How To Make A DebianDog-QuirkyTahr Multiboot USB Stick by step
Add USB boot to Grub4dos menu by cimmaron

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

Do not ever, please, move my posts without first having the courtesy to discuss your opinion with me in private or forget further contributions wherever or whatsoever, from me.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2743 times
Been thanked: 2619 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by rockedge »

@bigpup It is a space issue that has me hesitant to keep adding titles and descriptions.

I added more details, and then the complaints it was too long and pushed the home page to far down....I guess scrolling was the problem. Then I made the titles and sub titles shorter now I am supposed to add more to make it longer again?

I don't think many new users are getting confused. I can see many statistics..from the forum itself to every log the web server generates. I have access to 3 different SEO tools and 5 web analyzers telling me exactly who what where when and what pages and how long a user lingers on that page. All summed up in "Bounce Rates".

Interesting note: I found 24,000+ fake users and about 36,000 pure spam posts from those fake users so far on the murga forum. No one seems to have dealt with it for a long long time.

We will keep in mind if more detail needs to be added. If so we can add some text.

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

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by bigpup »

Sorry gyrog, we have high jacked this topic and turned it into something it is not :oops:

Thank you for this very informative information!!!

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

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by williams2 »

Vector linux (which I believe was the inspiration/repo-provider for the original Pups(?)

Since you ask, and because I have seen it written before and it is definitely not true. No, Vector Linux was not the inspiration for nor was Vector used to buld the original Pups.

Barry has said on the forums a number of times that he used Red Hat to compile and assemble Puppy, at the begining.
Puppy was not a stripped don't version of Red Hat.
Puppy was not "based on" Red Hat.
Puppy was binary compatible with Red Hat.

Later, I believe Barry switched to Mandrake Linux.
So Puppy would have been binary compatible with Mandrake.

Some time later, someone mentioned that Vector Linux was similar in some ways to Puppy.
Barry saw that post, and had never heard of Vector Linux, but he was interested and installed Vector. He said on the forum something like, the Vector devs think the same way as he does. He floated the idea on the forum of switching to Vector to compile for Puppy, but I think there was some push back from people who thought they would have to install Vector to use Puppy. I think soon after that Puppy was able to compile for itself. That would have been after Puppy started using UnionFS for a layered file system. Until then, /usr. /bin. /sbin etc etc etc were read only.

User avatar
fredx181
Posts: 3053
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 371 times
Been thanked: 1298 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by fredx181 »

@wiak
I cannot understand why you posted (in the first place) info about WeeDog in someone else's thread that clearly says "Puppy" in the title.
Now we have the luxury of a separate section in the forum (Dog House) it's much more suitable to post there about any other distro than Puppy.

Also, probably it's very easy to add a 'How-to' subforum in 'Dog House' by asking rockedge, which wasn't possible on the old murga-linux forum.

Just my 2 cents. (I didn't read all of the discussion, so excuse me if I missed something important)

Fred

User avatar
wiak
Posts: 4079
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1206 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by wiak »

fredx181 wrote: Sun Apr 11, 2021 9:35 am

@wiak
I cannot understand why you posted (in the first place) info about WeeDog in someone else's thread that clearly says "Puppy" in the title.
Now we have the luxury of a separate section in the forum (Dog House) it's much more suitable to post there about any other distro than Puppy.

Also, probably it's very easy to add a 'How-to' subforum in 'Dog House' by asking rockedge, which wasn't possible on the old murga-linux forum.

That's your opinion, which is fine for you, but it is not mine. House training includes the members of the 'House' so whilst it is debatable whether I should or should not post related WDL info in a related thread whose first post was howto about Puppy boot parameters (and that is not something you can unilateraly decide either), there was nothing unusual in thereafter personally moving my post alone under generic House Training. Fact is there was no confusion between the two posts and neither begged further discussion - one post howto each but I had already obliged and moved my own post into its own thread.

The amount of space on the first page has to be limited to avoid scrolling and other issues which were not identified by me. WDL has no design relation to the DebianDogs anyway so whilst you are fine with a tiny section, that is not something I agree with - using a name Dog is irrelevant - just a play on words by everyone and not an indication of sameness. Main thing, however, is that no forum admin has a right to moderate any other forum admin without higher authority and behind the scenes discussion - whatever your differences of opinion are. That's all. I'm busy here just now.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

Clarity
Posts: 3822
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 520 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by Clarity »

@keniv, for me, I now use "psave=..." on EVERY ISO boot such that the system will save to my folder of choice. I use this, even the very first time, any ISO is booted to insure the system will save to the device/folder I want the session-save to be placed.

I imagine, since your question, that I could just use the device vs. device/folder to ID the device to control shutdown processing to insure that the psave device is selected; thus control the system ability to properly direct the save-session(s). Haven't tried to boot "psave=device-only", as yet, to force the device selection at shutdown. But, I would expect the same as it does for psave=device:/folder to direct save-session processing.

Hope this yield some thought to controlling save-session processing via this system boot option.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

Clarity wrote: Sun Apr 11, 2021 9:57 am

psave=device:/folder

Perhaps you meant:
psave=device:/folder/
The trailing / is quite significant for a "psave=" boot parameter.

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by keniv »

@Clarity
I have quite a simple system. One drive, two partitions, sda1 formatted ntfs and sda2 formatted ext3. My pups and busterdog are all manual frugal installs. The two older pups (Lucid 5287 and Racy 551) have save files. The rest have save folders all on sda2. However, they require two different access methods. Quickpup2101 32bit uses a SAVEMARK file with nothing added to the boot script and this works. With Slacko 7 64bit and Bionicpup 64bit I have to use

Code: Select all

psave=sda2:/slacko64save

and

Code: Select all

psave=sda2:/bionicpup64save

In all three of the above I allowed the save folder to be made at first shutdown. Bionicpup did make a SAVEMARK file which did not work hence the addition to the boot script. For me there's inconsistency in this stuff.
@gyrog

Perhaps you meant:
psave=device:/folder/
The trailing / is quite significant for a "psave=" boot parameter.

You'll see above that I haven't got the second back slash (/) after the name of the save folder yet this still works for me. Can you tell me why it's "quite significant". I'll try including it and see if it makes any difference.

Regards,

Ken.

Edit: Just tried adding a second back slash (/) to the Slacko boot script making it

Code: Select all

psave=sda2:/slacko64save/

When I rebooted the save folder was not found and it booted into a fresh copy of Slacko. On removing it and rebooting the save folder was loaded and Slacko was back to normal???

Clarity
Posts: 3822
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 520 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by Clarity »

@keniv correct me as I may be wrong, but for the 2 64bit PUPs you mention, does ONLY

Code: Select all

psave=sda2:/

allow the boot process to find those 2 folders you mention for each PUP on that PC?

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by keniv »

Clarity wrote: Sun Apr 11, 2021 3:14 pm

@keniv correct me as I may be wrong, but for the 2 64bit PUPs you mention, does ONLY

Code: Select all

psave=sda2:/

allow the boot process to find those 2 folders you mention for each PUP on that PC?

Yes the first two bits of code in my post is what I have to add to the boot script. The names are the names of the save folders which are on sda2 (ext3). This does work OK. For the 32 bit pup the SAVEMARK file works without any addition to the boot script.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

keniv wrote: Sun Apr 11, 2021 2:52 pm

You'll see above that I haven't got the second back slash (/) after the name of the save folder yet this still works for me. Can you tell me why it's "quite significant". I'll try including it and see if it makes any difference.

In my first post I explained about the format being "psave=<partition>:<sub-directory>/<filename>",
in that format "slacko64save" represents <filename> not <sub-directory>, and the same goes for "bionicpup64save".
So, when you added the trailing '/' the 'init' script looked for '/slacko64save/slacko64save' on "sda2"

So, I should have said is that maybe you meant:
psave=device:/filename

Remember this is Unix, everything is a file.
Yes, "slacko64save" is a savefolder, is a directory, but when discussing the format of the "psave=" boot parameter it is a filename, just like "slacko64save.4fs" is a filename.
NOTE: I've added an "EDIT" to the first post to try and clarify this issue.

keniv
Posts: 656
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 107 times
Been thanked: 67 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by keniv »

@gyrog
Thanks for the explanation which helps.

Regards,

Ken.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

keniv wrote: Sun Apr 11, 2021 5:13 pm

@gyrog
Thanks for the explanation which helps.

Regards,

Ken.

You're welcome.

Clarity
Posts: 3822
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 520 times

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by Clarity »

I had indicated, here, that I would try couple of the OP's options shown that had not been used by me before.

As you know, I ONLY do ISO boots via SG2D for ALL new PUPs & DOGs since Jan 2020. When the developers embraced GRUB2 & EFI to satisfy both BIOS & UEFI needs, they created a great method of our boot needs and management needs.

Today, for me, I keep ALL of PUP/DOG isos in a central folder (/BOOTISOS) and I keep ALL save sessions in a central folder (/SESSIONS). At boot time, the PUPs-DOGs are listed and which-ever I select at boot-time I edit the linux line to add save=.../SESSIONS to identify where sessions are to be found as well as where saves are to be placed in those pristine boot cases. I THANK PUP DEVELOPERS for paying attention to this parm for PUP boots. For me, this is extremely important as I know what to expect at each shutdown.

Since I do not do any frugal boots (not needed at all for ISO boot use), several of the OP's system variables do not apply. They ONLY apply to frugal use.

But the options added to the boot line at boot-time can and do apply. As indicated by the above mentioned post to this thread, I do use psave,continued I had not used psavemark, the other boot-time option.

'psavemark=..." works fine if I am keeping the save session on the same boot media where ISO is booting. But, it does not seem to help if the session is saved elsewhere on another media that the system has at boot time.

Thus, for ISO booting, the "best" solution for grabbing the save-session location is the "psave=...".

I like the OP's write-up (this thread) as it lays out clear options for consideration for both modern ISO booting as well as for Frugals.

Thanks...again

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: How to indicate to Puppy where you want your savefolder to be located.

Post by gyrog »

Clarity wrote: Wed Apr 14, 2021 12:36 am

Thus, for ISO booting, the "best" solution for grabbing the save-session location is the "psave=...".

Interesting, I would have thought that a SAVESPEC file in the same directory as the .iso's are stored, would be a simple solution.

With the code that's in woof-ce now, the very first time you do an isoboot, 'shutdownconfig' should offer many partitions for you to store your "save", and then store this selection in a SAVESPEC file in the directory that contained the .iso file.
Subsequent isoboot's should simply use the SAVESPEC file to define the save location, even if it's the first-boot for a new .iso file.

Edit: The current 'ScPup64-21.04+2-T.iso' contains the relevant code.

Post Reply

Return to “Install”