LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   how to set the device from where puppy should load my saved session file ?? (https://www.linuxquestions.org/questions/puppy-71/how-to-set-the-device-from-where-puppy-should-load-my-saved-session-file-497223/)

alred 10-31-2006 09:58 AM

how to set the device from where puppy should load my saved session file ??
 
how to set the device(usb or hd) from where puppy should search for and eventually loads my saved session file during bootup ??


either through grub or isolinux.cfg or any other ways ...



//thanks ...

.

marksouth2000 10-31-2006 12:27 PM

Puppy should automatically scan for and find the pup_save.3fs file wherever it is when you boot up. If you want to choose between multiple pup_save files you can just give them different names, like pup_save.3fs, pup_save1.3fs ... pup_save9.3fs etc.

If Puppy is not finding your pup_save.3fs file then can you please tell us more about your system and setup?

Cheers,
Mark

alred 10-31-2006 08:39 PM

if there were cases where i got this kind of setup ::

let say there are saved sessions on hda1 through hda4 , but i want puppy to specifically load the session file on hda2 ...

and let say i got puppy_xxx.sfs on a usb disk and boot up puppy using this disk ...

what should i do ??


note :: i already got puppy up and running fine , just asking for some clues where i could use them in odd cases ...


.

marksouth2000 11-02-2006 05:52 AM

Alred, you haven't answered my question about what goes wrong when you try to do this, so anything I can say at this stage would be purest guesswork.

Does Puppy fail to find all your save files or does it give you a menu to choose which one you want to load? Please say what is not working?

alred 11-02-2006 06:54 AM

puppy is able to see all of my session files(either on usb or hd media) but it could only gives me a menu of multiple saved session files on whichever the first media it had scanned sucessfully for "pup_save*.3fs" ...

what i would like to ask is that , are there any way for me to specifically ask puppy only to scan for session files on a particular partition of any hd or usb media if there are session files on more than one media and partition ??

not that its usefull in any sense if i could do that , its just something that i stumbled upon a few days back when i was moving files among partitions and disks ...


any way to do that , like passing parameters during the bootup ??



//thanks for your help ...


.

marksouth2000 11-02-2006 09:44 AM

In Puppy 1.xx there was a pair of parameters that could be passed at boot, called PHOME and PFILE. See this thread in the main Puppy forum: http://www.murga.org/~puppy/viewtopic.php?t=1598

I'm honestly not sure whether these work in Puppy 2.xx, and I won't have a chance to test it for a day or so. You might want to read through that thread and search the other forum, as well as doing some tests yourself. If it doesn't work the way you need it to then it may be possible for Barry to add that function in a later version.

Cheers,
Mark

alred 11-02-2006 02:33 PM

with you suggestions about PHOME and PFILE and after i have a look at my PUPSTATE file , did some testing and found out that these parameters work ::

PUPSAVE=ext3,hdf3,/pup_save-hdf3-211.3fs

and

PUPSAVE=ext3,hdf3,/NewDir/hdf3-211.3fs

additionally , i found out that i'm able to use parameters PDEV1 and PMEDIA too ... these are for the pup_211.sfs file ...

but as a side note , seems that i loose the ability to choose from a menu of multiple saved session files ...

still not sure whether all of the above will have any "side" effects when running puppy ...


//really thanks to and appreciate your hints that i finally found a way to do what i want at the moment ...


.

marksouth2000 11-03-2006 04:55 AM

I guess Puppy reasons that there's no point in giving you a choice since you've already specified the save file you want to use....

I'm not convinced that Puppy manages save files in an optimal fashion yet and I've made some suggestions for how things could be done differently. barry hasn't had a chance to do anything about it yet, I guess. Perhaps you'd like to contribute your ideas in my thread on that subject in the other forum at murga.org. (Search there for a thread started by me in the Suggestions subforum about pup_save naming conventions.)

And by the way, thanks for your kind words. You're more than welcome, and I'm glad to have been able to help, at least in a small way.

Cheers,
Mark

alred 11-03-2006 09:32 AM

it was your PHOME and PFILE hints that i found a way to solve my "little odd" problem ... at least for the moment all those work for me quite well enough ...

btw ... since puppy normally comes with good and concise tutorials , do you have any tutorial for unionfs and squashfs(or whatever they are called) which are straight forward and preferably puppy related like what i saw on "ShellScriptsExamples" for first time user ??


.

marksouth2000 11-04-2006 04:11 AM

Good question. Barry has extensive documentation on Puppy and it's evolution over the last couple years. It can all be reached from his developer pages. To start with, read:

http://www.puppyos.com/development/howpuppyworks.html

Cheers,
Mark


All times are GMT -5. The time now is 02:57 AM.