[Bug 1067106] Re: possible to run out of space on /boot partition when installed using auto recipe & full-disk-encryption

Dmitrijs Ledkovs launchpad at surgut.co.uk
Mon Oct 15 22:59:22 UTC 2012


Please do not include suggestions in the bug report =)

Arbitrary increasing the partition size will not help, as it is possible
to dist-upgrade without removing old kernels (via apt-get dist-upgrade).
It's a short term fix.

One solution is to use grub to mount encrypted partition directly, then
there won't be need for separate /boot partition at all. See bug /
feature request bug 1062623 .

Another solution is the blueprint to auto-remove old kernels.

Both of these are long-term sustainable.

** Summary changed:

- /boot partition should be larger when using auto full-disk-encryption
+ possible to run out of space on /boot partition when installed using auto recipe & full-disk-encryption

** Description changed:

  When choosing full disk encryption in the quantal version of Ubiquity,
  the resulting /boot partition seems small.
  
  In my test installation /boot came to 228MB.
  
  Assuming that each kernel+initrd comes to about 30MB, that doesn't leave
- much space for old kernels/initrds as kernel upgrades pile-up.  I'm not
- sure that would cover an 18 month support cycle.
+ much space for old kernels/initrds as kernel upgrades pile-up.
  
- Of course, one can clean out old kernels from /boot, but not everyone
- realizes that.  And at that size, it might even take some savvy users by
- surprise.
- 
- My suggestion would be 512MB or higher.  Thanks.
+ Many users do not know how to clear old kernels. A full /boot will mean
+ they will get "stuck" using an old kernel, potentially missing out on
+ security updates or hardware enablements.

** Also affects: partman-auto-crypto (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Changed in: partman-auto-crypto (Ubuntu Quantal)
       Status: New => Won't Fix

** Also affects: partman-auto-crypto (Ubuntu S-series)
   Importance: Undecided
       Status: New

** Changed in: partman-auto-crypto (Ubuntu)
       Status: New => Confirmed

** Changed in: partman-auto-crypto (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto-crypto in Ubuntu.
https://bugs.launchpad.net/bugs/1067106

Title:
  possible to run out of space on /boot partition when installed using
  auto recipe & full-disk-encryption

Status in “partman-auto-crypto” package in Ubuntu:
  Confirmed
Status in “partman-auto-crypto” source package in Quantal:
  Won't Fix
Status in “partman-auto-crypto” source package in s-series:
  New

Bug description:
  When choosing full disk encryption in the quantal version of Ubiquity,
  the resulting /boot partition seems small.

  In my test installation /boot came to 228MB.

  Assuming that each kernel+initrd comes to about 30MB, that doesn't
  leave much space for old kernels/initrds as kernel upgrades pile-up.

  Many users do not know how to clear old kernels. A full /boot will
  mean they will get "stuck" using an old kernel, potentially missing
  out on security updates or hardware enablements.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto-crypto/+bug/1067106/+subscriptions




More information about the foundations-bugs mailing list