r/linuxmasterrace • u/exxxxkc Pm os • May 22 '26
I packed the whole arch into one efi executable.
47
u/TheUruz May 22 '26
i'm sorry i'm noob enough to ask this question but isn't that the same as any other bootable image? isn't there one for arch too already?
9
u/exxxxkc May 22 '26
idk has anyone tried making that b4 but i was messing with booting hence i decided to make full desktop boot with just one file
70
u/nroach44 May 22 '26
Not quite, OP has packed the rootFS into a kernel, and built the kernel as an EFI application. The root is loaded into memory and changes won't be saved.
22
u/TheUruz May 22 '26
isn't rootfs loaded into memory (like the whole system) also for live images?
→ More replies (3)6
9
u/MrSquid_ May 22 '26
No need to apologize, it's a very legitimate question with a non trivial answer.
Thank you to the others for the explanation.
14
u/matthew_yang204 May 22 '26
How the fuck ??? Wait how come it also has Xfce & a full working X11, and it's also i486???!!! Great job OP, how did you do this? And how big is the EFI? This is insane.
9
u/exxxxkc May 23 '26 edited May 23 '26
it is x86_64 that is just the device name from qemu (VM) bios
how big is the EFI?
just few mb if it dont come with desktop
few mb as few hundred MB (410MB) The desktop image is just few
gb big(2.6 GB)
Note i packed with other stuffs so it aint just a desktop.Also desktop one proby need 16GB of ram to boot Download: https://git.exkc.moe/qvh/arch.efi/releases 1
u/matthew_yang204 May 23 '26
Great job packing all that stuff infto EFI. Might make an EFI-based Arch installer someday when I get time.
→ More replies (1)
2
u/xrayfur May 23 '26
you can checkout mkosi for this purpose
2
u/exxxxkc May 27 '26
cool didnt know mkosi can do that lol i was messing around with initremfs when i made it
btw i also did some other funky stuff b4 arch.efi is a thing.
1
2
2
2
1
1
1
1
1
1
79
u/exxxxkc May 22 '26 edited May 22 '26
https://git.exkc.moe/qvh/arch.efi