-
Notifications
You must be signed in to change notification settings - Fork 221
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
DigitalOcean: rm: cannot remove '/boot/efi': Device or resource busy
#199
Comments
Can confirm same behavior on a fresh Ubuntu 23.10 droplet. [edit: 22.04 appears to work fine] |
I ran into this as well on 24.04, the issue here seems to be this line: https://github.com/elitak/nixos-infect/blob/master/nixos-infect#L376 Since it appears both /boot and /boot/efi are both mounts, you can't just mv /boot out of the way. In my case, I was able to manually:
Then re-run the script which carried out the rest of the process. There probably needs to be logic to detect and handle this case. |
Hm, no wait, the second part of that line should do the right thing, and when I manually run each of those it results in the right set of steps. Something else is up here. |
Ah, I see what's actually wrong here: I ran this with
What's wrong here is that since |
DigitalOcean droplet.
Tried running script from command-line and through the "user data" mechanism:
In both cases, the install logs end with
rm: cannot remove '/boot/efi': Device or resource busy
I am still able to ssh into the ubuntu droplet.
The text was updated successfully, but these errors were encountered: