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 Sat 23 Aug 2014, 15:52
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
How to install Java in lucid525 multisession DVD? <SOLVED>
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Wed 06 Jul 2011, 12:11    Post subject:  How to install Java in lucid525 multisession DVD? <SOLVED>
Subject description: java only installs for current session
 

EDITED to say Java issue solved by Installing JRE pet from Pemasu. www.smokey01.com/pemasu/Pets/
Thanks to gcmartin for the tip.
still loads every save file at boot Confused



I have installed Lucid 5.25 onto a DVD+RW disc for my 9-year old nephew. The HDD in his laptop died and I thought this would be an easy way to get him up and running. Everything works great except I cannot figure out how to install Java so it is there for each boot. I installed it from QuickPet. About all he does is play games on Pogo and YouTube videos. And it works fine for him, except that I have to re-install Java on every boot. How can I fix this?
Thanks,

Last edited by puppy-c on Wed 06 Jul 2011, 19:31; edited 1 time in total
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 06 Jul 2011, 12:48    Post subject:  

When you say you installed Puppy on a DVD, do you mean you chose "Save to CD" the first time you shut down after booting the DVD? If so, that should have created a multisession DVD so that the next time you boot it, everything is as it was when you shut down.

Is the Java an .sfs file or just a .pet?

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5086
Location: Charleston S.C. USA

PostPosted: Wed 06 Jul 2011, 14:13    Post subject:  

This info may help you:
http://www.murga-linux.com/puppy/viewtopic.php?t=60302

You need to make the DVD multi-session when you burn Puppy to it.
When you shut down make a save file and save it on the DVD.
Do this before you add programs.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Wed 06 Jul 2011, 15:12    Post subject:  

I actually re-mastered the iso and burned that to the DVD+RW, but I forgot to install Java before I did that.
Then, when I boot the DVD+RW and start to install java from quickpet, it downloads the .pet to /tmp and then it gives me a warning that it's going to install to /mnt/home, and then asks if I want to cancel or install, no other options. If I select cancel it then returns an error message saying package failed to install. How can I tell it to install somewhere where it will be saved? The .pet is still in the /tmp folder until I reboot.

Also, another issue, at each boot it loads each of the save files that were created from all the other boots. every shutdown/save makes a new file, how do i get it to only load the newest one? or can I?

I'll gladly burn another disc, CD, DVDR, or DVDRW, whatever is the best to accomplish this.

Thanks again,
Cliff


BTW, I love Puppy, I keep trying other Distro's but I keep coming back to Puppy. I need to learn it better. It's so easy to use that I really never had to learn it until I tried to do this Very Happy

@BIGPUP -- saw your post when i finished this, looked at that page, I guess I need to start over. I should be able to re-master the iso with all my installations and settings, right? then burn that to a multi-session cd/dvd and be good to go, right?
thanks,
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 06 Jul 2011, 15:56    Post subject:  

Make a multisession DVD instead of remastering. I think you will find all your problems gone away. Cool

If you decide to try a multisession DVD, I recommend using a DVD+RW -- at least until you get the hang of it. Smile Burn it with Puppy's Burniso2cd or Pburn.
Back to top
View user's profile Send private message 
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Wed 06 Jul 2011, 16:28    Post subject:  

Flash wrote:
Make a multisession DVD instead of remastering. I think you will find all your problems gone away. Cool

If you decide to try a multisession DVD, I recommend using a DVD+RW -- at least until you get the hang of it. Smile Burn it with Puppy's Burniso2cd or Pburn.



luckily i made this on DVD+RW, I'm blanking it with pburn now and will try what you say. I guess I made it more complicated than it had to be.

in the doc's I read it says I'll need to make a save file at shutdown, do i need to specify size for it? if so, what is recommended? I did a frugal HDD install on my laptop and made a save file for it, is it the same procedure? Also, there was mentioned that that file maybe shouldn't be larger than 1.8GB. that should be plenty big enough anyway.

thanks again to you all
Back to top
View user's profile Send private message 
dogle

Joined: 11 Oct 2007
Posts: 330

PostPosted: Wed 06 Jul 2011, 16:58    Post subject:  

Quote:
I guess I made it more complicated than it had to be
.
= true ;-)

You are invited to specify a save file size for a frugal install, but as Flash says, with a multisession all your troubles should be over - you simply invoke save at the end of session (or via the target icon you are about to see) and it all gets saved. That's it, no worries.

BTW, welcome to the Kennels!
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4220
Location: Earth

PostPosted: Wed 06 Jul 2011, 17:49    Post subject:  

