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 Thu 23 Nov 2017, 09:25
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
YaPI (yet another Puppy Installer) install any Puppy iso
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 29, 30, 31 Next
Author Message
eric52


Joined: 16 Nov 2015
Posts: 252
Location: Southbury, CT

PostPosted: Fri 04 Dec 2015, 12:57    Post subject:  

I admit I stumbled over the labels the first time, but I worked through the indecision by just trying it. How hard would it be to just add the words "frugal and" to "full install?" bigpup's Wed. explanation is pretty clear; how about a "read.me" text file? Things get a bit tricky when partitioning a pen drive and making it look like a HD, but anyone doing that stuff can probably find their own way.
_________________
Today only. Anger not. Worry not. Be grateful working karma. Be kind.
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Fri 04 Dec 2015, 18:20    Post subject:  

L18L,

You should be able to run the installer, I posted, from the Puppy you are using.

You are getting there, but not completely.
That took care of the what Puppy files to look for.
However, it is still not finding them.

Normally you have to have the iso file mounted for the files to be found.
Trying that did not help.
The last thing is the normal:
is it from a CD or a directory?.

Normally, if you have the iso file mounted and you select directory it starts the install. Not doing that.
(I do not think this worked all that good, but it usually did work.)

Now I get to this point in the install.
See images.
capture26076.png
 Description   
 Filesize   60.95 KB
 Viewed   424 Time(s)

capture26076.png

capture27897.png
 Description   
 Filesize   16.96 KB
 Viewed   426 Time(s)

capture27897.png


_________________
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 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sat 05 Dec 2015, 06:14    Post subject: Puppy Universal Installer for any puppy  

bigpup wrote:
You should be able to run the installer, I posted, from the Puppy you are using.
Yes I can thanks to mick01 in another thread I can run one (it is a slacko) screenies taken there.
Quote:
You are getting there, but not completely.
That may be right for you but for me it is not right.
See screeny: installed, just for test, a tooppy_precise in a new partition.
No errors, everything as expected by me.

Let us look to your issue:
Quote:
That took care of the what Puppy files to look for.

If you choose "another .iso" and select another .iso
then etc/DISTRO_SPECS from this iso is extracted and sourced.
That's all.
The rest of installer is not changed.

Quote:
However, it is still not finding them.
You have to find them. Don't you?

Quote:
Normally you have to have the iso file mounted for the files to be found.
Trying that did not help.
Now I see from your screeny you wanted to create wakepup boot floppy. ... and missing /root/download/initrd.gz
Is that the only thing that did not work?

Quote:
The last thing is the normal:
is it from a CD or a directory?.

Normally, if you have the iso file mounted and you select directory it starts the install. Not doing that.
(I do not think this worked all that good, but it usually did work.)
It works if selecting any of the 3 files (vmlinuz, initrd, ..sfs)

Quote:
Now I get to this point in the install.
See images.
the text says: Finished .... Wink

Puppy Universal Installer is an old script.
IIRC one of the first I have been trying to internationalize...
Looks like it needs a general overhaul, not just the GUI...

bigpup, thanks for feedback. Maybe you (and any other) give it another try?
PUI_Screenshot_2015-12-05.png
 Description   
 Filesize   74.92 KB
 Viewed   406 Time(s)

PUI_Screenshot_2015-12-05.png

Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sat 05 Dec 2015, 21:29    Post subject: Re: Puppy Universal Installer for any puppy  

L18L,

I am wondering if I put your code changes in the correct locations Idea

Basically what I was showing was the installer was not doing what I was asking it to do.
Quote:
Now I see from your screeny you wanted to create wakepup boot floppy. ... and missing /root/download/initrd.gz
Is that the only thing that did not work?

No.
That is the strange thing. I never selected anything about wakepup boot floppy.
Do not know how that got in the mix Shocked

Any chance you could post your modified version of the Universal Installer?

_________________
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 
bigpup


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

PostPosted: Sat 05 Dec 2015, 21:58    Post subject:  

OK finally got it working. Very Happy

I started with a fresh version of the original Universal Installer.
Applied the code changes, making sure to get them in the correct location.

It worked this time to install from an iso I was not running from.

However, the part about having to navigate to the opened iso file is a little confusing. For me I had to go to /mnt/+root+tahr-6.0.4.1, which was where the iso was opened.
I think a new user would find that confusing.
This is how it looked in navigation window to get there.
capture1802.png
 Description   
 Filesize   28.7 KB
 Viewed   343 Time(s)

capture1802.png


_________________
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 
bigpup


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

PostPosted: Sat 05 Dec 2015, 22:41    Post subject:  

I wonder if this information is confusing to a new user.

Are they going to understand that the iso file needs to be opened before they run the installer?
capture13573.png
 Description   
 Filesize   21.07 KB
 Viewed   342 Time(s)

capture13573.png


_________________
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 
bigpup


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

PostPosted: Sat 05 Dec 2015, 22:55    Post subject:  

L18L,

About your code change.

About the window where you select install from the running Puppy or from an iso.

If you select from the running Puppy.
It still goes to selecting an iso file navigation window.

Shouldn't it just proceed with the install process?
capture23684.png
 Description   
 Filesize   4.8 KB
 Viewed   341 Time(s)

capture23684.png


_________________
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 
bigpup


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

