Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Umount OEM before switching root #1952

Merged

Conversation

davidcassany
Copy link
Contributor

No description provided.

Signed-off-by: David Cassany <dcassany@suse.com>
@davidcassany davidcassany requested a review from a team as a code owner February 13, 2024 09:33
Copy link
Contributor

@anmazzotti anmazzotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works!

recovery:~ # umount /dev/vda2
recovery:~ # mkfs.ext4 -L COS_OEM /dev/vda2
mke2fs 1.46.4 (18-Aug-2021)
/dev/vda2 contains a ext4 file system labelled 'COS_OEM'
	last mounted on /oem on Tue Feb 13 09:54:35 2024
Proceed anyway? (y,N) 

@anmazzotti
Copy link
Contributor

Fixes rancher/elemental#1210

@davidcassany davidcassany merged commit 7dd5487 into rancher:main Feb 13, 2024
14 checks passed
@davidcassany davidcassany deleted the umount_oem_before_switch_root branch February 13, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants