archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.01k stars 519 forks source link

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

Closed mhussaincov93 closed 1 month ago

mhussaincov93 commented 2 years ago

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

dylanmtaylor commented 2 years ago

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

Torxed commented 2 years ago

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.

f35f0ef9d0e827dae86552d3899f78fc commented 5 months ago

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.

lucidcocoon commented 1 month ago

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.