YaPI (yet another Puppy Installer) install any Puppy iso

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
eric52
Posts: 252
Joined: Mon 16 Nov 2015, 23:02
Location: Southbury, CT

#16 Post by eric52 »

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.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#17 Post by bigpup »

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.
Attachments
capture26076.png
(60.95 KiB) Downloaded 460 times
capture27897.png
(16.96 KiB) Downloaded 459 times
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 :shock:
YaPI(any iso installer)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Puppy Universal Installer for any puppy

#18 Post by L18L »

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.
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:
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.
However, it is still not finding them.
You have to find them. Don't you?
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?
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)
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?
Attachments
PUI_Screenshot_2015-12-05.png
(74.92 KiB) Downloaded 440 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Re: Puppy Universal Installer for any puppy

#19 Post by bigpup »

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.
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 :shock:

Any chance you could post your modified version of the Universal Installer?
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#20 Post by bigpup »

OK finally got it working. :D

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.
Attachments
capture1802.png
(28.7 KiB) Downloaded 375 times
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#21 Post by bigpup »

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?
Attachments
capture13573.png
(21.07 KiB) Downloaded 374 times
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#22 Post by bigpup »

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?
Attachments
capture23684.png
(4.8 KiB) Downloaded 375 times
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#23 Post by bigpup »

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.
Attachments
capture2786.png
(27.22 KiB) Downloaded 366 times
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#24 Post by bigpup »

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.
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 :shock:
YaPI(any iso installer)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Puppy Universal Installer for any puppy

#25 Post by L18L »

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 ...
That is the strange thing. I never selected anything about wakepup boot floppy.
Do not know how that got in the mix :shock:
Don't know either :wink:
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)
[url=http://murga-linux.com/puppy/viewtopic.php?p=875740#875740]in another post[/url] 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? :roll:
What is inside /etc/rc.d/PUPSTATE :?:
Some helpful forum members could
boot from USB pfix=ram
and post output of

Code: Select all

cat /etc/PUPSTATE
here.

Maybe the question "Where are the Puppy files?" can be omitted...

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Puppy Universal Installer for any puppy

#26 Post by L18L »

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.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Puppy Universal Installer for any puppy

#27 Post by L18L »

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.
Attachments
puppyinstaller.gz
click to unzip
(30.41 KiB) Downloaded 302 times

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#28 Post by mavrothal »

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 :D
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: ?

#29 Post by L18L »

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.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: ?

#30 Post by mavrothal »

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:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#31 Post by B.K. Johnson »

There is no escape route from this GUI or its sister. I cant even 'kill'either. :roll: It's not the important issue of the thread, but nevertheless ...
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Re: Puppy Universal Installer for any puppy

#32 Post by bigpup »

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.
Thanks!!!

I see you reactivated the sanity check.
It also seems to work now.
Last edited by bigpup on Mon 07 Dec 2015, 03:22, edited 1 time in total.
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#33 Post by bigpup »

B.K. Johnson wrote:There is no escape route from this GUI or its sister. I cant even 'kill'either. :roll: It's not the important issue of the thread, but nevertheless ...
Thanks!

I noticed that too.

L18L he is talking about this GUI.
Attachments
capture23684.png
(4.8 KiB) Downloaded 357 times
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Re: ?

#34 Post by bigpup »

mavrothal wrote:
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:
Step 2 version of installer
"from another .iso".
Well, I got it to do a complete frugal install on a hard drive partition. Installed to a folder.

Did a USB flash install with no problems.
It does do a live Puppy USB type install.

Confirmed, it did name the directory/folder the same name as the running puppy version and not the iso version.
All the files where in the folder from the iso I had chosen.
So. it was a good install, just the folder name was wrong.

I could have chosen a different name and not used the default name provided.
That name would be correct.

You are getting there!!!
Last edited by bigpup on Mon 07 Dec 2015, 04:50, edited 3 times in total.
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#35 Post by bigpup »

L18L,

I posted your step 2 version in the first post.

About the wrong default folder name problem. (#1 image)

I noticed this when doing the install of tahr-6.0.4.1.iso.

I got a second window at the end of the install that looked like this. (#2 image)
This was after the frugal install completed.
Clicking on OK just went to a install completed window.
Attachments
capture5177.png
This is default folder name not correct.
(20.51 KiB) Downloaded 349 times
capture7414.png
after the install completed got this.
(33.69 KiB) Downloaded 352 times
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 :shock:
YaPI(any iso installer)

Post Reply