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 Sun 21 Dec 2014, 10:39
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Hiding previous multi-session saves on a live disc
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11181
Location: Arizona USA

PostPosted: Fri 14 Dec 2012, 09:44    Post_subject:  

As I evidently failed to make clear in my previous post, the order that sessions are loaded from the DVD into RAM when Puppy boots doesn't seem to matter. Puppy's layered filesystem combines everything correctly no matter what. So that, for instance, if a file from an earlier session is deleted in a later session, that file does not show up after multisession Puppy boots.

Exactly how the layered filesystem works its magic I do not know. I believe there are several threads in the forum that discuss it in some detail. Good luck finding them. Laughing They are several years old. I think Puppy originally used Aufs for its layered filesystem, but then that was dropped in favor of a simpler method. I could be wrong. There may be something in Barry's blog about it. Look in his blog's archives.
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3398
Location: Oregon

PostPosted: Fri 14 Dec 2012, 12:26    Post_subject:  

Flash,

But what about a system configuration file that was edited and saved in two separate sessions.

If the order of loading the sessions does not make any difference, then it is feasible that an earlier not wanted version of the file could replace the wanted version of the file.

I am still trying to get the multi-session DVD with Slacko 5.4 to remember and use my WIFI settings that I am using ndiswrapper with.

When I set it up, it works. I save the settings. But on the next boot, the wifi hardware is not seen and not set up automatically.

I have to set it up each time and that does not seem right to me.

So do I have to make a new multi-session DVD and set up everything all at once before it saves the first session?

This is bugging me as it does not seem to work at all like a hard drive frugal install with use of a pupsave file.
Back to top
View user's profile Send_private_message 
Jasper


Joined: 25 Apr 2010
Posts: 1204
Location: England

PostPosted: Fri 14 Dec 2012, 12:34    Post_subject:  

Hi 8-bit,

Open your DVD and post a screen shot.

My regards
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3398
Location: Oregon

PostPosted: Fri 14 Dec 2012, 13:05    Post_subject:  

I think the mind is the first thing to go!
I stated the multi-session DVD was Slacko 5.4 when it instead was Puppy Lupu 528.

But you asked for a screen shot, so here it is.
capture23400.png
 Description   My multi-session DVD contents as a screen shot.
 Filesize   27.22 KB
 Viewed   606 Time(s)

capture23400.png

Back to top
View user's profile Send_private_message 
Jasper


Joined: 25 Apr 2010
Posts: 1204
Location: England

PostPosted: Fri 14 Dec 2012, 14:15    Post_subject:  

Hi 8-bit,

Your screen shot looks fine and there is no problem with
cumulative loading sequence, whatever and whenever you added
or deleted anything. Trust BarryK - it works.

With "puppy pfix=1" you will have the cumulative effect of
your first three files - pfix=2 your first two November files
and pfix=3 your original file - pfix=4 would be pointless, and
ordinary mortals should accept this order,

You might see how big your December folders are and you
could click to open them and check if your nds wrapper
details are as you expect them to be.

We can explain how to start again from any of your
existing four (or any subsequent) saves. However I have
never used an nds wrapper, so I'm out of touch there, at
least for now.

The whole multisession system works superbly for Flash and
myself and I have some 40 sfs files stored in a flash stick,
but with your 4 GB RAM (just over 3 GB usable) you
could use pets galore.

See if you can see or think of anything which might help us
to help you.

My regards
Back to top
View user's profile Send_private_message 
gcmartin


Joined: 14 Oct 2005
Posts: 4507
Location: Earth

PostPosted: Fri 14 Dec 2012, 15:58    Post_subject:  

I have and cintinue to use live media where I save back to the media versus to the USB/HDD.

Questions
  • Is the problem you share unique to 528, unique to Slacko54 or is it happening to all PUPs you use?
  • Is this where the system is NOT remembering the wireless SSID requiring re-running of "Setup Networking (task bar)" or is it requiring re-install of the driver PET for the wireless support?
  • Do you see prior session save files on your LIve media?
  • Does all of the other PETs you install behave as you expect when you reboot (for example you browser add-ons, etc.)?
Here to help.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11181
Location: Arizona USA

PostPosted: Fri 14 Dec 2012, 16:13    Post_subject:  

8-bit wrote:
...I am still trying to get the multi-session DVD with Slacko 5.4 to remember and use my WIFI settings that I am using ndiswrapper with.

When I set it up, it works. I save the settings. But on the next boot, the wifi hardware is not seen and not set up automatically...

I'm no expert in using wireless. I toyed with it for a while but then lost interest. My WAG (Wild-Ass Guess) is that the problem is not in the settings you are saving, but rather is something more subtle. Perhaps the connection wizard is not being given enough time to establish the wireless connection when it boots? I really don't know. Confused

Maybe you'd get more competent advice if you started a new thread with the title something like "Multisession Lupu 528 doesn't restore wireless settings." Or whatever is most appropriate for your problem.
Back to top
View user's profile Send_private_message 
tallboy


Joined: 21 Sep 2010
Posts: 454
Location: Oslo, Norway

PostPosted: Sun 30 Dec 2012, 16:04    Post_subject:  

This thread is old, and it started with a question:
Brown Mouse wrote:
Could anybody please remind me how to go about hiding/deleting previous multi-sessions save directory's on a live disc?


The use of a .badfolders file has been mentioned, and here are some pics of how it looks on a dpup485 DVD-R that I play with.

I accidentally forgot to remove a 240 Mb .iso image from /root before saving the session to the DVD, so I blocked that session from loading at next bootup with 'puppy pfix=1' as boot message.

