| 24 Mar 2025 |
p14 | I'm wondering if I can get away with building an image with the grub MBR and use repart to put that image in the right place. But then I'm not really clear on whether I can mark this partition as bootable, I'm guessing not since this is not the systemd way. | 19:16:50 |
p14 | (the systemd way being UEFI boot, because, obviously) | 19:17:00 |
ElvishJerricco | p14: so, repart will not mark a partition as LegacyBIOSBootable, in fdisk speak. That's a GPT flag though, and I don't think it's strictly necessary for BIOS booting; I think the MBR just has to be done right. Nonetheless, I do have a repart patch for allowing setting that GPT flag with its numeric identifier: https://gist.github.com/ElvishJerricco/6059640087e1ee09744bb9df8f18bb1a | 19:22:34 |
ElvishJerricco | but, getting an MBR configured properly for the image using repart is probably nontrivial and I have no idea how to do that | 19:23:08 |
ElvishJerricco | well, I mean I know repart won't help | 19:23:22 |
ElvishJerricco | but I mean letting repart make the GPT image, and then separately writting the MBR on LBA 0 | 19:23:57 |
ElvishJerricco | no idea how to do that for grub | 19:24:01 |
p14 | Is it not sufficient to supply a --image pointing to a pre-made grub image? I'm not aware of all the wiring details. | 19:29:52 |
Arian | I have code for making a hybrid image with repart and runInLinuxVm lying around | 19:43:50 |
Arian | I stole the code from mkosi | 19:44:24 |
ElvishJerricco | I'd really like to be able to install grub on an image without a VM, but oh well | 19:44:46 |
Arian | Yeh this I was not able to get working unfortunately | 19:45:08 |
| 11 Apr 2025 |
| mjm changed their profile picture. | 22:23:09 |
| 24 Mar 2025 |
p14 | I was hoping to at least make that part a small image that could be cached. WDYT, Possible? | 20:45:27 |
Arian | Ah and then copy the bytes over? | 20:58:50 |
| 11 Apr 2025 |
| @oxalica:matrix.org left the room. | 23:31:19 |
| 24 Mar 2025 |
Arian | Yeh could be doable | 20:58:53 |
emily | this is not a desire anyone should have :p | 21:37:46 |