Skip to content

migrate-home-disk.sh script causes boot failure #7493

@nrauso

Description

@nrauso

Using the the documented script to migrate the /home mount point to a new block device can cause Rocky Linux to fail during boot.
The system will no longer start correctly.

The root cause appears to be related to SELinux contexts: the system requires a full relabel to boot properly after the migration.

To fix this, the following command should be run:

touch /.autorelabel

This command should be included both in the documentation and in the final output message generated by the script.

Components

  • core:3.8.1

Metadata

Metadata

Assignees

Labels

verifiedAll test cases were verified successfully

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions