all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* extlinux and a bootloader system rewrite
@ 2024-04-23  1:44 Lilah Tascheter
  2024-04-29 19:04 ` Vagrant Cascadian
  0 siblings, 1 reply; 2+ messages in thread
From: Lilah Tascheter @ 2024-04-23  1:44 UTC (permalink / raw)
  To: guix-devel

heyall!

I've been working on a large bootloader subsystem rewrite to get
everything working together nicer and support future bootloaders
better. however, extlinux is being a bit of an issue.

extlinux installs its second stage (ldlinux.sys) by copying it into the
root (or boot) filesystem, and then copying the on-disk block offset
into the bootblock first-stage. this relies on the now-heavily
discouraged practice of assuming files just stay in the same physical
spot. it requires special treatment with btrfs, will break if anything
rearranges the file-system, and will most likely never work on disk
images.

it hasn't been updated since 2014 and kinda shows.

a possible solution would be re-implementing its installer and instead
installing ldlinux.sys to a separate partition, or maybe see if it
could re-use GRUB's method of installing in the partition gap or even
editing the disk image installer to work in an losetup'd container or
some shit. but, honestly, I don't know if that would actually help
anyone.

does anyone use extlinux on guix still? would anyone mind if I just nix
it (guix it?) entirely in the patch series? grub supports every case
extlinux would support anyway.

thanks!
leila


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: extlinux and a bootloader system rewrite
  2024-04-23  1:44 extlinux and a bootloader system rewrite Lilah Tascheter
@ 2024-04-29 19:04 ` Vagrant Cascadian
  0 siblings, 0 replies; 2+ messages in thread
From: Vagrant Cascadian @ 2024-04-29 19:04 UTC (permalink / raw)
  To: Lilah Tascheter, guix-devel

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

On 2024-04-22, Lilah Tascheter wrote:
> I've been working on a large bootloader subsystem rewrite to get
> everything working together nicer and support future bootloaders
> better. however, extlinux is being a bit of an issue.
...
> does anyone use extlinux on guix still? would anyone mind if I just nix
> it (guix it?) entirely in the patch series? grub supports every case
> extlinux would support anyway.

I don't know if extlinux proper is used by anyone, but various platforms
that use u-boot use extlinux-style menus, so at least those parts should
not be dropped.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-29 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-23  1:44 extlinux and a bootloader system rewrite Lilah Tascheter
2024-04-29 19:04 ` Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.