Skip to content

Handle legacy swap parts #4235

@h8d13

Description

@h8d13
Image

From the discord, unfortunately no full trace-back or log file.

Steps to reproduce are simple:

  1. Install a first time with legacy swap partition (not zram)
  2. Open the installer again ([SWAP] shows as mountpoint which is from lsblk info methods)
  3. Display bug + mounting should/will fail

Probably we need

  1. Filter [SWAP] when parsing lsblk output in LsblkInfo
  2. Handle unmount for swap using swapoff
  3. Helper for swapoff similar to swapon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions