Message ID | 20200527072219.25576-1-othacehe@gnu.org |
---|---|
Headers | show |
Mathieu Othacehe writes: Hello Mathieu, > Until now, only Grub EFI bootloader was supported in (gnu system > image). Installing Grub EFI is as simple as copying a binary (created with > grub-mkstandalone) in a dedicated partition. > > Now, for MBR based booting, one needs to run grub-install that does require > root permissions. To overcome this issue, I used a hack inspired from OpenWrt > and Buildroot. > > As grub-install is in fact a wrapper around grub-mkimage and grub-bios-setup, > it is possible, with some plumbing and using those two tools, to install Grub > on a raw disk-image, without root permissions. Thanks for your amazing piece of work on disk-image; for me this means adding GNU/Hurd support much sooner than I could hope for! What can I say, not only LGTM, but also WFM (on a soon-to-be-reset wip-hurd-vm). Greetings, Janneke
Hi, Mathieu Othacehe <m.othacehe@gmail.com> skribis: > Until now, only Grub EFI bootloader was supported in (gnu system > image). Installing Grub EFI is as simple as copying a binary (created with > grub-mkstandalone) in a dedicated partition. > > Now, for MBR based booting, one needs to run grub-install that does require > root permissions. To overcome this issue, I used a hack inspired from OpenWrt > and Buildroot. > > As grub-install is in fact a wrapper around grub-mkimage and grub-bios-setup, > it is possible, with some plumbing and using those two tools, to install Grub > on a raw disk-image, without root permissions. Amazing! This is really cool, thank you! Looking in more detail at the rest now… Ludo’.