!JWXGMHFqMxxehcSBEN:matrix.org

Tow-Boot

276 Members
Tow-Boot: Let's make booting boring — https://tow-boot.org/ — (Not bridged anymore) — roomnicks with project name in brackets reserved for developers, not end-users please :)60 Servers

Load older messages


SenderMessageTime
28 Sep 2024
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]
In reply to @funderscore:nova.astraltech.org
although I haven't tried it on Tow-Boot myself
I've been using GRUB, the same config I use on all my EFI systems, and it just works, considering the previous caveat :
18:15:08
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]* I've been using GRUB, the same config I use on all my EFI systems, and it just works, considering the previous caveat :)18:15:09
@voker57:matrix.orgvoker57

BootOrder not defined
EFI boot manager couldn't load any image
any idea what's at fault and where to look next?

23:27:10
@voker57:matrix.orgvoker57 *

BootOrder not defined
EFI boot manager couldn't load any image

any idea what's at fault and where to look next?

23:27:13
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] voker57: can you give more context, e.g. what you are exactly trying to achieve at the moment, and how you're trying 23:34:29
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] * voker57: can you give more context, e.g. what you are exactly trying to achieve at the moment, and how you're trying? 23:34:36
@voker57:matrix.orgvoker57
In reply to @samueldr:matrix.org
voker57: can you give more context, e.g. what you are exactly trying to achieve at the moment, and how you're trying?
I'm trying to boot debian using grub-efi on Pinebook Pro, with tow-boot as first stage. I have installed tow-boot in the special firmware memory, and installed grub normally via package manager. My /boot is an EFI partition.
23:47:57
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]can you describe "an EFI partition" more in detail? (just double-checking instead of assuming)23:48:53
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]

(or describe with those)

  • Partitioning scheme (MBR, GPT)
  • Partition type code used for the /boot partition
23:54:32
@voker57:matrix.orgvoker57it's FAT16 partition in GPT table. ESP flag is set on it. I installed grub in it using grub-install --efi-directory=/boot23:59:58
29 Sep 2024
@voker57:matrix.orgvoker57lemme check the code but I think I used the right one00:00:30
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] that sounds right at least 00:00:48
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] if it's only a few lines (as it should) could you find /boot/ '*.efi'? 00:01:57
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] [again assuming the ESP actually is mounted there... double-check that part too, common often ignored mistake :)] 00:02:44
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] * [again assuming the ESP actually is mounted there... double-check that part too, common often unchecked mistake :)] 00:04:13
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]

this is the implementation in U-Boot (and thus Tow-Boot)

the latter link is the command used to find any potential partition on a given medium

00:06:40
@voker57:matrix.orgvoker57boot/EFI/debian/shimaa64.efi .../grubaa64.efi .../mmaa64.efi .../fbaa64.efi00:06:53
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]
In reply to @samueldr:matrix.org
to make things easier, use the fallback bootloader location path, and it should be working...
"good", I think you're only left with handling ^
00:07:21
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]
      --removable            the installation device is removable. This option
                             is only available on EFI.
00:07:47
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS] IIRC that's the flag to use with grub-install 00:07:59
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]“why isn't it working with the usual EFIvars-based boot order stuff?” that's (overly simplified) a limitation in U-Boot with EFI vars after exiting "boot services" (e.g. when the OS is running)00:09:05
@voker57:matrix.orgvoker57great, it boots that file now, thank you!00:11:49
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]
In reply to @samueldr:matrix.org

this is the implementation in U-Boot (and thus Tow-Boot)

the latter link is the command used to find any potential partition on a given medium

[...] and here's how it determines a "bootable" partition

00:12:05
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]great, be aware though that with EFI boot, the "correct" device tree may or may not be in use, depending on your configuration, due to uh, complicated and long-winded DT-related reasons00:13:24
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]that'll also be dependant on how the distro is configured00:13:50
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]* that'll also be dependant on how the distro is configured and its expectations00:13:56
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]I'm not saying there's anything to do about that, but be aware :)00:14:08
@samueldr:matrix.orgsamueldr [Tow-Boot][NixOS]* I'm not saying there's necessarily anything to do about that, but be aware :)00:14:18
@voker57:matrix.orgvoker57yeah, it doesnt fully boot and not sure if the debian kernel will even work at all but that's a different story :)00:14:46
30 Sep 2024
@skvorl:matrix.orgAndrey Skvortsov samueldr [Tow-Boot][NixOS]: could you help with building Tow-Boot using Docker? I can build Tow-Boot for neither pine64-pinephoneA64 nor pine64-pinephonePro/ 07:58:43

There are no newer messages yet.


Back to Room ListRoom Version: 6