Deleting old sfs files
Deleting old sfs files
I have made two different Puppy CDs (different programs installed) from the same original Puppy-Lucid 520.
My problem is that when I boot from either disk, they always show the same programs in my main laptop, even though I know the contents of the CDs are different (when I try them in other laptops, they aren't the same).
I'm guessing that the pup startup files are stored on my hard drive and are confusing Puppy, overriding the programs it things are on the boot disk.
So how do I locate and delete the puppy-buffer? I've been looking for lupup stuff on my hard drive and can't find anything. I think puppy might have put it in /dev/sda5 which is a swap partition (I normally use Ubuntu) and I can't seem to get in there.
My problem is that when I boot from either disk, they always show the same programs in my main laptop, even though I know the contents of the CDs are different (when I try them in other laptops, they aren't the same).
I'm guessing that the pup startup files are stored on my hard drive and are confusing Puppy, overriding the programs it things are on the boot disk.
So how do I locate and delete the puppy-buffer? I've been looking for lupup stuff on my hard drive and can't find anything. I think puppy might have put it in /dev/sda5 which is a swap partition (I normally use Ubuntu) and I can't seem to get in there.
Re: Deleting old sfs files
You re-mastered your installation? wow!Lancer wrote:I have made two different Puppy CDs (different programs installed) from the same original Puppy-Lucid 520.
Are you looking for .2sf or .sfs files?
Go to the command line, MENU >Utility >rxvt or similar, and to find the pathnames fo those pesky files, type:
find / -name '*.sfs'
(that's an asterisk dot sfs)
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Lancer,
Start with the beginning.
How did you create those CD's?
Please provide the detailed steps you took.
Start with the beginning.
How did you create those CD's?
Please provide the detailed steps you took.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
I think I more or less solved the problem now (see end) though why it works quite like it is, is still a mystery.
To make the CDs / USBs....
First, I made a bootable USB from the options within Puppy; USB flash creator. This worked and I had a bootable USB.
This enabled me to install various programs etc and get the USB flash drive to how I wanted puppy to look.
Then, booting from the USB itself I used the "remaster CD" program. to bake the current setup as a new ISO image on /dev/sda1 (my actual hard drive) as an ISO (did not burn a CD at this point). During this process, I added the directory /root/.pwidgets to the temporary setup because I realised that this file was typically forgotten by puppy and without it, changing desktop wallpaper (Nathan changer) was problematic. The remaster CD program asked for an original CD when I did this, although someone in the pigdin chat program assured me it wouldn't cause me to have an old image.
Now - the ISO image for a CD it made is correct. I have no problem booting from it in a new machine and seeing all my new programs. It's only when I boot from the machine which was used to create my images that I seem to see all the older programs (which aren't even on the CD anymore!).
Anyway - I found, sort of, what's happening. Because I'd used this laptop to make the CDs as ISOs, the result was some puppy_build folders on the /dev/sda drive which themselves contained lupu_520.sfs files. For some reason, when I boot from the CD, it seems to detect the presence of these folders and adopts their content (an older setup). What puzzles me now is why it would do this, even if I tell puppy to boot with the boot: puppy pfix=ram option.
After moving the build folders into other folders, booting from a CD takes longer and does load up with the correct files (the ones from the CD) in this machine.
To make the CDs / USBs....
First, I made a bootable USB from the options within Puppy; USB flash creator. This worked and I had a bootable USB.
This enabled me to install various programs etc and get the USB flash drive to how I wanted puppy to look.
Then, booting from the USB itself I used the "remaster CD" program. to bake the current setup as a new ISO image on /dev/sda1 (my actual hard drive) as an ISO (did not burn a CD at this point). During this process, I added the directory /root/.pwidgets to the temporary setup because I realised that this file was typically forgotten by puppy and without it, changing desktop wallpaper (Nathan changer) was problematic. The remaster CD program asked for an original CD when I did this, although someone in the pigdin chat program assured me it wouldn't cause me to have an old image.
Now - the ISO image for a CD it made is correct. I have no problem booting from it in a new machine and seeing all my new programs. It's only when I boot from the machine which was used to create my images that I seem to see all the older programs (which aren't even on the CD anymore!).
Anyway - I found, sort of, what's happening. Because I'd used this laptop to make the CDs as ISOs, the result was some puppy_build folders on the /dev/sda drive which themselves contained lupu_520.sfs files. For some reason, when I boot from the CD, it seems to detect the presence of these folders and adopts their content (an older setup). What puzzles me now is why it would do this, even if I tell puppy to boot with the boot: puppy pfix=ram option.
After moving the build folders into other folders, booting from a CD takes longer and does load up with the correct files (the ones from the CD) in this machine.
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
The CD boot works that way.
In order to speed up booting it looks for lupxxx.sfs files and load them from HDD instead of CD.
So, delete them or rename them and see if the CD boots correctly now.
In order to speed up booting it looks for lupxxx.sfs files and load them from HDD instead of CD.
So, delete them or rename them and see if the CD boots correctly now.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
What in your mind is a jpeps's option?
I am several years in puppy now and never heard about it.
I am several years in puppy now and never heard about it.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Beem:Béèm wrote:What in your mind is a jpeps's option?
I am several years in puppy now and never heard about it.
Quote/
jpeps
Joined: 31 May 2008
Posts: 692
EndQuote/
Puppy Linux is more fun than a barrel of M$ monkeys :P
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
Lancer refer to this post above.
http://www.murga-linux.com/puppy/viewto ... 687#513687
Hahah glene77is beat me to it.
http://www.murga-linux.com/puppy/viewto ... 687#513687
Hahah glene77is beat me to it.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
nooby wrote: Lancer refer to this post above.
http://www.murga-linux.com/puppy/viewto ... 687#513687
Hahah glene77is beat me to it.
#################
Nooby from Sweden:
I am very happy to see that you have continued to be part of the Puppy Group.
When I first saw your early postings in the forum,
I was fearful that you would become discouraged, and go away.
You were shooting for results and solutions everywhere,
like shooting at a rat in the dark forrest, HaHa
Stay in the forums, continue to help the Puppy-itos,
and you will learn to stay focused on one topic all the way to the end,
and then you will see the solution.
I frequently have three questions,
but I must focus on one question at a time.
Otherwise, this old man will wander around
still looking for the sunshine.
I like the Puppy distro very much,
because of the Squash File System,
and the compact code system.
But,
I still cannot find my way around the subdir system.
Maybe I need a 'road-map' into the garden,
so I can see more than just the first bushes in the garden.
Buena suerta,
Puppy Linux is more fun than a barrel of M$ monkeys :P
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
OK realize now it is a user's name.glene77is wrote:Beem:Béèm wrote:What in your mind is a jpeps's option?
I am several years in puppy now and never heard about it.
Quote/
jpeps
Joined: 31 May 2008
Posts: 692
EndQuote/
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Sorry about the confusion of your name.jpeps wrote:I think it needs to be "puppy pfix=ram"Lancer wrote:Yes, I can see that. I don't know why jpeps's pfix=ram option didn't work though.
pfix=ram is used when booting is done from grub.
puppy pfix=ram when booting from CD.
Last edited by Béèm on Sat 16 Apr 2011, 18:54, edited 1 time in total.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Yes, sorry for the name confusion; I was referring to when jpeps mentioned the boot options earlier on in this thread. The problem is now solved (by removing the build directories) but I was curious as to why jpeps's option didn't seem to work, as it does seem to be right on the ball. I was indeed using puppy pfix=ram (did not miss the puppy at the start as I saw this in the F2/F2 bootup help) in order to boot the CD, but there was no difference.
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Yes Lancer, that's what I advised you
I explained also that pfix=ram or puppy pfix=ram doesn't prevent a puppyxxx.sfs from being loaded from HDD.
So that's why jpepps's advice didn't work.
I explained also that pfix=ram or puppy pfix=ram doesn't prevent a puppyxxx.sfs from being loaded from HDD.
So that's why jpepps's advice didn't work.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
(puppy) pfix=ram only prevents a save file to be loaded.
The base sfs is always loaded from HDD if one is there before looking elsewhere.
The base sfs is always loaded from HDD if one is there before looking elsewhere.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch