FrugalPup 20 - Puppy frugal installer.

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#16 Post by gyro »

polekat wrote:I get this when run from the terminal . it wouldn't run from the menu

"/usr/sbin/frugalpup: line 69: yad32: not found"

I'm running lxpup. quick search shows no yad32
Sorry, I've uploaded a new version to fix this.
Download extra sfs, http://www.fishprogs.software/puppy/fru ... up_0.9.sfs (1.4 MiB)

gyro

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

FrugalPup v0.10 - Puppy frugal installer.

#17 Post by gyro »

FrugalPup v0.10 - Puppy frugal installer.

This version is to fix the following bug:
"StickPup" is not as quiet as it should be, due to "default partition" handling introduced in v0.8.

Download extra sfs, http://www.fishprogs.software/puppy/fru ... p_0.10.sfs (1.4 MiB)

gyro

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

FrugalPup v11 & StickPup v11 - Puppy frugal installer.

#18 Post by gyro »

FrugalPup v11 & StickPup v11 - Puppy frugal installer.

This version includes 2 new features:

1) An "ISO" button that executes "frugalpup-isoboot".
This creates a "$HOME/puppy_boot.iso" file that contains only grub2 configured to non-uefi boot the selected Puppy frugal install(s).
Once you burn the "$HOME/puppy_boot.iso" file to a CD/DVD, you have a CD/DVD that can boot Puppies stored on your system.
It is meant to provide an alternate boot mechanism for machines that can't boot from usb.

Note: You can do a similar thing with "frugalpup-bootfiles" ("Boot" button), i.e. produce a bootable usb stick that doesn't contain any Puppies, but boots Puppies stored on your system.

2) A CLI utility called "bootentry".
This runs the script used by both "frugalpup-bootfiles" and "frugalpup-isoboot" to generate boot entries, so it can be used to preview the entry these scripts would produce.
Simply run "bootentry -h" in a console to see it's usage help message.

Download extra sfs, http://www.fishprogs.software/puppy/fru ... pup_11.sfs (2.7 MiB).

gyro

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

#19 Post by bigpup »

Thank you so much for this software!!

I was looking for any easy way to get a UEFI boot loader installed on an internal emmc drive used as the storage on this computer.
For the uefi bios to be able to select this as a bootable drive.
Secure boot needs to be enabled.
So, the boot loader on the emmc drive needs to be a UEFI boot loader.

What I did using the FrugalPup program.
The emmc drive has two partitions.
First one a small fat32 formatted for boot files.
Second one ext4 format using rest of drive.

I already had a frugal Install of Bionicpup64 8.0 on the ext4 partition.

Started the FrugalPup program.
Selected Boot button.
Selected the partition Bionicpup was on.
Selected the parent directory.
Selected the emmc fat32 first partition as the boot partition.
Selcted uefi for boot type.

Now have a working uefi boot loader that will work with secure boot enabled.

I really like that first window, giving you choices as to what you want to do, using FrugalPup.

I was looking for a installer program a new Puppy user could use.
This is very much one of them!!
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)

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#20 Post by gyro »

bigpup wrote:Thank you so much for this software!
Thank you.
I'm glad you found it to be useful.

gyro

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

#21 Post by bigpup »

Just to let you know.
666philb has added the Stickpup program to Bionicpup64 8.0 as an update to Bionicpup64.

From the installed bugfixes update list after running Bionicpup updates.
swapped bootflash 4 stickpup usb installer ... gyro & bigpup
He was testing how Bootflash worked and after I told him about the FrugalPup package.
He tried StickPup to install to USB.

Here is his post in the Bionicpup64 8.0 topic.
http://www.murga-linux.com/puppy/viewto ... 88#1021888
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)

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

FrugalPup v12 & StickPup v12

#22 Post by gyro »

I have uploaded 'frugalpup_12.sfs' to http://www.mediafire.com/folder/rdyc5lgzpeij1/frugalpup.
This update includes support for SSD's, adds "pfix=trim" to the boot entry.
And adds full support for "Minimal Init Overlay v12".

gyro

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

FrugalPup v13 & StickPup v13

#23 Post by gyro »

I have uploaded 'frugalpup_13.sfs' and 'frugalpup_13.pet' to http://www.mediafire.com/folder/rdyc5lgzpeij1/frugalpup.
This update fixes the support for SSD's, adds "pfix=trim" to the boot entry if it finds an SSD as the install partition or the default save partition, not just the install partition.
It also includes some code cleanup, and provides support for "Minimal Init Overlay v13".

gyro

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

FrugalPup v15 & StickPup v15

#24 Post by gyro »

I have uploaded 'frugalpup_15.sfs' to http://www.mediafire.com/folder/rdyc5lgzpeij1/frugalpup.
This version contains updated uefi support with debian 'grubx64.efi' version 2.04.
This results in a "cleaner" '/EFI/boot' directory, but otherwise no noticable difference.
Still does not support booting Puppies stored on f2fs.

gyro

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

#25 Post by bigpup »

gyro,

Got any interest in maybe working on this?
http://www.murga-linux.com/puppy/viewtopic.php?t=116824
Maybe making your FrugalPup and StickPup features part of the Puppy Universal Installer.

No one seems to be working on this code anymore.

Maybe blending your fine work and the Universal Installer into one great Puppy installer.

Or maybe we can convince, Puppy version developers, to drop the Puppy Universal Installer and just use FrugalPup as the default installer to put into Puppy. :idea: :D
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)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

secure boot

#26 Post by foxpup »

bigpup wrote:Secure boot needs to be enabled.
I cannot confirm this on my laptop lenovo ideapad 510.

