Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 08:26
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HOWTO stop puppy from saving when shutting down.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Author Message
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 24 Apr 2011, 13:13    Post subject:  

Seaside that looks interesting yes. Sure I should try it.
I did test in snowpup5 that is a lupu511 named 513 and that one succeed when I corrected a spelling error that I typically made pmedia=ideflash

I added the puppy pupmode=13 on kernel line and it has now a red save button.
cat /etc/rc.d/PUPSTATE
says that I have 13 too.

Does that mean it has not 30 minutes but 0 in there where ever that where placed?

So now I have forgotten why we did all this. Okay so one can screw up an install and just reboot and the screw up is gone?
I am in snow5 and will install your SFS-Exec again.


Problems abound. I can not make the savfile a zl file due to snow already have a zl513357.sfs file for drivers.
So maybe I need to go to snow15 instead that one has no such zl drivers file.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 888

PostPosted: Sun 24 Apr 2011, 15:38    Post subject:  

nooby wrote:
Seaside that looks interesting yes. Sure I should try it.
I did test in snowpup5 that is a lupu511 named 513 and that one succeed when I corrected a spelling error that I typically made pmedia=ideflash

I added the puppy pupmode=13 on kernel line and it has now a red save button.


Nooby,

From my understanding of the boot initrd file coding, just adding pmedia=ideflash should set the puppy search for pup media files to look only at internal disks and then after it finds puppy files, the parameter of "pmedia=ideflash" defaults to "pupmode=13".

You can easily check, after booting, by typing in a terminal
"df" and see if it shows something like this-
Code:
/dev/loop1               51727     27268     24459  53% /initrd/pup_ro1

which means the pupsave file is mounted on /initrd/pup_ro1 instead of "/initrd/pup_rw".

Great progress and now you perhaps can use the "SFS-Exec-pupsave" successfully Smile

Regards,
s
(Some pups use a zdrive file for other purposes, so probably best to not use the zdrive method and just have a "locked" savefile of pupmode=13 which should work for all versions)
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 24 Apr 2011, 16:04    Post subject:  

So I should take away the pupmode=13 then and test as you described.

Okay.

the SFS-Exec-pupsave how is that one different from the save there is there now then? I've already forgot. Okay I should read the original thread.

df gave this sh-4.1# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 231506208 141588184 89918024 62% /initrd/mnt/dev_save
/dev/loop1 516040 56084 459956 11% /initrd/pup_ro1
tmpfs 512488 3392 509096 1% /initrd/pup_rw
/dev/loop0 234112 234112 0 100% /initrd/pup_ro2
unionfs 512488 3392 509096 1% /
shmfs 238716 12 238704 1% /dev/shm
sh-4.1#

"SFS-Exec-pupsave" did not work, I even restared x and nothing show up. Should it not have even two save buttons as I remember.

I edit out the pupmode=13 now and see what gives

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 888

PostPosted: Sun 24 Apr 2011, 16:19    Post subject:  

nooby wrote:
So I should take away the pupmode=13 then and test as you described.

Yes

the SFS-Exec-pupsave how is that one different from the save there is there now then? I've already forgot. Okay I should read the original thread.

The save icon that appears after boot is the original that does a simple save to the pupsave file. (You should remove this if you install "SFS-Exec-pupsave".)

When "SFS-Exec-pupsave" is installed, it creates it's own icon and script to "unlock", save, and "lock" the pupsave file.

Regards,
s

Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 24 Apr 2011, 17:21    Post subject:  

Unfortunately this did not happen
When "SFS-Exec-pupsave" is installed, it creates it's own icon and script to "unlock", save, and "lock" the pupsave file.

and also I lost symlinks to a lot of files I usually have on desktop and it acted strangely so I gave up on it for today. I maybe test Quirky 142 tomorrow but not on snow 15 anymore.

Late at night here so I turn in now will go buy shoes for the summer tomorrow Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 24 Apr 2011, 17:57    Post subject:  

Quirky 142 are different. Despite me had both pmedia=ideflash and pupmode=13 it stayed in pupmode 5 and refused to get into mode 13

now to bed

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 888

PostPosted: Sun 24 Apr 2011, 19:03    Post subject:  

nooby wrote:
Quirky 142 are different. Despite me had both pmedia=ideflash and pupmode=13 it stayed in pupmode 5 and refused to get into mode 13

now to bed


Nooby,

Great work you've done here.

So as I understand, you found that (except for Quirky 142), a frugal install to a harddisk will boot puppy to pupmode=13 and
Code:
/dev/loop1               51727     27268     24459  53% /initrd/pup_ro1

using "pmedia=ideflash" only (I don't think puppy accepts "pupmodes" as boot parameters)

A very fruitful day Smile

Regards,
s
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2747
Location: New Zealand

PostPosted: Sat 24 Nov 2012, 03:57    Post subject:  

Hi bilko,
I just wanted to advise that your method works perfectly on ThinSlacko 5.3.3t. I have been trialling all the other methods I could find on the forum and had many different versions of x hangs or system hangs during shutdown, however your simple script kills everything real quick and clean.

I seem to get no error messages during boot, so I am very pleased about that. I do have pfix=fsck in the boot config just in case anything odd happens, but all good so far. Real timesaver.

On this particular usb stick frugal installation I have not disabled the default periodic pupsave, so normal usage is captured eventually, However, if I accidentally make some system change that I regret, or just need to shutdown in a hurry and pack up, your script works perfectly. Thanks!
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2747
Location: New Zealand

PostPosted: Sun 25 Nov 2012, 14:20    Post subject: Re: HOWTO stop puppy from saving when shutting down.
Subject description: The most simple method. (with puppy booting from USB)
 

bilko1808 wrote:
Right click poweroff file >>> Set Icon, get a suitable Icon for it.
Drag it to your desktop to create a link to it.

I love this "urgent shutdown" function so much I even made my own icon for it. I'm sure there are others with better icon-making skills than me, but hey, this is my best work so far...
Smile
I chose this icon to remind me that actions like urgent shutdowns carry an element of risk.
But, so far so good...

(except that it turns out that the icon isn't much use on a dark coloured desktop)
PowerdownSkull48.png
 Description   
 Filesize   357 Bytes
 Viewed   609 Time(s)

PowerdownSkull48.png

Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3452
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 11 Dec 2012, 11:14    Post subject: This pet give choice save or no save at shutdown
Subject description: Now being included in PPM
 

http://www.murga-linux.com/puppy/viewtopic.php?search_id=780272280&t=78055

Rgds.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0745s ][ Queries: 13 (0.0049s) ][ GZIP on ]