clearlinux / clr-installer

Clear Linux* OS Installer
GNU General Public License v3.0
92 stars 42 forks source link

F2FS error #681

Closed jckenny closed 4 years ago

jckenny commented 4 years ago

Describe the bug When using the f2fs filesystem with clr-installer, the program fails when formatting the f2fs partition. It appears that there is a syntax error with the mkfs.f2fs command. It is using an uppercase -L when it should be a lowercase -l for the volume label.

To Reproduce Steps to reproduce the behavior:

  1. Using attached clr-installer.yaml on live desktop iso version 32570.
  2. Run 'sudo clr-installer -c clr-installer.yaml'
  3. Error when formatting sda3 partition.

Expected behavior clr-installer should format the partition without error and continue with the remaining installation steps.

Environment (please complete the following information):

Additional context Log and config files attached. clr-installer.log.txt clr-installer.yaml.txt hwinfo.txt

mdhorn commented 4 years ago

@jckenny Thanks for the bug report. Previously we only supported ext and XFS file system with encryption; f2fs was recently added to the installer. As you pointed out when referencing a partition by label f2fs uses -l instead of -L like ext and XFS. We fix this in the next release.

mdhorn commented 4 years ago

Note this bug only occurs when combining encryption with f2fs.

mdhorn commented 4 years ago

Fixed in clr-installer 2.4.2 first released in Clear Linux OS 32600