archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

change the size of /boot to 500mb + current default layout /boot size is nearly full with linux and linux lts kernels installed.

Open mhussaincov93 opened this issue 3 years ago • 3 comments

hi, would this be possible? on my system with the default layout, having the linux and the linux-kernel installed as a fallback lieves 77m Majid

mhussaincov93 avatar Jan 27 '22 12:01 mhussaincov93

I believe this is already possible as long as you install the system with a custom partition layout using a configuration file.

dylanmtaylor avatar Jan 27 '22 14:01 dylanmtaylor

We created a /boot partition with a size of 513 MiB by default. The only time we do not do this, is if you are dual booting Windows. In which case Windows creates a roughly 90 MiB small /boot partition. There is sadly nothing we can do about that and using a re-size tool before installing arch is required.

It would be hard for us to reliably try to automate this, as data loss could be an issue.

Torxed avatar Jan 27 '22 17:01 Torxed

I am not dual booting, and my most recent install from about 3 weeks ago has a 200 MB /boot partition, which leaves only 55MB free with two kernels installed. It is not enough space to add a third, or even enough temporary space to swap one of the two kernels for a different one.

Are you sure it's not this 203 MiB value? I could be wrong. Honest question.

I, for one, hate partitions. Waste of space and management. Besides that, why is it so small in the first place? Thumb drive installations? Thumb drives are huge today. Isn't easy to change a number value somewhere? I can't imagine it involves a logic change.

I believe I stumbled into this issue today installing Arch on my Libreboot T440p with a 2TB SSD. Using the "automatic" BTRFS partitioning scheme gave me a 212MB FAT32 boot partition which was insufficient when selecting the Linux and LTS kernels in the install. The installer crashed complaining it ran out of disk space.

I had to delete both partitions and use the manual partitioning option to resize them. I manually created a 1GB FAT32 boot partition (probably more than necessary but I thought it a safe value and an extra 0.5GB isn't a lot in the grand scheme of things) and a BTRFS partition with the remainder, manually copying the subvolume layout the "automatic" method created.

My Arch install is now up and running without any errors after that.

lucidcocoon avatar Jul 13 '24 22:07 lucidcocoon