Installer does not prompt to create a separate /boot partition when using btrfs for /

Bug #1609140 reported by bugproxy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Medium
Dimitri John Ledkov
partman-btrfs (Ubuntu)
Fix Released
Wishlist
Skipper Bug Screeners
Xenial
Fix Released
Low
Dimitri John Ledkov
Yakkety
Won't Fix
Wishlist
Skipper Bug Screeners
Zesty
Fix Released
Wishlist
Unassigned

Bug Description

[Testcase]
* Run installer with apt-setup/proposed=true
* Attempt to use btrfs as the / filesystem without any other partitions
* Warning should prevent one from proceeding without creating a non-btrfs /boot partition

== Comment: #0 - Michael Roesch - 2016-08-02 12:22:00 ==
Installer version: 451.4

Partitioning:
Virtual disk 1 (vda) - 10.7 GB Virtio Block Device
> #1 primary 10.7 GB f btrfs /

When creating this kind of partition layout, the installer does not tell you that you need a separate /boot partition for this to work. The result is that the installation fails at the end with:

"Install the ZIPL boot loader on a hard disk

Installation step failed
An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Install the ZIPL boot loader on a hard disk "

The installation completes successfully when you have a separate /boot partition.

I will attach logs of the failing attempt

Revision history for this message
bugproxy (bugproxy) wrote : Logs
  • Logs Edit (610.0 KiB, application/x-tar)

Default Comment by Bridge

tags: added: architecture-s39064 bugnameltc-144412 severity-medium targetmilestone-inin16042
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → debian-installer (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → Medium
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-09-08 13:13 EDT-------
Hi Canonical.

Just looking for a status update on this bug.

Thanks.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Fix committed for 17.04 release

affects: debian-installer (Ubuntu) → partman-btrfs (Ubuntu)
Changed in partman-btrfs (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
importance: Low → Wishlist
Changed in partman-btrfs (Ubuntu Yakkety):
status: Fix Committed → Won't Fix
Changed in partman-btrfs (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Low
bugproxy (bugproxy)
tags: added: targetmilestone-inin1704
removed: targetmilestone-inin16042
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-btrfs - 23ubuntu1

---------------
partman-btrfs (23ubuntu1) zesty; urgency=medium

  * Resynchronise with Debian. Remaining changes:
    - Add support for creating and mounting btrfs subvolumes corresponding
      to / and /home, in case of a btrfs rootfs.

partman-btrfs (23) unstable; urgency=medium

  [ Updated translations ]
  * Polish (pl.po) by Michał Kułach
  * Portuguese (Brazil) (pt_BR.po) by Adriano Rafael Gomes

partman-btrfs (22) unstable; urgency=medium

  * On s390x, zipl bootloader cannot handle /boot on btrfs. LP: #1609140

 -- Dimitri John Ledkov <email address hidden> Wed, 12 Oct 2016 11:11:57 +0000

Changed in partman-btrfs (Ubuntu Zesty):
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Triaged
Revision history for this message
bugproxy (bugproxy) wrote : Logs
  • Logs Edit (610.0 KiB, application/x-tar)

Default Comment by Bridge

tags: added: targetmilestone-inin16042
removed: targetmilestone-inin1704
Changed in partman-btrfs (Ubuntu Xenial):
assignee: nobody → Dimitri John Ledkov (xnox)
Changed in partman-btrfs (Ubuntu Xenial):
milestone: none → ubuntu-16.04.2
description: updated
Changed in partman-btrfs (Ubuntu Xenial):
status: Triaged → In Progress
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted partman-btrfs into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/partman-btrfs/18ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in partman-btrfs (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → Fix Committed
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-12-15 04:51 EDT-------
I have tested with installer version 451.9. The installer retrieved package partman-btrfs 18ubuntu1.1 from http://de.ports.ubuntu.com/ubuntu-ports//pool/main/p/partman-btrfs/partman-btrfs_18ubuntu1.1_all.udeb

When I tried to reproduce the issue, the following warning message was displayed:

btrfs root file system not supported without separate /boot
Your root file system is a btrfs file system. This is not supported by the boot loader used by default by this installer.
You should use a small /boot partition with another file system, such as ext4.

From my perspective, the bug is fixed. Also the error message does explain very well what is wrong and what to do about it.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-btrfs - 18ubuntu1.1

---------------
partman-btrfs (18ubuntu1.1) xenial; urgency=medium

  * On s390x, zipl bootloader cannot handle /boot on btrfs. LP: #1609140

 -- Dimitri John Ledkov <email address hidden> Wed, 14 Dec 2016 12:19:38 +0000

Changed in partman-btrfs (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for partman-btrfs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.