WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCL CorePlus, UEFI Secure Boot, Shim or LF Loader  (Read 2126 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
TCL CorePlus, UEFI Secure Boot, Shim or LF Loader
« on: November 25, 2021, 02:44:46 AM »

Its been a long time since I visited this forum again.

Can I boot the TCL Coreplus ISO on my 64-bit Secure Boot enabled UEFI laptop ?

My laptop does not work when Secure Boot is disabled. It doesn't boot at all when Secure Boot is disabled, even when I try to boot TCL from a 2 GB USB. I don't know what to do.

I did some basic Google searching and I found that there are 2 ways to do this. Shim and "LF Loader"/PreLoader.
The PreLoader works by installing hash of the pre-loader created by Linux Foundation into the NVRAM of the system. And then, the "loader.efi" loads the bootloader(syslinux or GRUB 2) and Linux
- https://askubuntu.com/questions/594747/how-to-use-the-linux-foundations-preloader
- https://blog.hansenpartnership.com/linux-foundation-secure-boot-system-released/

Regarding Shim, I honestly have no idea what it is or how it works.

The only thing I need is to boot TCL on my Secure Boot enabled UEFI laptop from my 2GB USB. I have OpenSSL installed on Windows 10 for Git so (I think) I can sign binaries or kernels myself. If I need to sign the TCL kernel for it to boot on my PC, can you please show me the way please ?

Offline gadget42

  • Hero Member
  • *****
  • Posts: 671
Re: TCL CorePlus, UEFI Secure Boot, Shim or LF Loader
« Reply #1 on: November 25, 2021, 03:06:12 AM »
make sure windows is allowing your machine to shut down completely.
to confirm this is the case you will need to check the "power settings" area.
(there should be some "advanced" setting named "rapid-start" or "quick-start" which needs to be "off" / unchecked)
(make sure after you find it and uncheck it that you also save that change in settings)

***also note that windows can and will turn this feature back on without the user necessarily knowing that this occurred***
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: TCL CorePlus, UEFI Secure Boot, Shim or LF Loader
« Reply #2 on: November 25, 2021, 04:02:17 PM »
The most convenient way to deal with this on that modern machine is not to use CorePlus, but TinyCorePure64 loaded by Ventoy which easily deals with Secure-boot.

You create the Ventoy drive with the secure-boot option dropdown.  Copy TCPure64 iso to it.

Reboot and enroll the keys for your machine.  Once done, it will be recognized normally thereafter.  See the Ventoy project for more details.

Of course, in this environment, it won't recognize the cde directory, so standard procedure is to either copy cde directory from the iso you mounted previously, rename it to tce -  to a supported external filesystem, or build up from an initial commandline environment setting your tce location manually.  (tce-setdrive et al)

That's a UNIX book! - cool  -- Garth