Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • alpine-conf alpine-conf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • alpine-confalpine-conf
  • Issues
  • #10491
Closed
Open
Issue created Nov 16, 2021 by Krystian Chachuła@krystianchContributor

setup-disk: swapon fails when reinstalling without LVM

Running setup-disk with sys or (crypt and sys) after previously running setup-disk with crypt and lvm and sys results in swap not enabling.

Steps to reproduce:

  1. Run setup-disk. Do a crypt lvm sys installation.
  2. Run setup-disk. Do a sys installation.

After Creating file systems... swapon -a will fail with the following message:

swapon: UUID=589...: No such file or directory

The installation is continued as normal, but the installed system fails to enable swap on boot with the same error message.

Workaround: Install util-linux before running setup-disk the second time.

Assignee
Assign to
Time tracking