2 people in my past; namely @Flash and @Tazoc have been instrumental in helping me with LIve media.

An ISO (or even a remaster) to a Multi-session CDRW/DVDRW, constitutes Live medaia.

Live media
The PC which you are going to be using the Live media on MUST be suitable rewritable drive for the Live media you will be using.
Thus, if you have a rewritable CD drive, then the media MUST be CDRW. And, if you have a rewritable DVD drive, then the media can be either a CDRW or DVDRW.

Once your ISO has been written to the Live media, you can boot on your laptop to get a running system.

Boot the ISO
Once booted and you get thru the initial Personalize setting to tailor your laptop (insure you change the PC's name from "puppypc" to anything else, like, "sons-laptop" for example.)

I would then Reboot the PC. When you do this, you will be prompted to "Save to CD". Select it, and wait until the CD/DVD is popped open with a message indicating the session has been save to the Live media. At this point, You have complete an initial phase geared to your specific PC's peripheral. Your Live media now has all of your settings and your initial drivers included for you laptop's operation.

Reboot, and you will be taken straight to the desktop. (If you watch the boot-time messages, you will see a line indicating it found your save-session on CD and was loading it. Probable something dated like "20110706...")

Now for Java installation
There is a hitch, I've found, in the PET(s) that are installed from QuickPET or from PPM. .... "JAVA!"

Seems as I remember, there something about /mnt/home that causes problems.

A Puppy Distro builder @Pemasu built a JAVA PET that I believe gets around that /mnt/home problem. I'll have to appeal to him for his PET's location so that you can install and JAVA will be included the next time you reboot...assuming you do a save-session on the next shutdown.

Browsers, Java, and other items from PPM and QuickPET should all load and operate as expected, Any personal items you create (video, music, pics, documents) can be created as you use your system. Be sure to remember to save-session whenever you installed or created anything significant, it will get saved and be there for you when you reboot the laptop.
.
Hope this helps

_________________
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 
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Wed 06 Jul 2011, 18:34    Post subject:  

@gcmartin -- Thank you!!
I just finished remaking the dvdrw and end up with the same exact issues!

Your post looks promising to fix the Java issue, I'll try that.

You said "insure you change the PC's name from "puppypc" to anything else"
I didn't do that. What does that do? will that fix the multiple saves issue? If not, do you know how I can fix that issue?

Regards,
C
Back to top
View user's profile Send private message 
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Wed 06 Jul 2011, 18:42    Post subject:  

gcmartin wrote:
Now for Java installation
There is a hitch, I've found, in the PET(s) that are installed from QuickPET or from PPM. .... "JAVA!"

Seems as I remember, there something about /mnt/home that causes problems.

A Puppy Distro builder @Pemasu built a JAVA PET that I believe gets around that /mnt/home problem. I'll have to appeal to him for his PET's location so that you can install and JAVA will be included the next time you reboot...assuming you do a save-session on the next shutdown.

Browsers, Java, and other items from PPM and QuickPET should all load and operate as expected, Any personal items you create (video, music, pics, documents) can be created as you use your system. Be sure to remember to save-session whenever you installed or created anything significant, it will get saved and be there for you when you reboot the laptop.

I found his PETS and am downloading the JRE now!!!
Thanks again.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 06 Jul 2011, 21:18    Post subject: Re: How to install Java in lucid525 multisession DVD? <SOLVED>
Subject description: java only installs for current session
 

puppy-c wrote:
EDITED to say Java issue solved by Installing JRE pet from Pemasu [google it].

All the help you got and you won't go to the trouble to find and post the URL? Sad

Quote:
still loads every save file at boot Confused

I'm no expert on how multisession Puppy works. I've only read a bit here and there and studied how it works by using it. So here's what I think happens when multisession Puppy boots: first a tiny version of Linux is loaded from the DVD into RAM. Either vmlinuz or isolinux, I don't remember which (Puppy's boot screen tells you, if you're interested.) This pocket Linux then proceeds to load the saved sessions from the multisession DVD into RAM, beginning with the last session saved and working back to the first. Then it loads the big Kahuna, the sfs file which contains the Puppy kernel and everything else including utility programs, drivers and default settings. Finally, Puppy's miraculous layered filesystem combines everything, adding the changes from the saved sessions to the baseline sfs. The result after multisession Puppy has fully booted is the state Puppy was in when you last shut down and saved to the DVD.

For sure do this ASAP: go to SeaMonkey's Edit -> Preferences -> Advanced -> Cache, click the Choose Folder button and navigate to /tmp. SeaMonkey's cache can grow to humongous size if it is saved onto your multisession DVD because it gets reloaded into RAM each time Puppy boots, and SeaMonkey will just keep adding to it. Putting SeaMonkey's cache in /tmp prevents this because the contents of /tmp are not saved onto the DVD. Thus, SeaMonkey begins with an empty cache after each reboot.

Here's the way I use my multisession DVD: when I install or uninstall a program or change a setting, I save that session to the DVD. Everything non-Puppy related that I want to save, I put on a USB memory. If I haven't changed anything that I want to save, I don't bother with the shutdown routine, I simply pull the plug. Surprised

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Wed 06 Jul 2011, 23:12    Post subject: Re: How to install Java in lucid525 multisession DVD? <SOLVED>
Subject description: java only installs for current session
 

Flash wrote:
puppy-c wrote:
EDITED to say Java issue solved by Installing JRE pet from Pemasu [google it].

All the help you got and you won't go to the trouble to find and post the URL? Sad

Sure, just didn't know if it was ok to or not, here it is;
www.smokey01.com/pemasu/Pets/

Quote:
Quote:
still loads every save file at boot Confused

I'm no expert on how multisession Puppy works. I've only read a bit here and there and studied how it works by using it. So here's what I think happens when multisession Puppy boots: first a tiny version of Linux is loaded from the DVD into RAM. Either vmlinuz or isolinux, I don't remember which (Puppy's boot screen tells you, if you're interested.) This pocket Linux then proceeds to load the saved sessions from the multisession DVD into RAM, beginning with the last session saved and working back to the first. Then it loads the big Kahuna, the sfs file which contains the Puppy kernel and everything else including utility programs, drivers and default settings. Finally, Puppy's miraculous layered filesystem combines everything, adding the changes from the saved sessions to the baseline sfs. The result after multisession Puppy has fully booted is the state Puppy was in when you last shut down and saved to the DVD.

For sure do this ASAP: go to SeaMonkey's Edit -> Preferences -> Advanced -> Cache, click the Choose Folder button and navigate to /tmp. SeaMonkey's cache can grow to humongous size if it is saved onto your multisession DVD because it gets reloaded into RAM each time Puppy boots, and SeaMonkey will just keep adding to it. Putting SeaMonkey's cache in /tmp prevents this because the contents of /tmp are not saved onto the DVD. Thus, SeaMonkey begins with an empty cache after each reboot.

Here's the way I use my multisession DVD: when I install or uninstall a program or change a setting, I save that session to the DVD. Everything non-Puppy related that I want to save, I put on a USB memory. If I haven't changed anything that I want to save, I don't bother with the shutdown routine, I simply pull the plug. Surprised


Thanks for all your help.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Thu 07 Jul 2011, 00:01    Post subject:  

You're welcome, and please keep us posted on your progress and discoveries. Smile

For what it's worth, I thought of a workaround for the case where a pet will install and work but won't save properly and has to be reinstalled after each boot. Download the pet as a pet to somewhere that will be saved on the DVD when you shut down. In /root/my-applications for instance. Then when you boot all you need to do is click the .pet to reinstall the program. It's nearly as fast as running from the installed program. I think you can even create an icon on the desktop which links to the pet, by dragging the pet onto the desktop in ROX. Your custom settings for the program probably won't be saved, though I'm not certain about that.

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
puppy-c

Joined: 06 Jul 2011
Posts: 7

PostPosted: Thu 07 Jul 2011, 14:27    Post subject:  

@Flash -- yes, I thought of that too, after several re-downloads Embarassed Do any other Pets have that same issue? maybe they need to be re-written to address this problem?

Also, more questions about the multiple saves being loaded at boot;
Would it do any harm to delete the older saves from DVDRW, if that's possible? Wouldn't the last save have everything I need, assuming it was the way I wanted it to be at the last shutdown/save?
And, couldn't the procedure for saving be re-written so that it just saves the current config. and then just re-load it at boot?

Maybe one of the many puppy experts could re-master a "special" multisession puppy iso to be used just for this??

Thanks again,
C
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Thu 07 Jul 2011, 15:39    Post subject:  

puppy-c wrote:
...Would it do any harm to delete the older saves from DVDRW, if that's possible? Wouldn't the last save have everything I need, assuming it was the way I wanted it to be at the last shutdown/save?
And, couldn't the procedure for saving be re-written so that it just saves the current config. and then just re-load it at boot?

Each session contains only the changes you made to Puppy during that session. Puppy needs to load all the sessions to incorporate all the changes you may have made. However, there is a way to consolidate all those changes into one session. Read about it here.

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
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:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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