When saving that session containing a blocked savefile, I actually forgot that a .badfolders file was created in /, so that was saved too - an important issue to remember if you only want a savefile blocked for one session! If you want to access the blocked file again, you have to remove the lines from the .badfolders file and save another session, or you have to block the file containg the badfolders file from loading with 'puppy pfix=1'.
The problem then is that you also omit all the other saved files from that session!

Are there any other boot messages that can be used to block a savefile from being read at bootup? I tried using a savefile's 'name', i.e. it's creation date&time, but that did not help. A list of savefiles that could be blocked for the session, appearing in the boot dialog, would be nice...

There are also other ways to save files, so that they don't turn up at boot time, see this link: Save directories to DVD+RW as sessions, using growisofs

tallboy
badfolders2.png
 Description   
 Filesize   182.27 KB
 Viewed   567 Time(s)

badfolders2.png


_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3398
Location: Oregon

PostPosted: Mon 18 Nov 2013, 05:40    Post_subject:
Sub_title: Temporary blacklist folders!
 

I have a number of session folders on my Lupu DVD disk and thought I would try booting with "pfix=4" to blacklist the last four sessions.
That worked fine other than since only changed and new files get saved when saving a session, files or pets that were added/installed in previous sessions that you blacklist may not appear.
But, I also found that unless you save the newly created .blacklist file by saving the current session, the .blacklist file disappears on the next boot.
So in some ways, this answers anothers question about if the blacklisted sessions would be temporary and only for the current session.

Also, again, remember that blacklisting previous sessions may remove files and installed pets that were done in the blacklisted session.
Just remember NOT to save when rebooting if you want the .blacklist to be temporary.
Back to top
View user's profile Send_private_message 
tallboy


Joined: 21 Sep 2010
Posts: 454
Location: Oslo, Norway

PostPosted: Tue 19 Nov 2013, 19:46    Post_subject:  

Quote:
Just remember NOT to save when rebooting if you want the .blacklist to be temporary.


Yes, but also remember that /.badfolders is just another file that may be edited and modified or even removed, if you need to save the next session. That is part of the Linux advantage!

tallboy

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11181
Location: Arizona USA

PostPosted: Tue 19 Nov 2013, 21:14    Post_subject:  

tallboy wrote:
... That is part of the Linux advantage!
Actually, as far as I know, that particular trick is unique to multisession Puppy Linux. Smile
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3398
Location: Oregon

PostPosted: Tue 19 Nov 2013, 21:57    Post_subject:  

I understand how the blacklist file works. And also that clicking on the Save icon saves a new session to the CD/DVD that contains changes made and also any added content.
But what I would like to be able to do without migrating to a new CD/DVD is to have the SAVE contain all the contents and additions of the previous saved sessions like one was migrating.
After all, loading many sessions on boot slows up the booting process.
So can one make a new session contain all the content of previous sessions along with blacklisting all the previous sessions?

Or am I stuck with migrating to a new disk?

I guess I will have to read up more on the workings of multisession Puppy CD/DVDs.
Got a link?
Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2533
Location: Heart of Texas

PostPosted: Tue 19 Nov 2013, 23:38    Post_subject:  

working on this idea with a multisession update. Very simple, a on the fly method would save current setup as a multisession in a sfs file. Within a dated directory like now. so all normal pfix stuff works. But on next load the directory reading will end at the sfs files directory. It would be standard sfs file so that we could also reburn to a new disk. Wink
Back to top
View user's profile Send_private_message 
gcmartin


Joined: 14 Oct 2005
Posts: 4507
Location: Earth

PostPosted: Fri 22 Nov 2013, 20:28    Post_subject: Should multi-session changes be considered for extention(s)  

Let me see if I can put this into perspective.

We currently have methods of backup to a prior time in system's operation, when at boot time we add the parm to skip some 1 or more prior save-sessions that exist on the DVD.

And, there is a manner to make this "backup to ..." method permanent for future reboots via proper use and save-session at shutdown.

Further, it is noted that there is a file in the filesystem called ???/.badfolders which can be modified (how???) so that on the LIve media disc, when rebooted, would abandon use/loading of the content of things found in badfolders.

Is that correct?

Then this discussion and its items over the past couple days and Thanks to @Ted Dog, shows that the save-sessions or the system's folders can be saved, at session end, in a common ...sfs file on the DVD which would be embraced at reboot.

Is that correct?

Thus, this means that new ways of telling boot-time starts what it is that I want to be used when piecing together the system's needs for the user desktop experience...all via a single SFS.

Is that what we rounding this toward?

Seems like a simple benefits analysis is all that's needed to take this to a simple, yet logical solution making it obvious to even new users on boot options when using DVD/CD media.

And, this has some very obvious benefits to other removal media as well such that the need for frugal persistence requirements would also be embraced by this simple methods of save-session. Thus, the community would benefit in have ONLY ONE(1) common method of persistence instead of the obvious 2 where the frugal has some shortcomings that DVD save-session do not.

This would then provides common boot understanding no matter which of the removable media or frugal uses are selected. The benefits would be common to each.

Thoughts...

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2533
Location: Heart of Texas

PostPosted: Fri 22 Nov 2013, 21:06    Post_subject:  

yes you are describing the methodology correctly and only a stop here on the reloading of multisessions at the most resent rolled up sfs file. But I do like the any device methods of multisession found on fatdog. And will be testing code by multisession on a harddrive ( ext2,3, 4 partions )
next stage is to have a named saved mulisession folder instead of date-time ( date time availabe at the proberties of the directory )
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0947s ][ Queries: 12 (0.0044s) ][ GZIP on ]