unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69588: (chain-loader) declaration will write invalid string on grub.cfg if "+1" is specified instead of an EFI file path.
@ 2024-03-06 17:16 William via Bug reports for GNU Guix
  2024-03-07  0:09 ` bug#69588: [PATCH] Find GRUB root devices for chainloading entries Felix Lechner via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: William via Bug reports for GNU Guix @ 2024-03-06 17:16 UTC (permalink / raw)
  To: 69588

The current (chain-loader) declaration seems to only work properly when
booting in EFI mode[1], as that way you have to specify a file path to
chainload an operating system that's not compatible with GRUB such as
Windows, but this solution will not work properly when using "+1" for
the old MBR/msdos partition table that required bootstrapping, not a
filesystem path, as explained in GRUB's documentation[2].

I've asked about this issue on the guix-help mail list and someone
pointed out where the problem is on the source file[3], it's only a
matter of submitting a patch to fix it so it parses properly when the
(chain-loader) declaration has "+1" for bootstrapping instead of a path.

[1]: https://guix.gnu.org/manual/en/guix.html#chain-loader
[2]: https://www.gnu.org/software/grub/manual/grub/grub.html#chainloader
[3]: https://lists.gnu.org/archive/html/help-guix/2024-03/msg00032.html




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

end of thread, other threads:[~2024-03-19  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 17:16 bug#69588: (chain-loader) declaration will write invalid string on grub.cfg if "+1" is specified instead of an EFI file path William via Bug reports for GNU Guix
2024-03-07  0:09 ` bug#69588: [PATCH] Find GRUB root devices for chainloading entries Felix Lechner via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).