YaPI (yet another Puppy Installer) install any Puppy iso

Under development: PCMCIA, wireless, etc.
Message
Author
gcmartin

#391 Post by gcmartin »

Like the locate/slocate commands, the tree command is not in every PUP. Not available on @BarryK's distros, @TaZoC's LightHouse or on @PeeBee's distros.

FYI

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#392 Post by musher0 »

gcmartin wrote:Like the locate/slocate commands, the tree command is not in every PUP. Not available on @BarryK's distros, @TaZoC's LightHouse or on @PeeBee's distros.

FYI
What kind of a distro is this? No < tree > command. Humpf. :twisted:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#393 Post by musher0 »

The situation has been taken care of.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

gcmartin

#394 Post by gcmartin »

Adding the TREE command PET to the PUPPY's system commands allows instant retrieval of my ISO list.

Code: Select all

bash-4.1# cd /mnt/MyNAS4/ISOs
<root> /mnt/MyNAS4/ISOs
bash-4.1# tree -if | grep -E "\.iso$"
./Downloads/LInux/Puppy/Musher0/dpw-3.14.56.1.iso
./   o
./   o
./   o
Very helpful command, indeed.

Thanks

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

#395 Post by bigpup »

musher0,

Good to see you back!!!!
musher0 wrote:Hi guys.

FWIW, here's a relatively fast < find > alternative:

Code: Select all

tree -if | grep -E "\.iso$"
BFN.
In Slacko 6.3.0 I tried this code.
Tree command is supported in Slacko 6.3.0

My output.

Code: Select all

root# tree -if | grep -E "\.iso$"
./download/librepup-6.0.2.0.iso
./download/lupu3hd-5.2.8.6-20131124.iso
./download/pmagic-5.8.iso
./download/slacko-6.3.0.iso
Yes, it was very, very fast at giving a list of iso's I have in my Slacko 6.3.0 install.
I guess it only searched the partition Slacko 6.3.0 is on.

For YaPI, I think the search bottleneck is always going to be mounting and UN-mounting partitions. Not sure if anything is going to help, that, to make YaPI search faster.

YaPI is turning into a good test of what is and is not in Puppy versions.

YaPI needs xdialog to support use of the extra button in xdialog windows. Not all Puppies have this support.

You trying to give us a better iso search code is also showing command support deficiencies in Puppy versions.

For YaPI to fully work, we are trying to make sure it will fully work in the latest newest versions of Puppy.
Tahrpup 6.0.5
Tahrpup64 6.0.5
Slacko 6.3.0
Slacko64 6.3.0
Fatdog64
And maybe, at best, be able to do a normal frugal and full install in some of the other Puppies.
Last edited by bigpup on Sat 19 Mar 2016, 00:31, 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

#396 Post by bigpup »

L18L,

Tahrpup 6.0.5 will not offer the refresh or SUPERFLOPPY buttons. Xdialog does not provide support for these extra buttons.

So, I reported the problem in the Tahrpup 6.0.5 bug topic.

Problem now partly fixed. Now get the Refresh button.

Need to install the latest Tahrpup 6.0.5 update, by using Quickpet->Info->Tahrpup updates.

SuperFloppy button, I think, is still about lack of SuperFloppy needed files missing from Tahrpup 6.0.5.
Strange that all needed support is in Tahrpup64 6.0.5 :shock: :lol:

Still trying to troubleshoot this SuperFloppy issue.
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

#397 Post by bigpup »

With 17,000 + views of this topic, 35 downloads of the Yapi.pet, and about 7 people making comments.

Not really sure what all this indicates. :lol:
Some interest. :?:
Some willingness to try it. :?:
Some willingness to help. :?:
Good idea :?:
Not a good idea :?:

Any feedback good or bad out there. :?: :idea:
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

#398 Post by bigpup »

In the first post of this topic is information on how to return a USB flash drive to a normal partition/format setup, after you have used it for a SuperFloppy install.

SuperFloppy install is a good way of making a Puppy live USB flash drive. However, it is a different way of setting up a USB flash drive.
One very good benefit is, all the main Puppy files are in a read only section of the drive. Nothing else can be written to this section of the drive. The Puppy save is the only Puppy file/folder that can be written too or changed.
Also, 95% of the USB drive is still a readable and writable normal partition. This is where the Puppy save is placed.
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)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#399 Post by musher0 »

Hi bigpup. Thanks for the kind words.

I've been thinking about this a little. Perhaps we can have our cake and eat it too...
I mean benefit of the speed of < tree > and have speedy mounts as well.

As before, we mount the unmounted drives, scan for isos and build our list.

But instead of un-mounting immediately the partitions that need to be un-mounted,
we make a note in a string or in a temp file that partition such-and-such needs to
be unmounted later.

This way, we don't tax the patience of our user too much. Because we know it's
the "lazy" un-mounting < umount -l > that takes the most time. And at this time,
I would say it's safe to leave the partitions mounted for the duration because the
user is not doing anything else, (s)he's busy installing a Puppy! :)

Also, (s)he can choose a Puppy iso on any partition, they're all availalble at this
time, we don't have to re-mount any partition. Here again some time would be
saved/gained.

Once we have finished our process of installing the Pup, we do whatever un-
mounting needs to be done. We write a little < umount -l > loop that feeds on the
previously created temp file and voilà.

We could even have a fork at this point: if the user wishes to reboot immediately
with the newly installed Pup, the script wouldn't have to un-mount the remaining
partitions, Puppy's shutdown process would do it for us. We'd have our un-
mounting loop kick in only if the user wishes to continue his/her session.

Since the main job is finished, we can officially close the app, do the un-mounting
in the background with perhaps a < nice > command prefix, so the user will barely
notice it.

This way, we could probably shave a minute or two off the process. What do you
think? Is it worth a try?

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#400 Post by bigpup »

musher0,

Your mount UN-mount ideas are probably a good way to make the iso search faster. As the search code was being written, similar ideas were suggested and discussed.
Even searching UN-mounted drives was discussed as something YaPI should not do.
It was soon understood that the search should leave the computer in the condition it found it. That is why it only leaves drives mounted that were mounted to begin with.
The general discussion was, drives were UN-mounted, by the user, for a reason, and YaPI should not change that.

This is also kind of a Puppy standard. Drives are mounted and UN-mounted when you want them to be.

I feel you telling YaPI to search for iso's is you deciding to mount drives.
However, it was decided that did not say you decided to keep them mounted. so, YaPI UN-mounts the ones you had UN-mounted.

I could see the search start with mounting all drives.
Do the search.
Make the list of iso's.
UN-mount drives that were not mounted before the search.

Now the question is: does that really make the search faster or better than it is now?

Also, just how deep in the filesytem does the search go?
1, 2,3,4,5,6, etc......directories deep in a partition?

I have noticed the search of a partition, does take longer, if it has a lot of directories with sub, and sub sub, etc... directories in it. But, that could be caused by the code commands doing the search.
musher0, your number of partitions and number of iso files, is probably a little above the normal Puppy users but, YaPI needs to work good for you too :lol:

Any idea is worth checking out!!
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)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#401 Post by musher0 »

Thanks for your reply.

Since you have a final version, I suppose my suggestion has become "rhetorical".
I understand.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#402 Post by Moat »

bigpup wrote:With 17,000 + views of this topic... Not really sure what all this indicates. :lol:

.... Good idea :?:
Hi bigpup - yes, good idea! :!: I am one who has been lurking since you began this idea/project, as I've always wished the original PUI could work on other Puppies/.iso's in addition to the currently running one.

I, personally, find no great need for an .iso search function... if I'm sitting down to install a Puppy, I already well know which one I want to install and where it'll be located - and I'll manually mount the partition if need be (and leave it mounted until the process is finished). The "open with... YaPI" right-click function sounds great, and would already have required me to manually mount the desired partition anyway.

Either that, and/or a simple GUI directory "browse" function/button would be plenty sufficient. Like what any typical .iso burner program might offer.

I'm sorry as I have no time/energy to test these days (and I am mostly on Barry's Precise 5.7.1 anyways, and YaPI may not work properly on that anyhow?) - wish I could contribute something worthwhile, though! :(

But good luck, and keep up the good work! (L18L and musher0, too!) 8) Looks (from here) like it's coming along very nicely!

Bob

gcmartin

#403 Post by gcmartin »

All good views from @Musher0, @BigPUP, and @Moat being shared; all with merits.

But the prize which I think was prevalent when this got underway was a clearer, easier to understand, straight forward, simple, and better PUI that ANY user, novice, beginner, or experienced would be able to use.

For most, the current PUI that ships with PUPPY is a beast in understanding that has received complaints over the years. This PUI starts with an intent to ease what is occurring as one builds the USB/HDD/SD/SSD/etc for whatever ISO the user desires. When it is clear in understanding, users do not have to continue with the trial and error practice that the old user leads users into; especially true for most first-time users. Thus this PUI, YAPI, intends to reduce frustrations and clearly in both language and operation help the user to their objective.

