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 Mon 20 Nov 2017, 13:36
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 1 of 31 [461 Posts]   Goto page: 1, 2, 3, ..., 29, 30, 31 Next
Author Message
bigpup


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

PostPosted: Mon 28 Sep 2015, 07:17    Post subject:  YaPI (yet another Puppy Installer) install any Puppy iso
Subject description: Works in all Puppies built from WOOF-CE (Developer/coder L18L)
 

The problem with the Puppy Universal Installer.
It will only install the Puppy version you are running the installer in.
It will not do an install from any other Puppy version.iso file.

Puppy Linux needs a program, running in Puppy, that will do an install using any Puppy version.iso file.

Update:
Thanks to L18L
This is now turned into a new installer program.
YaPI

YaPI pet. This is final release.
http://www.murga-linux.com/puppy/viewtopic.php?p=896834#896834

If you have problems installing the YaPI pet.
Here is some information on what to do:
http://www.murga-linux.com/puppy/viewtopic.php?p=893592#893592

This is what should be possible.

Which Puppy to install
3 options.
1.This actual running Puppy
2. Any other Puppy iso from all storage locations (choose from a list of iso's found on any storage devices attached to computer)
3. Navigate to an iso. Right click and choose "open with... YaPI"

Type of installs on different storage devices.

USB flash drive
( Can have Fat 32 or NTFS Windows format or any Linux format).
Frugal install
Grub4dos bootloader on drive.
SuperFloppy install (Careful it uses all of the drive) Limited to 16GB or less drive size. Does not need a boot loader

External USB hard drive
(Can have Fat 32 or NTFS Windows format or any Linux format).
Frugal install
Grub4dos bootloader on drive.

Internal hard drive or any other type internal drive
(Can have Fat 32 or NTFS Windows format or any Linux format).
Frugal install
Full install (must use a Linux format)
Grub4dos bootloader on drive.

YaPI seems to work OK when run on the newest Puppy versions, made with Woof-CE.
Other Puppy versions may not offer all options.
Frugal and full installs should work.

Note about SuperFloppy installs:
SuperFloppy installs will put the USB flash drive in a non-normal partition/format condition.
To get the USB flash drive back to a normal partition/format condition do the following things.

In a console type this code and hit enter.
Important
(The code of=/dev/sdb sdb is the flash drive, yours could be sdc, sdd, etc.... adjust to match yours)
Code:
dd if=/dev/zero of=/dev/sdb bs=1M count=1

This will remove all partitions, format, and data from USB flash drive.

Use Gparted to get back to normal setup.
1. Make a partition table:
GParted > Device > Create Partition Table > MS-DOS default.
2. Partition and format as you like.

_________________
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

Last edited by bigpup on Thu 31 Mar 2016, 17:47; edited 59 times in total
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 1252
Location: N.E. USA

PostPosted: Sun 18 Oct 2015, 20:47    Post subject:  

Sorry for the late bump, but this is an intriguing idea. One may have to specify the *.iso from a list, but certainly looks good. Frugal/Manual/F2FS methods also selectable.
_________________
Linux user #498913
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Tue 20 Oct 2015, 10:45    Post subject: PUI vs MultiPUP  

Is MultiPUP a "kinda" PUI that may address the ability?
_________________
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 Engines or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Tue 24 Nov 2015, 19:35    Post subject: A PUI with some additional clarity for Frugal setup
Subject description: Or a new Menu item directing to a different tool
 

A forum requester, a little while ago, asked how to go from DVD (or ISO, i dont remember) to Frugal. Many experience PUP users already know how to do this and do so manually. But, as I had remembered, the Puppy Universal Installer (PUI) does this for users, even though I had never used it successfully years ago. In any event, I recommended it to that member.

He immediately fired back that, to him, it addresses FULL install but it was not apparent how to do a Frugal setup. So I put this on my todo list, and last night, using the latest TahrPUP-6041, I gave it a try. Start with Menu>Setup>Puppy Installer

The button "Installation introduction webpage" is nice, but give no hint in how to use the PUI.
The buttons on the screen do NOT hint at anything for Frugal setup. The text description on the screen does not acknowledge that Frugal can be installed in an HDD/SSD much less a USB "drive". Thus a users in now lost in what to do with whatever media he has ideas for setup. So one must guess and having NEVER done this before, the user is now heading down a rabbit hole with no lights and no guidance of what to expect next. (There is no rabbit leading the way.)

For a Frugal, a good guess in the "Puppy Installer" button, even though the button text clearly says full install. On this screen, one still does not know if it is the correct "rabbit hole" selected as nothing suggests that a Frugal install will be allowed.


So knowing that the target is a USB stick, this is selected. The PUI asked which USB to install to,


then the PUI thrust the users in a choice of using one of 2 tools for formating and prepping the USB as a boot device.


With a little knowledge, the user can ploy thru the format process.

And subsequent screens to end in a terminal screen (on black backgroud outside of the prior PUI screens he was using) and has to step thru this unfamilar territory in hopes of arrival with a Frugal USB. Sample below show actions taken and results:
Code:
First-final action in a terminal window
   You are about to install Puppy to /dev/sdf1, with boot parameter pmedia=usbflash.
   The files vmlinuz, initrd.gz, puppy_tahr_6.0.4.1.sfs, extlinux.conf (and maybe zdrv_tahr_6.0.4.1.sfs if it exists. puppy_tahr_6.0.4.1.sfs may be inside initrd.gz) will be written to /dev/sdf1 and Extlinux will be used to make it bootable.

2nd-final action in the terminal window
   Making sdf1 bootable.../mnt/data is device /dev/sdf1
   Copying vmlinuz...
   Creating extlinux.conf...

3rd-final action in the terminal window
   Would you like extlinux.cfg to have pfix=copy boot parameter?
      this will cause puppy_tahr_6.0.4.1.sfs to be copied into RAM at bootup, which slows bootup but speeds application startup slightly. Probably good to answer yes here if PC has 256MB or more RAM. (you can edit extlinux.conf later to change the choice made here) (note, Puppy will override this and not copy if there is insufficient RAM)
   ENTER key only for no, else any char then ENTER for yes: y

4th-final action in the terminal window
   Copying initrd.gz...
   Copying .sfs files...

5th-final action in the terminal window
   Finished, press ENTER key to continue:
   "The DVD disc media is eject and the light on the USB stops flashing."

Listing of all files on the newly created USB
root# ls -l /mnt/sdf1
   total 208824
   -rw-r--r-- 1 root root       126 Nov 24 12:20 boot.msg
   -rw-r--r-- 1 root root       167 Nov 24 12:20 extlinux.conf
   -rw-r--r-- 1 root root      1247 Nov 24 12:20 help2.msg
   -rw-r--r-- 1 root root      1463 Nov 24 12:20 help.msg
   -rw-r--r-- 1 root root   1320567 Nov 24 12:20 initrd.gz
   -r--r--r-- 1 root root     32256 Nov 24 12:12 ldlinux.sys
   -rw-r--r-- 1 root root      7677 Nov 24 12:20 logo.16
   drwx------ 2 root root     16384 Nov 24 04:51 lost+found
   -rw-r--r-- 1 root root 181145632 Nov 24 12:21 puppy_tahr_6.0.4.1.sfs
   -rw-r--r-- 1 root root   3574864 Nov 24 12:12 vmlinuz
   -rw-r--r-- 1 root root  27488256 Nov 24 12:22 zdrv_tahr_6.0.4.1.sfs2 USB files, extlinux.conf and ldlinux.sys replace the DVD's isolinux.bin and isolinux.cfg
I achieved success, but, it IMHO was due to some Puppy familiarity couple with luck in doing so.

Most importantly, you may have noticed that the PUI in creating my needs NEVER really mentions I am on the path to a Frugal USB setup.

I think someone may want to rethink this layout of the process to make it a little easier for user understanding.

One idea is to add a "tab" to @Rcrsn51's "peasydisc" to take the DVD disc (ISO) to creation of the Frugal disk. Then the Menu, for Frugal setup, could open to a tab in that utility which copies the disc contents and sets the BM as he has it doing on other screens in the peasydisc utility. This is a very nice utility which seems to have much already there for this. It could bring clarity via his screen structures for user understanding and use, going from disc to frugal. Again, this is just an idea as other options could be employed for clarity in going from disc to frugal.

Hope this is useful in understanding the dilemma an unfamiliar user is facing, no matter which PUP distro using a current or past PUI.

_________________
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 Engines or use DogPile
Back to top
View user's profile Send private message 
L18L

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

PostPosted: Wed 25 Nov 2015, 05:44    Post subject: Re: A PUI with some additional clarity for Frugal setup  

gcmartin wrote:
He immediately fired back that, to him, it addresses FULL install but it was not apparent how to do a Frugal setup.

Immediately firing back does not make one recall:
Quote:
required for 'full install'

IS NOT
Quote:
for 'full install' only


------
EDIT on another note...
Quirky is not Puppy
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Wed 25 Nov 2015, 14:06    Post subject:  

You are not offered install options for a USB flash drive.
The only install that is done, is a frugal to a USB flash drive.
There is no other option to offer. So, you will not see the page for selecting full or frugal.

If you had selected to install to a hard drive.
You would have been given option to do a frugal or full install.

The installer shows different pages based on the device you selected to install on.

Making an installer easy to use for a new user is simple.
Hit install and it never asks you anything or tells you what it is doing.

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

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Thu 26 Nov 2015, 17:42    Post subject:  

@L18L you correctly point out the problem. Throughout the Puppy Forum, members talk about "Live", "Frugal", "Full". The PUI, a utility useful for doing this DOES NOT USE the language used in the forum.

Clarity, is what I feel would improve its understanding so that novices feel that the utility is design to meet the objectives of the language used in the forum.

The PUI, IMHO, does not go far enough to make that clear. Thus one stumbles thru the many screens to failure, dead-ends, or success, unnecessarily.

And this is what I am bringing forward for community evaluation...Clarity by using forum's decade-old language, even if the steps don't change.

_________________
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 Engines or use DogPile
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sat 28 Nov 2015, 00:49    Post subject:  

The problem is getting someone to do the code changes Idea
_________________
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: Mon 30 Nov 2015, 06:02    Post subject: Re: Puppy Universal Installer
Subject description: Anyone want to make this a universal installer for any Puppy iso?
 

bigpup wrote:
Maybe, just do not have the sanity check.

Just put
Code:
#
in front of it.

Why don't I do it?

It should be done in a recent woof-CE built puppy.
Any of these do not run on my computer.
Give me a link for downloading woof-CE's PUI
and I will make these changes
so you can give it a try.
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Mon 30 Nov 2015, 12:52    Post subject:  

Delted by me to stop people downloading from here.
_________________
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

Last edited by bigpup on Sat 13 Feb 2016, 20:16; edited 1 time in total
Back to top
View user's profile Send private message 
L18L

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

PostPosted: Mon 30 Nov 2015, 15:17    Post subject: Puppy Universal Installer
Subject description: sanity check
 

Hi bigpup

Found in function locate_puppy_files line 441:
Code:
#sanity check...
if [ ! -f ${SRCPATH}/${DISTRO_PUPPYSFS} ];then #v3.01 v424 100913
 [ "$SRCPATH" = "/mnt/$CDDRIVE" ] && eject /dev/$CDDRIVE
 Xdialog --wmclass "gtkdialog2" --left \
 --title "$(gettext 'Puppy universal installer: ERROR')" \
 --msgbox "`eval_gettext \"Oh dear, a 'sanity check' has failed.\
 \nThis file: \\\$SRCPATH/\\\${DISTRO_PUPPYSFS}\ndoes not exist.\nThe above \
 is supposed to be path-to-where-puppy-files-are/\\\${DISTRO_PUPPYSFS}\
 \nClick OK button to quit...\"`" 0 0
 exit
fi
} #end locate_puppy_src_files function.
# to each of above lines from if to fi should skip sanity check

or maybe better:
change
Code:
${DISTRO_PUPPYSFS}
to
Code:
*.sfs

and a very tolerant check (existance of any sfs) is retained.

Note, I did download #3; thus there might also one or another be interested in helping.
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Mon 30 Nov 2015, 22:01    Post subject:  

Quote:
# to each of above lines from if to fi should skip sanity check


Doing this does stop the sanity check, but there is more needed to get it to install just any puppy iso.

In the process it is still wanting the files for the version it is running in.

I get this after selecting the device to install on.
The install process continues, but it will only install the Puppy identified in this message window.
capture26821.png
 Description   
 Filesize   17.27 KB
 Viewed   1710 Time(s)

capture26821.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: 9517
Location: Charleston S.C. USA

PostPosted: Mon 30 Nov 2015, 22:57    Post subject:  

Trying to install from a Slacko iso in a directory.
I got this much to install.
capture13478.png
 Description   
 Filesize   27.27 KB
 Viewed   1717 Time(s)

capture13478.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: Tue 01 Dec 2015, 05:06    Post subject: Puppy Universal Installer
Subject description: for any puppy
 

bigpup wrote:
Doing this does stop the sanity check, but there is more needed to get it to install just any puppy iso.


Specification is sourced from /etc/DISTRO_SPECS of the running puppy.
Maybe if sourced from the puppy that has to be installed will suffice.

A helper better than me would be the author(s) of
Code:
#140705 major overhaul of guis and conditions.
Back to top
View user's profile Send private message 
L18L

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

PostPosted: Fri 04 Dec 2015, 12:30    Post subject: Puppy Universal Installer for any puppy
Subject description: step 1
 

L18L wrote:
Maybe if sourced from the puppy that has to be installed will suffice.

Insert the following
Code:
# L18L / bigpup : choose source to be installed; from running or another puppy.iso
while : ; do

 Xdialog --title " P U I " --no-cancel --menu "Install" 12 48 4 "this" "actual running Puppy" "or" "another .iso" 2>/tmp/PUIfrom
 [ "$(cat /tmp/PUIfrom)" = "this" ] && break # existing way

 # our new feature
 Xdialog --title "Select the iso that you want to install" --no-cancel --fselect /mnt/home/ 0 0  2>/tmp/PUIfrom
 chosenISO="$(cat /tmp/PUIfrom)"
 echo chosenISO=$chosenISO
 [ "$chosenISO" ] || continue # stay in loop if no choice has been made
 [ "${chosenISO##*.}" = "iso" ] || continue # stay in loop if choice has no .iso extension

 #get /etc/DISTRO_SPECS from target iso
 mkdir -p /tmp/PUI
 mount -o loop $chosenISO /tmp/PUI

 for aFILE in $(ls /tmp/PUI/*.sfs); do

  unsquashfs $aFILE etc
  aSPECS=squashfs-root/etc/DISTRO_SPECS
  if [ -f $aSPECS ]; then
   cat $aSPECS # test only
   source $aSPECS
   umount /tmp/PUI
   rm -rf squashfs-root
   break 2
  fi
 
 done
 umount /tmp/PUI
 rm -rf squashfs-root

done
# L18L / bigpup : choose source to be installed; from running or another puppy
just before
Code:
 #get latest Puppy files....
locate_puppy_src_files
please.
PUI_Screenshot_2015-12-04(2).png
 Description   
 Filesize   14.18 KB
 Viewed   1599 Time(s)

PUI_Screenshot_2015-12-04(2).png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 31 [461 Posts]   Goto page: 1, 2, 3, ..., 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.1095s ][ Queries: 12 (0.0159s) ][ GZIP on ]