It took me ages to find a simple solution without being referred to posts many years old, not knowing if they work on the version that you have got, editing files etc.

This is for booting puppy from USB, until further tests are carried out not sure what effect it will have on other methods of running puppy.

If you don't want to save when you power down or reboot your system use the following.

I really hope I've made this simple enough for even beginners like me to understand what and how to do it.

Works for Puppy 5.2 and 5.2.5 (probably works for other versions but haven't test it)

POWEROFF

Navigate to a folder of your choice (I used "my-applications")
Create a new script (right click in blank space in folder, select New >> Script, name it poweroff)
Right click on your poweroff script >>> open as text

Click the SAVE bullseye now or you will lose the file/s you just made.

CREDITS

Thanks to MochiMoppel for the scripts. They were found at the end of a second page so I thought I would post them as a HOWTO so they should be found a lot easier.Last edited by bilko1808 on Thu 21 Apr 2011, 17:32; edited 4 times in total

I will have to test this out. It looks much simpler than editing the /etc/rc.d/rc.shutdown file.

(Referring to the rc.shutdown file.)
I comment out lines 628 - 732 in Lucid Puppy 5.2, and lines 630 - 735 in Lucid Puppy 5.2.5. As far as I can tell this keeps Puppy from saving on shutdown when your first boot. I think it should still save the Puppy Save file, if you already have a Puppy Save file.

Setting pmedia=usbflash does not work in the latest Puppy
versions I use -- Lighthouse 500-G, Quirky 1.4, Wary5.1.1

Puppy doesnt boot: can't find media -- it must be looking
for a USB something, because it spends some time looking.

I'm using Grub so I applied your suggestion in menu.lst and
tried all variations in syntax based on Grub's README,
For example, on kernel line using (hd0,1)/quirky140.

My method of setting PUPSTATE=5 described in my earlier post
has worked in Lighthouse, Quirky, and Wary for months for me.
It's easy although lacking the characteristic s-m-o-o-t-h,
elegance of Puppy operations. (link to that post by Sergey here
http://murga-linux.com/puppy/viewtopic.php?p=497931#497931 )

BTW, Wary 5.1.1 is very fast to reboot, which saved me
lots of time as I rebooted dozens of times for these
experiments.

Bilko I maybe found the source look here

http://www.murga-linux.com/puppy/viewtopic.php?p=497814#497814
or else use the search i nmy sig and put in from the hashed comments to find it
Edit forget about the link I gave to another thread. it is about SFS-exec and
I must have misunderstood the English of Jasper due to I am not a native user of the language.

Thanks Bilko, I am looking for a solution that works for frugal on HD NTFS at that but it is late at night now so I pull the plug for today. _________________I use Google Search on Puppy Forum
not an ideal solution thoughLast edited by nooby on Thu 21 Apr 2011, 17:28; edited 1 time in total

If you don't want to save when you power down or reboot your system use the following.

You've made it more complicated than it should be and also possibly harmful... shutting down involves more than just saving to the pup_save: there are services to shut down properly, some kernel modules to unload etc. and without some of those things some computers might hang.

I mentioned this on another thread a couple of months ago:
- edit /etc/rc.d/rc.shutdown, to comment out the relevant line where snapmergepuppy is run (you want the PUPMODE 13 case, but you could just as well comment out all the instances of snapmergepuppy)
- where you commented out snapmergepuppy, add a line:

this is needed so there won't be a problem with X starting at next boot.

This will completely disable saving at normal shutdown. If you want to give a dialog with an option to choose, just make it run snapmergepuppy if the user chose to save, then continue with the shutdown as usual..._________________What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Dougal but would that work for frugal install on HDD too?
One need to go into initrd.gz and change lines there so it accept to be pupmode 13?_________________I use Google Search on Puppy Forum
not an ideal solution though

Dougal but would that work for frugal install on HDD too?
One need to go into initrd.gz and change lines there so it accept to be pupmode 13?

I'm pretty sure I mention this in the post I linked above: adding pupmode=13 to the bootloader entry should solve that._________________What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Thanks Dougal. i totally failed when editing the rc.shutdown. among many of the pages i read one of them suggested it's a bad idea to alter system files such as rc.shutdown. i've run out of internet credit for now but will have a go at further research once i get some more.

But one sure way would be to do as Seaside does.
To first make a pupsave file with the prefrences one want and need and then change that one into a zq142332.sfs file and such get loaded at boot but they don't get written to. that way one keep the preferences but have no savefile to save to.

what can go wrong there? Maybe that it only works on ext3 or fat32 usb?
I don't remember but it is worth a try. having no pupsavefile would be rather safe from errors like installing apps that one later want to scrap and this way they don't add to a growing save file.

instead one learn to make sfs and can load then on the fly without rebooting. Very fast loading of such sfs files.

The only bad thing is that the bookmarks fails so one need to place them in the cloud or come up with them in html files that one load or something._________________I use Google Search on Puppy Forum
not an ideal solution though

But one sure way would be to do as Seaside does.
To first make a pupsave file with the prefrences one want and need and then change that one into a zq142332.sfs file and such get loaded at boot but they don't get written to. that way one keep the preferences but have no savefile to save to.

what can go wrong there? Maybe that it only works on ext3 or fat32 usb?
I don't remember but it is worth a try. having no pupsavefile would be rather safe from errors like installing apps that one later want to scrap and this way they don't add to a growing save file.

instead one learn to make sfs and can load then on the fly without rebooting. Very fast loading of such sfs files.

The only bad thing is that the bookmarks fails so one need to place them in the cloud or come up with them in html files that one load or something.

Nooby,

As you discovered, there are some limitations to using a zdrive sfs instead of a savefile.

I think you can make a harddisk frugal install that will create a "pupstate=13" by using "pmedia=ideflash". Pmedia=usbflash apparently limits the search to usb media only- resulting in puppy files not found.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum