chadmed / asahi-gentoosupport

Gentoo support files for Apple Silicon devices
61 stars 16 forks source link

Update genstrap.sh #9

Closed vethyn closed 1 year ago

vethyn commented 1 year ago

genstrap: raised ram disk size, otherwise the creation failed due to no space left on device.

chadmed commented 1 year ago

I want to hold off on making the initramfs any bigger until I get around to playing with compressing the kernel modules and removing more unnecessary stuff from the SquashFS. There's still a tonne of firmware that will never, ever be loaded on these machines that we can get rid of for example. I think this is worth pursuing given that there is talk of migrating to an ESP-as-/boot partition scheme in the Asahi reference distro, so every megabyte is precious. The complete LiveCD initramfs is already a few hundred megabytes... I'll keep this open until I've had a chance to get around to playing with the SquashFS again.

vethyn commented 1 year ago

I want to hold off on making the initramfs any bigger until I get around to playing with compressing the kernel modules and removing more unnecessary stuff from the SquashFS. There's still a tonne of firmware that will never, ever be loaded on these machines that we can get rid of for example. I think this is worth pursuing given that there is talk of migrating to an ESP-as-/boot partition scheme in the Asahi reference distro, so every megabyte is precious. The complete LiveCD initramfs is already a few hundred megabytes... I'll keep this open until I've had a chance to get around to playing with the SquashFS again.

Perfectly reasonable! I was just "confused" yesterday when i tried to create an initramfs for a livecd to create a custom arch install beside the gentoo one and it failed with "no space left" didn't had that before ( maybe gentoo changed the iso and there is even more stuff in it as of now ). :)

chadmed commented 1 year ago

Yeah sorry, I've known about this for a while but have been too busy to really look into it properly. It's not been a priority since the workaround is trivial and self-evident, but I'll get to it soon!

vethyn commented 1 year ago

Yeah sorry, I've known about this for a while but have been too busy to really look into it properly. It's not been a priority since the workaround is trivial and self-evident, but I'll get to it soon!

All fine :) if i get some time off i can look into it aswell and see if we can cleanup the initramfs :). Will give it a spin the next days, when i don't crash my install again ;)

chadmed commented 1 year ago

Closing since this has been fixed