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

/boot mount error #361

Closed
lucbeaufils opened this issue Feb 2, 2024 · 0 comments · Fixed by #587
Closed

/boot mount error #361

lucbeaufils opened this issue Feb 2, 2024 · 0 comments · Fixed by #587
Labels
bug Something isn't working

Comments

@lucbeaufils
Copy link
Contributor

Describe the bug

When adding a new kernel parameter using the extra_kernel_parameters variable, the /boot partition has to be mounted.
In the case of not mounted, it will try to mount /dev/disk/by-label/boot.
However on some installation, we have only /dev/disk/by-label/efi0 and /dev/disk/by-label/efi1 for the boot partition.
This results in a fatal error.

Log

TASK [Mount /boot partition if not mounted] **********************************************************************************************************************************
Friday 02 February 2024 12:49:34 +0000 (0:00:00.029) 0:00:00.747 *******
fatal: [Hyp]: FAILED! => changed=true
cmd: mount | grep '/boot ' || mount /dev/disk/by-label/boot /boot
delta: '0:00:00.010883'
end: '2024-02-02 12:49:35.201997'
msg: non-zero return code
rc: 32
start: '2024-02-02 12:49:35.191114'
stderr: 'mount: /boot: special device /dev/disk/by-label/boot does not exist.'
stderr_lines:
stdout: ''
stdout_lines:

@lucbeaufils lucbeaufils added the bug Something isn't working label Feb 2, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in SEAPATH Board Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant