PuppyThis forum is for the discussion of Puppy Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been running Puppy since the 1.x series. I install to the hard drive using something like the "poorman's install" by mounting the iso, copying pup_XXX.sfs and zdrv_XXX to the root of a previously formatted partition and copying vmlinuz, isolinux.* and initrd.gz to an appropriate sub-directory. Then I add a file called
PUPIDE
to the root of the partition so Puppy will know to boot from the hard drive.
Finally, I add an entry to grub like this:
title Puppy 4.0 with pmedia=idehd
rootnoverify (hd0,6)
kernel /puppy40/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /puppy40/initrd.gz
This has worked well for several generations of Puppy. When I have installed a new version of Puppy to a partition where I had a previous version, it has picked up my save file. When I have installed to a new partition, it has queried me on the first shut down to create a save file.
Until Puppy 4.0. When I shutdown or reboot, it does not ask me to create a save file and then, understandably, reports Session Not Saved upon exiting.
Given how I have installed, is there something I need to do to trigger the save dialog?
Various forums have mentioned an explicit save icon on the desktop. I examined the desktop and spelunked the menus but haven't seen such an option.
I completely reformatted the disk before installing Puppy (and some other things) so I do not have an old save file to drop into the partition.
I just booted Puppy 4.0 a while ago and I got the prompt for a save file. Have you tried booting with puppy pfix=ram to see if you get the save prompt then?
I tried using pfix=ram but still did not get a prompt to save the session. I located an old pup_save.3fs from a Puppy 1.09 installation and tested putting it in various of my 5 partitions to no avail. I tried using a PHOME kernel option as I believe was needed in Puppy 1.x days, again without success.
I looked at different commands available from the command line, e.g., save2image, but none seemed applicable. Does anyone know the script for getting puppy to save the session? (savesession-dvd would save it to the wrong place.)
Did you type puppy pfix=ram (the "puppy" is important)? If not, give it another whirl.
I thought before that you might not have been being prompted because it was picking up another save file (ie it thought it was working with a save file) but you say it says that it's not saving the session, so that may not be what's happening.
You don't need isolinux on your hard drive, just the other 4 files.
Also "root=/dev/ram0" is an old thing and doesn't apply to the newer puppies. (But I don't know if either of those things is significant to what's happening).
Rather than putting old pup save files in, I'd be inclined to delete or rename any on you drive, just in case it is "getting confused" in some way. Otherwise, I'm clueless
Last edited by Honeysuckle; 05-20-2008 at 12:58 PM.
Reason: grammar/punctuation
I'm so sorry - I wasn't clear. Yes, try booting from the cd (you might not even need puppy pfix=ram, try it without first). If you don't get the prompt, then type puppy pfix=ram when it stops and says "boot" (ie when you are booting your cd, not booting from the hard drive).
I have been running Puppy since the 1.x series. I install to the hard drive using something like the "poorman's install" by mounting the iso, copying pup_XXX.sfs and zdrv_XXX to the root of a previously formatted partition and copying vmlinuz, isolinux.* and initrd.gz to an appropriate sub-directory. Then I add a file called
PUPIDE
to the root of the partition so Puppy will know to boot from the hard drive.
Finally, I add an entry to grub like this:
title Puppy 4.0 with pmedia=idehd
rootnoverify (hd0,6)
kernel /puppy40/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /puppy40/initrd.gz
Delete root=/dev/ram0 and add psubdir=puppy40 in the kernel line. The changed line will become:
Hi, I have pretty much the same unexpected behaviour as the one yosaba's reporting.
The issue is identical on my desktop pc, whereas on my laptop all goes well. I am suspecting that this is a pata vs. sata issue.
I mean, my desktop has older IDE (PATA) hard drives, while the laptop has everything SATA. That's what comes to my mind.
I can't remember if the problem reproduces itself with the experimental 6.25 kernel or not.
Anyway, the "bug" triggers, just when you boot from a frugal install on HD, whereas booting orthodoxly from the CD gives no trouble.
Is there an alternate way of preentively make puppy save changes on pup_save.2fs PRIOR system shutdown?
It seems it doesn't suffice to create a formatted ext2 image file and naming it following the scheme.
One should dig into puppy shutdown scripts to see how it structures pup_save files.
Does anyone know the script for getting puppy to save the session? (savesession-dvd would save it to the wrong place.)
The script for getting puppy to save the session is "/etc/rc.d/rc.shutdown"
Puppy 4.00 will not save session (with frugall install). I "trick it" in this manner:
0. Use the "rc.shutdown" of Puppy 3.01 (extract/copy from Puppy 3.01)
1. Before shutdown (in the first time of running Puppy 4.00), copy the rc.shutdown of Puppy 3.01 in to /etc/rc.d (Override the rc.shutdown of Puppy 4.00)
3. Now shutdown or restart Puppy. You will be prompted to save "pup_save.2fs"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.