PostPosted: Sat 05 Dec 2015, 23:20    Post subject:  

Quote:
However, the part about having to navigate to the opened iso file is a little confusing. For me I had to go to /mnt/+root+tahr-6.0.4.1, which was where the iso was opened.
I think a new user would find that confusing.
wonder if this information is confusing to a new user.

Are they going to understand that the iso file needs to be opened before they run the installer?


What do you think about this for a info window?

Something else.
There needs to be a USB button on this window.
If you boot from a live puppy USB flash drive and that is the puppy you want to install.
As it is now, you need to select directory button and navigate to the USB drive, to find the files to install from.
capture2786.png
 Description   
 Filesize   27.22 KB
 Viewed   331 Time(s)

capture2786.png


_________________
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 
bigpup


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

PostPosted: Sun 06 Dec 2015, 00:25    Post subject:  

I posted a modified version of the Universal Installer in the first post.
http://murga-linux.com/puppy/viewtopic.php?t=101127
It has all the code changes as of now.

Please help test.

Still alpha stage.

_________________
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 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 06 Dec 2015, 06:44    Post subject: Re: Puppy Universal Installer for any puppy  

bigpup wrote:
Basically what I was showing was the installer was not doing what I was asking it to do.
Yes I see now.
Let me explain again what I have been testing:
choose another iso (that is our topic)
got it installed (on usbhd partition)
did not care about boot code, grub, ....

I have been describing this as "step 1"
Other steps have to follow:
- avoid repeated input
- check for errors
- boot code ...

Quote:
That is the strange thing. I never selected anything about wakepup boot floppy.
Do not know how that got in the mix Shocked
Don't know either Wink

Quote:
Any chance you could post your modified version of the Universal Installer?
Yes, I have seen you did it
and I will also do so.

Next post you wrote:
However, the part about having to navigate to the opened iso file is a little confusing. For me I had to go to /mnt/+root+tahr-6.0.4.1, which was where the iso was opened.
I think a new user would find that confusing.
You are absolutely right.
Let us make it step 2:
Avoid double input (let the script just recall the .iso that has been already chosen)

in another post you wrote:
Something else.
There needs to be a USB button on this window.
If you boot from a live puppy USB flash drive and that is the puppy you want to install.
..mh
(relevant for "install from this running puppy" only)
puppy does not know where it booted from.
Really? Rolling Eyes
What is inside /etc/rc.d/PUPSTATE Question
Some helpful forum members could
boot from USB pfix=ram
and post output of
Code:
cat /etc/PUPSTATE

here.

Maybe the question "Where are the Puppy files?" can be omitted...
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 06 Dec 2015, 07:17    Post subject: Puppy Universal Installer for any puppy
Subject description: first choice
 

bigpup wrote:
I posted a modified version of the Universal Installer in the first post.
http://murga-linux.com/puppy/viewtopic.php?t=101127
It has all the code changes as of now.

Please help test.

Still alpha stage.

You have moved the first question (this or another) to first place.
That is much better this way.
Congrats!

BTW, would you mind to append for any puppy to Subject of this thread?
..and we will try to stay with just this, it is hard enough I think.

I am going to code step 2 now.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 06 Dec 2015, 09:41    Post subject: Re: Puppy Universal Installer for any puppy
Subject description: step 2: avoid double entry of location
 

L18L wrote:
I am going to code step 2 now.

... done.

Note, included is a fix for Terabytes sized discs ,,,

Feedback of testers welcomed.

Choose "or another .iso"
Select your iso.
Continue and you will no more be asked "where are the Puppy files?"
if you have already chosen to install "another .iso".

Hope it works for you, too.
puppyinstaller.gz
Description  click to unzip
gz

 Download 
Filename  puppyinstaller.gz 
Filesize  30.41 KB 
Downloaded  138 Time(s) 
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2909

PostPosted: Sun 06 Dec 2015, 12:06    Post subject:  

You also have to modify the locate_puppy_src_files function to be aware of both the aSPECS/DISTRO_SPECS and the iso.
While at it, you may want to add some safety checks, ie that the iso has a puppy, That the processor is capable if it is a 64bit puppy, That is not already installed elsewhere and will use old savefiles/folders.On full installs, that the iso is not in the partition that will be erased and re-written. Something else I forget now Very Happy

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Sun 06 Dec 2015, 12:36    Post subject: Re: ?  

mavrothal wrote:
You also have to modify the locate_puppy_src_files function to be aware of both the aSPECS/DISTRO_SPECS and the iso.

No, not now.
This function is used only for choice "from running puppy".
We are at "from another .iso". (yes must be puppy.iso Wink )

mavrothal wrote:
While at it, you may want to add some safety checks, ie that the iso has a puppy, That the processor is capable if it is a 64bit puppy, That is not already installed elsewhere and will use old savefiles/folders.
One after the other:
I wrote:
Other steps have to follow:
- avoid repeated input
- check for errors
- boot code ...

Thanks for your input.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2909

PostPosted: Sun 06 Dec 2015, 13:34    Post subject: Re: ?  

L18L wrote:

We are at "from another .iso". (yes must be puppy.iso Wink )

Yes, but it does not work (for me).
Names the folder wrong with the version from the running system and only copies initrd and vmlinuz, so you may want to reconsider. Wink

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0647s ][ Queries: 12 (0.0060s) ][ GZIP on ]