LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 10-31-2006, 09:58 AM   #1
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
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 ...

.
 
Old 10-31-2006, 12:27 PM   #2
marksouth2000
Puppy Motivator
 
Registered: Oct 2004
Location: The Shadowy Planet
Distribution: Too many to mention
Posts: 111

Rep: Reputation: 15
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
 
Old 10-31-2006, 08:39 PM   #3
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
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 ...


.
 
Old 11-02-2006, 05:52 AM   #4
marksouth2000
Puppy Motivator
 
Registered: Oct 2004
Location: The Shadowy Planet
Distribution: Too many to mention
Posts: 111

Rep: Reputation: 15
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?
 
Old 11-02-2006, 06:54 AM   #5
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
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 ...


.
 
Old 11-02-2006, 09:44 AM   #6
marksouth2000
Puppy Motivator
 
Registered: Oct 2004
Location: The Shadowy Planet
Distribution: Too many to mention
Posts: 111

Rep: Reputation: 15
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
 
Old 11-02-2006, 02:33 PM   #7
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
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 ...


.

Last edited by alred; 11-02-2006 at 02:43 PM.
 
Old 11-03-2006, 04:55 AM   #8
marksouth2000
Puppy Motivator
 
Registered: Oct 2004
Location: The Shadowy Planet
Distribution: Too many to mention
Posts: 111

Rep: Reputation: 15
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
 
Old 11-03-2006, 09:32 AM   #9
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
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 ??


.
 
Old 11-04-2006, 04:11 AM   #10
marksouth2000
Puppy Motivator
 
Registered: Oct 2004
Location: The Shadowy Planet
Distribution: Too many to mention
Posts: 111

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot reboot with a saves session of Puppy 2.0.2 jolphil Puppy 1 09-08-2006 01:57 PM
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 01:14 AM
Where is my file being saved, linux IO sopiaz57 Linux - Security 2 01-20-2005 09:55 AM
Session Save in Firefox--deleting saved sessions jonr Linux - Software 3 08-25-2004 01:22 PM
random saved GNOME session bluecadet Linux - General 1 12-31-2001 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration