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 15 Nov 2018, 08:59
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
FrugalPup v0.6 - Puppy frugal installer
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
gyro

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Sun 23 Sep 2018, 05:43    Post subject:  FrugalPup v0.6 - Puppy frugal installer
Subject description: includes easy to use usb stick installer - StickPup v0.6
 

Download extra sfs, http://www.fishprogs.software/puppy/frugalpup/frugalpup_0.6.sfs (920 KiB).

See http://www.murga-linux.com/puppy/viewtopic.php?p=1009308#1009308 for announcement of latest.

This could be called "Yet Another Puppy Frugal Installer", so why?
It all started when I discovered that grub2-efi supports not only booting a "vmlinuz" and "initrd.gz" on some partition other than the boot partition,
but also specifying this other partition with a label or uuid.

This utility can be used to setup one or more Puppy frugal installs in a directory,
and setup a fat32 partition to boot them.

It provides full support for the install directory and the save directory being on separate partitions, even on separate drives.
It provides full support for the boot partition containing only boot loader files, including with a uefi boot.
It writes boot entries containing boot parameters to communicate the above configurations to the "init" script.

It uses grub2-efi for uefi booting and grub4dos for mbr/legacy booting.

It supports uefi booting on gpt partitioned drives.
It does not support mbr/legacy booting on gpt partitioned drives.
It does not write an MBR for uefi only booting.

It assumes all booting is done with a fat32 partition, usually the first partition on some drive.
It assumes that relevant drives are partitioned, and that relevant partitions are formated.

It consists of 2 facilities:
"puppyfiles", manages the actual install directories and save directories.
"bootfiles", sets-up the selected boot partition to boot all Puppy frugal installs in the selected directory.
The idea is that you run "puppyfiles" for each Puppy you wish to install,
then run "bootfiles" once to enable booting of all these Puppies.
Although each facility can be run independently of the other.

Both facilities proceed through several selection dialogs to a confirming dialog, containing a summary of the current selections.
At this point, clicking on "Quit" safely abandons the process, clicking on "OK" continues on to copying files etc..

Some examples:

A. A single puppy, all on a single vfat(fat32) partition, e.g. a usb stick.

1. Under the "Setup" menu click on "FrugalPup - Puppy frugal installer".
2. Click on the "Puppy" button.
3. Click on "OK" to select "iso".
4. Select the relevant iso file.
5. Select the vfat partition to contain Puppy.
6. Create a directory to contain Puppy.
7. Click on "OK" with no selected partition to avoid defining a separate save partition.
8. Click on "OK" with no selected items to avoid defining any kernel boot parameters.
9. If selections look fine, click "OK" to start writing.
10. Click "OK" to confirm writing done.

11. Click on the "Boot" button.
12. Click on "OK" to select the root directory of the vfat partition as the source directory.
13. Select the vfat partition as the boot partition.
14. Click on "OK" to accept the default boot type, "both".
15. If selections look fine, click "OK" to start writing.
16. Click "OK" to confirm writing done.

17. Click on "Quit" to exit the utility.


B. Two Puppies (slakco and upupbb) that boot from a usb stick, with install directories on SSD (sda2), and save directories on HD (sdb2).

1. Under the "Setup" menu click on "FrugalPup - Puppy frugal installer".
2. Click on the "Puppy" button.
3. Click on "OK" to select "iso".
4. Select the slacko iso file.
5. Select "sda2" partition to contain Puppy.
6. Select/create "slacko" directory to contain Puppy.
7. Select "sdb2" as the save partition.
8. Select/create "slacko" directory to contain the savefolder.
9. Click on "OK" with no selected items to avoid defining any kernel boot parameters.
10. If selections look fine, click "OK" to start writing.
11. Click "OK" to confirm writing done.

12. Click on the "Puppy" button.
13. Click on "OK" to select "iso".
14. Select the upupbb iso file.
15. Select/create "upupbb" directory on sda2 to contain Puppy.
16. Select/create "upupbb" directory on sdb2 to contain the savefolder.
17. Click on "OK" with no selected items to avoid defining any kernel boot parameters.
18. If selections look fine, click "OK" to start writing.
19. Click "OK" to confirm writing done.

20. Click on the "Boot" button.
21. Click on "OK" to select the root directory of sda2 as the source directory.
22. Select the usb stick vfat partition as the boot partition.
23. Click on "OK" to accept the default boot type, "both".
24. If selections look fine, click "OK" to start writing.
25. Click "OK" to confirm writing done.

26. Click on "Quit" to exit the utility.


C. A usb stick to boot Puppies already installed in sub-directories under the /puppy directory on sdb2.

1. Under the "Setup" menu click on "FrugalPup - Puppy frugal installer".
2. Click on the "Boot" button.
3. Select the sdb2 partition as the source partition.
4. Select "puppy" as the source directory.
5. Select the usb stick vfat partition as the boot partition.
6. Click on "OK" to accept the default boot type, "both".
7. If selections look fine, click "OK" to start writing.
8. Click "OK" to confirm writing done.

9. Click on "Quit" to exit the utility.


Notes:

1. "puppyfiles" will not create an install directory on an f2fs partition, because the current grub2-efi will not find it's uuid or label.
(You can however define a save directory on an f2fs partition.)

2. "puppyfiles" can also be used to update an install directory with the newer files in a new version of the same Puppy.
(e.g. after a new delta release of upupbb.)

3. "bootfiles" always writes a "TZ=" boot parameter whose value is derived from the currently running Puppy.

4. "bootfiles" only writes an MBR if either "mbr" or "both" is selected for boot type, and it writes it to the drive (not the partition) when it does.

5. "grub2-efi" seems to be missing from current woof-ce 32bit puppies, i.e. upupbb.
So, the sfs contains it's own copy of "grub2-efi".

gyro

Last edited by gyro on Wed 07 Nov 2018, 07:55; edited 4 times in total
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sun 23 Sep 2018, 07:09    Post subject:  

Something different for doing installs.
Seems OK as a way to do installs.
Just started trying to use it.

Trying to do install to a USB flash drive.
On the window where you select the directory to install to.
If you select create folder.
A line opens for typing in the name of the folder you want to create. Type in a name.
Selecting OK.
New folder is not created.

To make the new folder.
After typing in the name for folder.
Have to press enter on keyboard.

Is selecting OK suppose to make the folder?

It would be better if that create folder button was named create directory.
capture8397.png
 Description   
 Filesize   44.22 KB
 Viewed   447 Time(s)

capture8397.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 
peebee


Joined: 21 Sep 2008
Posts: 3532
Location: Worcestershire, UK

PostPosted: Sun 23 Sep 2018, 07:13    Post subject:  

Quote:
5. "grub2-efi" seems to be missing from current woof-ce 32bit puppies, i.e. upupbb.

It looks quite big....??
Code:
grub-efi-ia32_2.02|grub-efi-ia32|2.02|2ubuntu8.4|Setup|187K|pool/main/g/grub2|grub-efi-ia32_2.02-2ubuntu8.4_i386.deb|+debconf&ge0.5,+grub-common&eq2.02,+grub2-common&eq2.02,+grub-efi-ia32-bin&eq2.02,+ucf|GRand Unified Bootloader version 2 EFI-IA32 version|ubuntu|bionic||
grub-efi-ia32-bin_2.02|grub-efi-ia32-bin|2.02|2ubuntu8.4|Setup|2006K|pool/main/g/grub2|grub-efi-ia32-bin_2.02-2ubuntu8.4_i386.deb|+grub-common&eq2.02,+efibootmgr|GRand Unified Bootloader version 2 EFI-IA32 binaries|ubuntu|bionic||

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
bigpup


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

PostPosted: Sun 23 Sep 2018, 07:28    Post subject:  

Running the boot setup.

Why would you want to create a folder when you are at this window?
capture12954.png
 Description   
 Filesize   53.13 KB
 Viewed   433 Time(s)

capture12954.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: 11257
Location: Charleston S.C. USA

PostPosted: Sun 23 Sep 2018, 19:19    Post subject:  

Quote:
A. A single puppy, all on a single vfat(fat32) partition, e.g. a usb stick.

1. Under the "Setup" menu click on "FrugalPup - Puppy frugal installer".
2. Click on the "Puppy" button.
3. Click on "OK" to select "iso".
4. Select the relevant iso file.
5. Select the vfat partition to contain Puppy.
6. Create a directory to contain Puppy.


That step 6 is maybe a problem.

Installing a Puppy made with the latest WOOF-CE.
Installing Bionicpup64 7.9.3
At step 6 I made a directory named bionicpup.
Installed to that directory went OK.
Setup the boot loader.
That went OK.

Tried to boot Bionicpup64 7.9.3
Selected the correct menu entry to boot it.
The boot process started.
Got to a bunch of error messages. The main message was could not find the puppy_bionicpup64_7.9.3.sfs (the main sfs).

Here is how I fixed it:
Changed the name of the directory the install is in.
Changed it from bionicpup to bionicpup64793uefi
Tried booting again and no problem booting to the desktop.

So, seems to be something in the Puppy boot process that is searching for a very specific named directory to find the main sfs.

The boot menu entries are the same, only the name of the directory was changed. So, nothing in the boot menu entry setup was bad.

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

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Mon 24 Sep 2018, 08:23    Post subject:  

@peebee,
Yes it's on the large side, in xenialpup the uncompressed directory is 645K according to "du".
Interesting that it's in xenialpup, but not in later 32bit Puppies.

@bigpup,
The "Create Folder" button comes with the "yad --file --directory" dialog.
So, the chances that I will change it are virtually zero.

As to the problem with bionicpup64, I've not seen anythhing like this, I'll try to replicate.
From my memory, the "init" script does not expect any specific sub-directory for a particular puppy, it looks where it's told by boot parameters.

Thanks for testing

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

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Mon 24 Sep 2018, 09:24    Post subject:  

@bigpup,
Forgot to mention that the need to hit the "Enter" key to create a new folder, is part of the "yad --file --directory" dialog.
The idea of the "confirm" dialog, is that if anything is confusing, you can safely try different things and bail out if they don't end up looking correct.

As to bionicpup64, I just installed it to a usb stick using FrugalPup.
Unfortunately it all went fine, including the boot.
My generated grub4dos menu entry is:
Code:
title Puppy bionicpup64_7.9.3
    uuid
    kernel /bionicpup/vmlinuz pmedia=usbflash pupsfs=USBPBOOT psubdir=/bionicpup pfix=fsck,fsckp TZ=AEST-10
    initrd /bionicpup/initrd.gz
What was your generated menu entry?

Hmm... just noticed the missing uuid value, will fix.
Strange that it still boots on my machine.

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

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Mon 24 Sep 2018, 10:23    Post subject: FrugalPup v0.4 - Puppy frugal installer  

Bug-fix version:

Download extra sfs, http://www.fishprogs.software/puppy/frugalpup/frugalpup_0.4.sfs (684 KiB).

Fixes 2 issues:
1. Missing "uuid" value in grub4dos "menu.lst" generated by "bootfiles".
2. Using "puppyfiles" to update Puppy files, not work if Puppy source is a zip file.

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


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

PostPosted: Mon 24 Sep 2018, 22:30    Post subject:  

gyro wrote:
@bigpup,
As to bionicpup64, I just installed it to a usb stick using FrugalPup.
Unfortunately it all went fine, including the boot.
My generated grub4dos menu entry is:
Code:
title Puppy bionicpup64_7.9.3
    uuid
    kernel /bionicpup/vmlinuz pmedia=usbflash pupsfs=USBPBOOT psubdir=/bionicpup pfix=fsck,fsckp TZ=AEST-10
    initrd /bionicpup/initrd.gz
What was your generated menu entry?

Hmm... just noticed the missing uuid value, will fix.
Strange that it still boots on my machine.

gyro


I did it again using the Frugalpup V04.
This time it boots OK.
So, maybe it was something to do with that uuid missing.
uuid is getting used in this new menu entry.
Notice the
Code:
pupsfs=6BE4-77FA


My working menu entry.
Code:
title Puppy bionicpup64_7.9.3
    uuid 6BE4-77FA
    kernel /bionicpup/vmlinuz pmedia=usbflash pupsfs=6BE4-77FA psubdir=/bionicpup pfix=fsck,fsckp TZ=EST5EDT,M3.2.0,M11.1.0
    initrd /bionicpup/initrd.gz

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

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Wed 26 Sep 2018, 07:06    Post subject:  

bigpup wrote:
I did it again using the Frugalpup V04.
This time it boots OK.
So, maybe it was something to do with that uuid missing.
I'm pretty sure it was.
My v0.4 menu entry:
Code:
title Puppy bionicpup64_7.9.3
    uuid F8FD-4197
    kernel /bionicpup/vmlinuz pmedia=usbflash pupsfs=USBPBOOT psubdir=/bionicpup pfix=fsck,fsckp TZ=AEST-10
    initrd /bionicpup/initrd.gz
Note that in my entry "pupsfs=" uses the label of the partition, rather than the uuid.
So, with the uuid value being empty, I gave grub4dos rubbish, but I gave the "init" script good info.
When your entry had an empty uuid value, you gave grub4dos rubbish, and the "init" script rubbish.

From my perspective, bug found, bug fixed.

Thanks for testing.

Note: A grub4dos menu entry always uses a
Code:
uuid F8FD-4197
line to specify the partition to grub4dos.
But the "pupsfs=" parameter will use the partition label instead, if one exists.
(I am in the habit of adding a unique label to each of my partitions.)

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

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Fri 05 Oct 2018, 16:16    Post subject: FrugalPup v0.5 - Puppy frugal installer.  

FrugalPup v0.5 - Puppy frugal installer.

Now includes a "GParted" button for convenience,
and a companion utility StickPup v0.5, a no-frills formater/installer for usb flash drives.

Download extra sfs, http://www.fishprogs.software/puppy/frugalpup/frugalpup_0.5.sfs (688 KiB).

This utility uses 3 "places".

1. The "boot partition":
this is always a fat32 partition, for easy compatibility with uefi.

2. The "install partition" and "install directory":
This directory contains the Puppy release files, i.e. the sfs's and vmlinuz and initrd.gz.

3. The "save partition" and "save directory":
This directory contains the save layer.
If different from the "install partition" then the "save partition" is a Linux partition for savefolder support.

"FrugalPup" supports all 3 places being different, or any 2 the same, or all the same.

"StickPup" supports only all 3 being the same, (single fat32 partition),
or both the "boot partition" and the "install partition" being a fat32 partition and the "save partition" being on an f2fs partition, both on the usb flash drive.

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

Joined: 28 Oct 2008
Posts: 1553
Location: Brisbane, Australia

PostPosted: Wed 07 Nov 2018, 07:27    Post subject: FrugalPup v0.6 - Puppy frugal installer  

FrugalPup v0.6 - Puppy frugal installer.

This version includes a newer "grubx64.efi" file, significantly bigger than previous.

The companion utility StickPup v0.6 is now even simpler than previous.
It now supports only the creation of a single fat32 partition usb stick for both uefi and mbr booting.
It's only dialogs are:
1. Select a usb stick
2. Select a Puppy source type.
3. Select the Puppy source file/directory to use.
4. Confirm before doing anything.

Download extra sfs, http://www.fishprogs.software/puppy/frugalpup/frugalpup_0.6.sfs (920 KiB).

Note:
"StickPup" is just a different, simple gui frontend for the "FrugalPup" files, "frugalpup-puppyfiles" and "frugalpup-bootfiles".

gyro
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
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.1586s ][ Queries: 12 (0.0079s) ][ GZIP on ]