installer creates rather small /boot partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
All new installs of 16.04.
[Test case]
1) Install Ubuntu 16.04 on a system
2) Validate that the size of the /boot partition is greater than or equal to 512MB; should be somewhere between 512MB and 1GB, close to 768MB.
[Regression potential]
This may adversely affect installs on tiny disks, by taking up more space for the /boot partition than was previously taken, at the cost of / or /home. As such, failures to install due to insufficient space on a partition, or failure to partition a disk that was previously working should be investigated as possible regressions.
This is a corner case in general since there is no requirement to allocate a separate partition for /boot in the default configuration, and if you are using a non-default configuration where /boot must be a separate partition, you probably also don't have a disk so small that an additional 256MB of disk usage is a problem.
---
The installer (in 16.04 and 17.10) creates a separate /boot partition, when required, of only 487M. This ends up being rather small when you using the following equation to estimate a minimal size allowing for reasonable room for further growth.
(2*(3*kernel + 4*plymouth-carrying initrd + bootloader))
Changed in partman-auto (Ubuntu Xenial): | |
importance: | Undecided → High |
tags: | added: id-5982561eb1d9aa0d07be953f |
tags: | added: id-5b2c1998114aa1c67e32d510 |
Changed in partman-auto (Ubuntu Bionic): | |
milestone: | none → ubuntu-18.04.1 |
no longer affects: | partman-auto (Ubuntu Xenial) |
no longer affects: | partman-auto (Ubuntu Bionic) |
description: | updated |
for Kernels of 8Mb, initrd of 55Mb and bootloader of ~10Mb:
2* ( 3*8 + 4*55 + 10 )
2* ( 24 + 220 + 10 )
2* ( 254 )
508
We're slightly off with the math right now, so I'll make the absolute minimum size for /boot to be 512Mb; and bump the maximum from 512 to 768. This should give us partition sizes of a little over 512, probably around 650Mb (so some room for future kernel/initrd growth).