[FFe] Ubiquity with zfs install option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-budgie-meta (Ubuntu) |
Fix Released
|
Medium
|
fossfreedom | ||
ubuntu-mate-meta (Ubuntu) |
Fix Released
|
Medium
|
Martin Wimpress | ||
ubuntu-meta (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntustudio-meta (Ubuntu) |
Fix Released
|
Undecided
|
Erich Eickmeyer | ||
xubuntu-meta (Ubuntu) |
Fix Released
|
Undecided
|
Sean Davis |
Bug Description
Part of the 19.10 feature announcement is zfs experimental support in the installer (https:/
Update as of 20/09/2019: the plan is to not seed zsys (security review will take a while), but to only seed zfsutils-linux. People can then opt-in to zsys which should be available by default next cycle.
This option takes an entire disk and have a fix set of dataset installed. There is no support but we need this to make an official install option for the next LTS.
The patch has been created to be as minimal as possible. Partman does a full disk partitioning, and then the script zsys-setup the first non-ESP partition and replaces with zfs pools.
4 partitions are created:
1. if GPT partitioning: ESP partition. This one is done by partman directly.
2. bpool (for boot), pool with older zfs compatible version to be readable by grub)
3. rpool (for / and userdataset)
4. /boot/grub (ext4) to contain a single grub (NOTE: this could be later on moved to the ESP)
Additionaly if a swap file has been created by ubiquity, it is recreated as a ZFS volume. If the script fails to execute, the final installation is an ext4 installation on entire disk.
Note that the implementation is slightly different from the specification due to a difficult cohabitation with partman in the custom partitioning page.
Please find attached the MP on ubiquity as well as the package build log.
Related branches
- Iain Lane (community): Needs Fixing
- Didier Roche-Tolomelli (community): Approve
-
Diff: 829 lines (+581/-23) (has conflicts)11 files modifiedbin/ubiquity (+3/-0)
d-i/patches/zfs-0.8-support.patch (+35/-0)
debian/changelog (+8/-0)
debian/rules (+2/-0)
debian/ubiquity.templates (+17/-0)
gui/gtk/stepPartAsk.ui (+38/-16)
gui/gtk/ubiquity.ui (+1/-0)
scripts/plugininstall.py (+9/-0)
scripts/zsys-setup (+438/-0)
ubiquity/frontend/gtk_ui.py (+5/-0)
ubiquity/plugins/ubi-partman.py (+25/-7)
description: | updated |
description: | updated |
summary: |
- [FFe] Ubiquity with zsys install option + [FFe] Ubiquity with zfs install option |
description: | updated |
Changed in ubuntu-mate-meta (Ubuntu): | |
assignee: | nobody → Martin Wimpress (flexiondotorg) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ubuntu-mate-meta (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-budgie-meta (Ubuntu): | |
assignee: | nobody → fossfreedom (fossfreedom) |
importance: | Undecided → Medium |
Changed in ubuntustudio-meta (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Erich Eickmeyer (eeickmeyer) |
Changed in ubuntustudio-meta (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in xubuntu-meta (Ubuntu): | |
assignee: | nobody → Sean Davis (bluesabre) |
Screenshot of the modified guided partitioning page.