I often wondered if frugalpup has something special so it can boot with secure boot enabled.
I finally found some time to try it out.
I does not for me.
I have to disable secure boot.

@bigpup
I wonder if your machine maybe has the security key from canonical.
Maybe from the factory or maybe by installing some debian/ubuntu distro.

To make it perfectly clear:
I do not want secure boot.
I consider secure boot to be a case of drm-encumbered, defective by design.
And it does not ensure security at all.
It allows windows to boot while windows is behaving as malware.

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

#27 Post by bigpup »

No two UEFI bios versions seem to be 100% the same.
Computer manufactures can change them to work anyway they want to.
The computer I was talking about needed secure boot enabled
To boot from it's internal emmc drive.
With secure boot disabled, it would not even show as a boot-able drive.
Thus, it needed a fully supportive UEFI boot loader that would work with secure boot enabled.

So far every computer I have disabled secure boot in the UEFI bios.
Seems to have no problem booting with good old Grub4dos boot loader, which is not a UEFI supportive boot loader.
That is if the UEFI bios will still see the drive as a boot device.

Some UEFI bios computers, will not see external drives as boot-able devices, when secure boot is enabled.
USB drives
CD/DVD drives
It still sees them as data storage drives, but they never show up as a drive to boot from.
Again, depends on the manufactures setup of the UEFI bios.

The computer I used Frugalpup on, required this, to be able to boot from a USB flash drive.
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
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#28 Post by rcrsn51 »

Just out of curiosity: If this method will boot a Puppy while secure boot is ON, how does Puppy supply valid keys?

Are they somewhere in the Puppy ISO?

I have been setting up UEFI boots with a bootx64.efi that I think originally came from JamesBond. Is it actually capable of booting when Secure Boot is ON?

Are these steps needed to make it work?

And if I get the machine to boot, do I then need a signed kernel?

I'd like some guidance before I screw up a machine trying.

--------------------
Last edited by rcrsn51 on Fri 18 Oct 2019, 18:50, edited 2 times in total.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#29 Post by step »

rcrsn51 wrote: I have been setting up UEFI boots with a bootx64.efi that I think originally came from JamesBond. Is it actually capable of booting when Secure Boot is ON?

Are these steps needed to make it work?
The Fatdog64 UEFI installer in Control Panel > Utilites provides bootx64.efi and several other files that should enable the steps you linked. I haven't actually tested secure boot - I don't have the right hardware - but I can see that the installer adds a MOK manager, and a keys folder with many vendor certs inside, plus the Fatdog64.cer file. But I can't see puppy certs in that folder.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#30 Post by rcrsn51 »

step wrote:But I can't see puppy certs in that folder.
I wouldn't expect there to be.

I am looking for someone who has booted a Puppy like bionicpup64-8.0-uefi.iso on a UEFI machine with Secure Boot ON.

Meaning that it was NOT reverted to Legacy (CSM) mode.

I would like to know if they needed to do the additional stuff to register the keys as described by JamesBond.

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

#31 Post by bigpup »

This computer, I am using to post this, has:
secure boot enabled
legacy boot disabled

Running Bionicpup64 8.0-UEFI

It has two partitions on the internal drive.
a small fat32 formatted partition.
The rest of drive is a large ext4 formatted partition.

The boot files are on the small fat32 partition. (boot partition)
The large ext 4 partition has a frugal install of Bionicpup64 8.0

Used the boot installer part of Frugalpup to install the uefi boot loader.

Note:
The grub.cfg, that is shown in first image, is the one with all the boot information entries.
The other grub.cfg just points to it.

Here are the files on the boot partition.
Attachments
Screenshot.png
This is all the boot files on the small partition.
(15.17 KiB) Downloaded 382 times
Screenshot(1).png
This is what is in the efi/boot directory
(19.04 KiB) Downloaded 377 times
Screenshot(2).png
This is what is in the boot/grub directory
(13.86 KiB) Downloaded 380 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
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#32 Post by rcrsn51 »

Thanks, but you never answered the key question.
I would like to know if they needed to do the additional stuff to register the keys as described by JamesBond.
Also, your EFI/boot folder has an additional .efi file that is not present on the flash drive that I set up with FrugalPup.

And that flash drive would NOT boot on a machine with Secure Boot enabled.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#33 Post by foxpup »

rcrsn51 wrote:Thanks, but you never answered the key question.
I would like to know if they needed to do the additional stuff to register the keys as described by JamesBond.
I think you need to.
Enrolling a key will not hurt anyway.
I think that installers from major distros that use secure boot enroll their key during installation.
Their bootloader is signed with their key.
I suppose the bootloader from Fatdog is also signed with their key.
Luckily a signed bootloader also boots with secure boot OFF.

The next question you have asked has been on my mind also and it is important.
And if I get the machine to boot, do I then need a signed kernel?
Once upon a time I have installed Fedora.
With their bootloader I could boot Puppys but I do not remember if I had secure boot on.
So I will set this up again (I never removed the enrolled fedora key) and report back.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#34 Post by rcrsn51 »

I think you need to.
On my UEFI machine, there was no place to do this. It just reported something like "no signed bootloaders" and quit.

I have set up UEFI flash drives several ways, including burning the ISO with dd. None of them could get past this point. But maybe this problem is specific to the UEFI on my machine.

So I'm asking again - has anyone other than Bigpup got a Puppy to work with Secure Boot ON?

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#35 Post by foxpup »

rcrsn51 wrote:Also, your EFI/boot folder has an additional .efi file that is not present on the flash drive that I set up with FrugalPup.
Maybe bootx64.efi is mjg59's shim?
https://mjg59.dreamwidth.org/19448.html

Post Reply