Default size for "/boot" with UEFI mode too small and causes problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
New
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I haven't installed anything special in terms of kernel modules or anything so the default configuration the installer left me with should have been fine. However it was not, today I encountered a problem when running "sudo apt-get dist-upgrade":
error.txt
After some investigating I found that it was caused by the fact that the "/boot" directory size is capped on its partition at too small a size.
This was the output from "df -h":
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 381M 45M 336M 12% /run
/dev/mapper/
tmpfs 1.9G 1.7M 1.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda2 237M 202M 23M 91% /boot
/dev/sda1 511M 13M 499M 3% /boot/efi
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 381M 20K 381M 1% /run/user/120
tmpfs 381M 56K 381M 1% /run/user/1000
But "ls /boot" revealed nothing unusual in there:
abi-4.4.
abi-4.4.
abi-4.4.
config-
config-
config-
efi System.
grub vmlinuz-
initrd.
initrd.
initrd.
initrd.
So to prevent myself and other users installing with the default UEFI mode from needing to do manual partitioning or kernel module removal when doing this kernel upgrade or one in the future, the default size for "/boot" should be larger.
I am running Ubuntu GNOME 16.04.1 with GNOME 3.20.