On manual partitioning, ubiquity systematically formats the SWAP
partition, even if this SWAP partition is perfectly valid.

I can suggest 2 workarounds for keeping compatibility with other
distribution(s) installed on the same machine, whose '/etc/fstab'
reference the SWAP partition.

1)  Where possible, use GPT (GUID Partition Table) on the mass storage
unit containing the SWAP partition, and reference the SWAP partition by
its PARTLABEL (which ubiquity does NOT modify).

2)  After completion of ubiquity, but before reboot, use the attached BASH 
script, which :
    - sets the filesystem label of the SWAP partition to a value beginning by 
SWAP,
    - sets the filesystem label of the distribution root partition to a value 
beginning by the distribution name,
    - converts the ugly UUID references generated by ubiquity inside 
'/etc/fstab' into human-readable LABEL references

In the hope that these workaround suggestions may be helpful.

** Attachment added: "Workaround number 2 :  bash script 
setup-distrib-before-reboot.sh"
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1579457/+attachment/4658393/+files/setup-distrib-before-reboot.sh

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579457

Title:
  ubiquity must NOT format a valid SWAP partition on manual partitioning

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1579457/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to