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

deploy-to-nixos Grub issue #1937

Open
AronNovak opened this issue Mar 19, 2024 · 5 comments
Open

deploy-to-nixos Grub issue #1937

AronNovak opened this issue Mar 19, 2024 · 5 comments

Comments

@AronNovak
Copy link
Contributor

After a series of successful deployments, I got this while doing deploy-to-nixos qa-server:

Shared connection to ec2-111-111-111-111.compute-1.amazonaws.com. closed.
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/xvda...
Installing for i386-pc platform.
/nix/store/rflv7474psa19pqsnv940l23a70a7rq5-grub-2.12/sbin/grub-install: error: cannot find a GRUB drive for /dev/xvda.  Check your device.map.
/nix/store/jbij3r324xraik58v2cv2fzfkflsgjxp-install-grub.pl: installation of GRUB on /dev/xvda failed: Inappropriate ioctl for device

As in the flake.nix, we do not customize anything related to Grub, it might be some of the dependencies in the background for NixOS.

@amitaibu
Copy link
Collaborator

@mpscholten we are running our app on IHP latest master, so I suspect it's related to the GHC upgrade?

@mpscholten
Copy link
Member

Yes, very likely caused by the new nixpkgs version. I'll try to fix this soon. As a workaround you could use an older IHP commit to run the app

@amitaibu
Copy link
Collaborator

Thanks, for now we downgraded IHP

{
    inputs = {
-       ihp.url = "github:digitallyinduced/ihp";
+       ihp.url = "github:digitallyinduced/ihp/f7f7f4ee9019078ab5d243db30c1381afa88bf1c";

@mpscholten
Copy link
Member

Any updates on this one?

@amitaibu
Copy link
Collaborator

amitaibu commented May 9, 2024

Not yet, @AronNovak is going to try to re-deploy, once he has some time. We'll update :)

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

No branches or pull requests

3 participants