chadmed / asahi-gentoosupport

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

Current Gentoo LiveCD needs a little more space on ramdisk #6

Closed ivabus closed 1 year ago

ivabus commented 1 year ago

I got some errors (no more space left on device) with current genstrap.sh. To fix I just added more space in modprobe line

chadmed commented 1 year ago

How much extra space did you require?

jannau commented 1 year ago

we could save space by compressing the modules with gzip, bzip2, xz depending on that the gentoo livecd kmod supports

chadmed commented 1 year ago

The base Gentoo profile has lzma in USE. That flag governs whether or not kmod is built with xz support, so we should be safe to compress the modules with xz. I'll get on to that some time later this week if no one has beaten me to it.

ivabus commented 1 year ago

I just multiplied the current size by 1.5 and it was enough for me

monomycelium commented 1 year ago

How do I increase the size? I'm not too familiar with parted, but I can use fdisk pretty well.


edit

nevermind, i just increased it in the modprobe line and rebooted and ran the script again.

Leo3418 commented 1 year ago

As of recently, I need to increase the RAM disk capacity to 1048576 KiB to successfully build an image. Can someone else confirm? Is any update to the script needed?

ZerdoX-x commented 1 year ago

As of recently, I need to increase the RAM disk capacity to 1048576 KiB to successfully build an image. Can someone else confirm?

Same for me. I got "no space left on device". Increasing capacity helps.

kdb424 commented 1 year ago

I likewise had to increase the ramdisk in size. I changed it to double without thinking and had zero issues after. I didn't bother chasing the minimum size as it would likely change over time.