grub2 version 2.06

Moderator: Forum moderators

Post Reply
gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

grub2 version 2.06

Post by gyrog »

I've uploaded 'grub2.tar.gz' to https://www.mediafire.com/folder/qiwvlxw46bp5f/iso
It contains a complete set of grub2 binaries, both "pc" and "efi" in grub terminology, sourced from debian 2.06-13+deb12u1 unsigned packages.

It is meant to be used to replace the 2.04 and 2.03 grub2 binaries installed by FrugalPup,
provided your computer is not uefi booting with "Secure Boot" enabled.

It has the directory structure of the fat32 boot partition, and it contains only the files to be replaced.
It could be extracted directly into the root of the fat32 boot partition.
if your mounted fat32 boot partition is '/mnt/sdd1' you could use a terminal command like:

Code: Select all

tar xf grub2.tar.gz --overwrite -C /mnt/sdd1

Note:These binaries will not work if "Secure Boot" is enabled.

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: grub2 version 2.06

Post by bigpup »

Being able to boot with secure boot enabled is a must have.

What is in Frugalpup Installer can do that.

So what is this really providing that is needed?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: grub2 version 2.06

Post by gyrog »

bigpup wrote: Fri Dec 01, 2023 5:39 pm

Being able to boot with secure boot enabled is a must have.

What is in Frugalpup Installer can do that.

So what is this really providing that is needed?

A current version of grub2.
While playing with directly booting ISO files, I found that some would fail when using the grub2 installed by FrugalPup,
but they would work if I replace the grub2 installed on my fat32 boot partition, with the grub2 2.06 included here.

Quite simply this is as far as I have gotten with replacing the grub2 currently installed by FrugalPup.
The road for me being able to provide a grub2 2.06 that includes support for running with "Secure Boot" enabled, still has some way to go.
I'm making availabe what I have.

FrugalPup's current grub2 was provided by @jamesbond.

If there is anyone who can provide a grub2 2.06 that works with "Secure Boot" enabled, please do.

williwaw
Posts: 1948
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 369 times

Re: grub2 version 2.06

Post by williwaw »

gyrog wrote: Sat Dec 02, 2023 6:57 am

While playing with directly booting ISO files, I found that some would fail when using the grub2 installed by FrugalPup,
but they would work if I replace the grub2 installed on my fat32 boot partition, with the grub2 2.06 included here.

Quite simply this is as far as I have gotten with replacing the grub2 currently installed by FrugalPup.
The road for me being able to provide a grub2 2.06 that includes support for running with "Secure Boot" enabled, still has some way to go.
I'm making availabe what I have.

FrugalPup's current grub2 was provided by @jamesbond.

If there is anyone who can provide a grub2 2.06 that works with "Secure Boot" enabled, please do.

Can you explain more which distros had problems that were fixed with 2.06?
and do you have a example grub2 grub.cfg stanza that works well?

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: grub2 version 2.06

Post by gyrog »

williwaw wrote: Thu Jan 18, 2024 6:35 pm

Can you explain more which distros had problems that were fixed with 2.06?

No, unfortunately I can't remember.

williwaw wrote: Thu Jan 18, 2024 6:35 pm

do you have a example grub2 grub.cfg stanza that works well?

Here is a grub2 boot entry that works for me for ISO files that support 'loopback.cfg':

Code: Select all

menuentry "BookwormPup64_10.0.3.iso" {
  rmmod tpm
  insmod ext2
  rootuuid=0db94719-cdf1-44b7-9766-23db62fb85a5
  export rootuuid
  search --no-floppy --fs-uuid --set=root $rootuuid
  iso_path="/boot-isos/BookwormPup64_10.0.3.iso"
  export iso_path
  loopback loop $iso_path
  root=(loop)
  configfile /boot/grub/loopback.cfg
  loopback -d loop
}
Clarity
Posts: 3829
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1628 times
Been thanked: 522 times

grub2 v2.06 version upgrade to v2.12

Post by Clarity »

GRUB2 has matured to version 2.12. Is it time to present to WoofCE the upgrade?

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: grub2 v2.06 version upgrade to v2.12

Post by gyrog »

Clarity wrote: Tue Mar 12, 2024 4:35 am

GRUB2 has matured to version 2.12. Is it time to present to WoofCE the upgrade?

Yes, this has been true since 2.6 first appeared.
But who is going to do it?
I did not produce the signed grub2 2.03, that is still standard in Puppy.

This grub2 2.06 is unsigned and "borrowed" from debian.

Some day I might get around to "borrowing" an unsigned grub2 from debian, and signing it myself.
But I'm not sure that a signed debian grub2 won't expect a signed 'vmlinuz'.

User avatar
Vverve
Posts: 148
Joined: Tue Jul 14, 2020 1:12 pm
Location: 45°17'43.6"N 72°16'10.4"W avatar;Mira.ca
Has thanked: 7 times
Been thanked: 14 times

Re: grub2 version 2.06

Post by Vverve »

gyrog wrote: Fri Dec 01, 2023 11:57 am

I've uploaded 'grub2.tar.gz' to https://www.mediafire.com/folder/qiwvlxw46bp5f/iso

Code: Select all

tar xf grub2.tar.gz --overwrite -C /mnt/sdd1

Thanks gyrog
Worked here !!

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: grub2 version 2.06

Post by gyrog »

I've uploaded 'grub2.06-efi.tar.gz' to https://www.mediafire.com/folder/qiwvlxw46bp5f/iso
It contains only signed EFI binaries sourced from debian 2.06-13+deb12u1 signed packages.
As such it contains only a './EFI/boot' directory.

It is meant to be used to replace either 2.03 signed or 2.06 unsigned EFI binaries.
These will boot with "Secure Boot" enabled, but then booting Puppy will fail because the kernel is unsigned.
They also work fine if "Secure Boot" is not enabled.

It could be extracted directly into the root of the fat32 boot partition.
if your mounted fat32 boot partition is '/mnt/sdd1' you could use a terminal command like:

Code: Select all

tar xf grub2.06-efi.tar.gz --overwrite -C /mnt/sdd1

Note:These represent the first step towards a "Secure Boot" enabled Puppy.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: grub2 version 2.06

Post by gyrog »

I've uploaded 'grub2-efi-g2unsigned.tar.xz' and 'grub2-efi-g2signed.tar.xz' to https://www.mediafire.com/folder/qiwvlxw46bp5f/iso
They are the equivalent of the 'grub2-efi.tar.xz' file currently found in FrugalPup.
As such, either could be renamed and used as a replacement for 'grub2-efi.tar.xz'

The only difference is that in 'grub2-efi-g2signed.tar.xz' all the '.efi' files are signed by Debian, (same as in 'grub2.06-efi.tar.gz').
But in 'grub2-efi-g2unsigned.tar.xz', 'grubia32.efi' and 'grubx64.efi' are both unsigned, ready for signing by a local MOK.

gyrog
Posts: 644
Joined: Thu Oct 01, 2020 8:17 am
Location: Australia
Has thanked: 16 times
Been thanked: 231 times
Contact:

Re: grub2 version 2.06

Post by gyrog »

Please use the 'grub2-efi-bin.tar.xz' file as your source for grub2 binaries,
viewtopic.php?p=131997#p131997.

Or extract the same file from the FrugalPup v42 release, viewtopic.php?p=132128#p132128.

Post Reply

Return to “System”