The Prize ... a Better PUI! (not just a smarter one, but ...)

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

#404 Post by L18L »

bigpup wrote:For YaPI to fully work, we are trying to make sure it will fully work in the latest newest versions of Puppy.
Tahrpup 6.0.5
Tahrpup64 6.0.5
Slacko 6.3.0
Slacko64 6.3.0
Fatdog64
And maybe, at best, be able to do a normal frugal and full install in some of the other Puppies.
YaPI should work in (future !) Woof-CE built Puppies (only :wink: ) :!:

Fatdog64 is not Woof-CE built, even not a Puppy. :D

TahrPups seem to lack extra-button capable Xdialog.
That is not our problem IMHO.
gcmartin wrote:The Prize ... a Better PUI! (not just a smarter one, but ...)
Not a better PUI but hopefully: Better than PUI :lol: :wink:

gcmartin

#405 Post by gcmartin »

I lobby that this become the new PUI, removing the old from WOOFCE builds and replacing with this new Internationalized subsystem because of its universal easy approach: IMHO.

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

#406 Post by B.K. Johnson »

bigpup asked:
Some interest. :?:
Yes
Some willingness to try it. :?:
Yes, but not at this time. No free flash drive available now to dedicate to an ext file system. Were it testable on a FAT, maybe tested a long time ago. I use FAT and multiple puppies. Adding another puppy to test in that environment is easy. I don't play with Fatdogs or Quirky dogs. :lol:

But I have downloaded it. :)
Some willingness to help. :?:
Yes, but if no testing, what?
Good idea :?:
Anything that makes puppy better is a good idea. And if you think it's a good idea... :)
Not a good idea :?:
I would not categorically say so. One of these days when I want to do something that YAPI provideas, I'll consider it a marvelous idea, won't I?
Don't remember if stated, but are more than 1 partition accommodable on the drive?
:?:

Any feedback good or bad out there. :?: Idea
You got them now! :wink:
BFN
[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]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#407 Post by musher0 »

Hello all.

Sorry in advance for ruffled feathers, but IMO:

YaPI is a luxury.

-- Nothing beats the speed, neatness and precision of a --
-- manual frugal installation once you know how to do it. --


I did have fun being a team player. I discovered a couple of things along the way.
So I'll vote according to the party line.

"Comprenne qui pourra !" ;) (Somebody here knows who this wink is for!)

BFN.
Last edited by musher0 on Mon 21 Mar 2016, 16:54, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#408 Post by bigpup »

L18L wrote: YaPI should work in (future !) Woof-CE built Puppies (only :wink: ) :!:

TahrPups seem to lack extra-button capable Xdialog.
That is not our problem IMHO.
Tahrpup 6.0.5 was/is the only Tahrpup with the problem.

I got the xdialog extra button problem fixed in Tahrpup 6.0.5
The refresh button now works.

Doing the latest Quickpet->Info->Tahrpup updates will install the fix to xdialog. The xdialog fix was recently provided in the updates.

However, the SuperFloppy still does not work in Tahrpup 6.0.5
After the xdialog update to Tahrpup 6.0.5
Still get no SUPERFLOPPY button.
With the xdialog fix now providing the extra buttons.
Tahrpup 6.0.5 must still have something missing that is needed for superfloppy.
Still trying to troubleshoot.
That is not our problem IMHO
I agree this is not YaPI causing the problem.
But, I feel a need to help fix Tahrpup 6.0.5 if I can.
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

#409 Post by bigpup »

B.K. Johnson,
No free flash drive available now to dedicate to an ext file system. Were it testable on a FAT,
YaPI does frugal installs to Fat32 or Fat16 formats.

Example:
I have a USB flash drive formatted Fat32.
It has 5 different Puppy versions installed on it.
Has Grub4dos boot loader on it.
Boots to a boot menu, where you choose which Puppy to run.
Everything was installed using YaPI.

Everything you ask about, YaPI can do.

Frugal install to any partition, any format, any device.

Full installs to any partition on an internal drive that is formatted in a Linux format.

The only install YaPI does, that is a little strange, is the SuperFloppy install to a USB flash drive.
This one does use the entire drive and configures it a special way.
However, it does put a ext4 formatted partition, on the drive, that can be used as a normal partition.
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

#410 Post by bigpup »

The Prize ... a Better PUI! (not just a smarter one, but ...)
I think L18L has produced a very useful Puppy installer. :!: :!: :lol:
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