-
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
Digital ocean grub issue #2
Comments
This is because the newer droplet images use a unrecommended partition/bootloader layout. My latest commit addresses this by allowing the grub installation to fail, but still updating the menu. In most cases like yours, you should be able to reboot into the system, after the final printed "WARNING" message. Please try it and let me know if it works. If not, you may be able to use an older droplet image that doesn't use the GPT partition table, e.g. the previous Debian image(s). |
with ubuntu 16.04:
debian 8.5 gives a similar resource busy error. ubuntu 14.04 and debian 7.5 finishes after this. cant find nixos-rebuild when i log in after reboot.
i really would like to be able to understand what is going on. but i have no clue. can you take another look? |
I'm seeing these same problems. The /dev/shm one may be an upstream bug that I can hack around, but these resource busy ones, I don't know why they're happening. I'll keep looking for at least one droplet image that the script can be reliably run on. I think I'll maybe just append |
gets stuck on boot menu this time. |
I think they made some systemic change that affects all images. I'll keep working on it when I have time and post a fix when I get it. |
Okay, try the latest commit on Ubuntu 16.04 |
sorry to report that it stills gets stuck during boot. |
So it proceeds to reboot then fails to boot? Can you screenshot the console? You're using the Ubuntu 16.04 image, right? I'm going to be supporting only 1 specific image moving forward; it'll be at the top of the comments in the file. nixos-install isn't able to deal with the broken partition layout DO has in all its images. They have the volume partitioned with GPT but fail to create a bios partition for grub as one is supposed to do. There used to be some of them that used MSDOS headers, but they're gone now. I will open a ticket with them advising them of this problem. A solution for you might be to just run grub manually at the end of the script. Since it works for me, can you just try to scp over the script, comment out the reboot at the end, then |
I found that Fedora 24 x64 uses proper partitioning. I've updated the script to work using that image. Let me know if that one works. |
Couldn't try to force install the grub as i lost connection couple of times. I can try it later again if we need it. Fedora installation worked. That's a huge relief. Thank you! |
Yeah, don't worry about the other images. The way I see it, only one needs to work, and that's going to be Fedora 24 for now, since it requires the fewest hacks. Glad to hear it works. |
I get this error while trying to use with a digital ocean vps with ubuntu image. any help is appreciated.
The text was updated successfully, but these errors were encountered: