Add legacy boot option to disko module #56

Open
ahtlon wants to merge 7 commits from issue31 into master
Collaborator

I think this should be tested on the laptop before merging
Fixes #31

I think this should be tested on the laptop before merging Fixes #31
ahtlon added 2 commits 2025-01-18 22:54:36 +01:00
I don't know if the grub device is right
Apply legacy to bakunin
Some checks failed
Evaluate Hydra Jobs / eval-hydra-jobs (push) Has been cancelled
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Successful in 5m14s
c0cef1ff1e
ahtlon added 1 commit 2025-01-18 22:57:23 +01:00
Merge branch 'master' into issue31
Some checks failed
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Successful in 3m41s
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 3m46s
Check flake syntax / flake-check (pull_request) Failing after 2m20s
Check flake syntax / flake-check (push) Failing after 2m15s
29d6bc02e0
Owner

@Ahtlon CI fails with:

error: The option `boot.loader.grub.enable' has conflicting definition values:
       - In `/nix/store/fxpj8l78kc5q5b4w228znfbn76w2m6qp-source/machines/modules/disko': true
       - In `/nix/store/4gqjhn9f8q7cdrragiais548yhj8aij1-source/nixos-modules/microvm/system.nix': false
       Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
@Ahtlon CI fails with: ``` error: The option `boot.loader.grub.enable' has conflicting definition values: - In `/nix/store/fxpj8l78kc5q5b4w228znfbn76w2m6qp-source/machines/modules/disko': true - In `/nix/store/4gqjhn9f8q7cdrragiais548yhj8aij1-source/nixos-modules/microvm/system.nix': false Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions. ```
ahtlon added 1 commit 2025-01-19 17:59:57 +01:00
[disko]Force grub on legacy boot
Some checks failed
Check flake syntax / flake-check (push) Waiting to run
Evaluate Hydra Jobs / eval-hydra-jobs (push) Has been cancelled
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Has been cancelled
Check flake syntax / flake-check (pull_request) Has been cancelled
a96b8f65c9
ahtlon added 1 commit 2025-01-19 18:01:18 +01:00
Merge master
All checks were successful
Check flake syntax / flake-check (push) Successful in 6m6s
c51c1e8e92
kalipso added 1 commit 2025-02-05 14:26:09 +01:00
Merge branch 'master' into issue31
Some checks failed
Check flake syntax / flake-check (push) Failing after 2m0s
4f9e66ba82
Owner

I had to merge master due to missing bugfixes on that branch.
Since there was a non trivial merge conflict on machines/modules/disko/default.nix could you please verify i merged it correctly @Ahtlon

I had to merge master due to missing bugfixes on that branch. Since there was a non trivial merge conflict on `machines/modules/disko/default.nix` could you please verify i merged it correctly @Ahtlon
kalipso added 1 commit 2025-02-05 14:32:05 +01:00
[disko] rm duplicate filesystems entry
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m16s
2f4cb3787b
Owner

just fixed a mistake i made during merge

just fixed a mistake i made during merge
Author
Collaborator

Looks good to me. Did you finish installing bakunin?

Looks good to me. Did you finish installing bakunin?
Owner

Looks good to me. Did you finish installing bakunin?

no had no time yet. most probably next week

> Looks good to me. Did you finish installing bakunin? no had no time yet. most probably next week
Owner
### Copying extra files ###
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '192.168.1.111' (ED25519) to the list of known hosts.
Warning: Permanently added '192.168.1.111' (ED25519) to the list of known hosts.
Connection to 192.168.1.111 closed.
### Installing NixOS ###
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '192.168.1.111' (ED25519) to the list of known hosts.
installing the boot loader...
setting up /etc...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/disk/by-id/ata-HITACHI_HTS725016A9A364_110308PCKB04VNHX9XTJ...
Installing for i386-pc platform.
/nix/store/jkrmzrx8g42mxi9xbswa7gjgdbwxdjgb-grub-2.12/sbin/grub-install: error: unknown filesystem.
/nix/store/sdvihwaarfkzr8vvw45hbp4f9a05s85l-install-grub.pl: installation of GRUB on /dev/disk/by-id/ata-HITACHI_HTS725016A9A364_110308PCKB04VNHX9XTJ failed: No such file or directory
Failed to install bootloader
``` ### Copying extra files ### Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '192.168.1.111' (ED25519) to the list of known hosts. Warning: Permanently added '192.168.1.111' (ED25519) to the list of known hosts. Connection to 192.168.1.111 closed. ### Installing NixOS ### Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '192.168.1.111' (ED25519) to the list of known hosts. installing the boot loader... setting up /etc... updating GRUB 2 menu... installing the GRUB 2 boot loader on /dev/disk/by-id/ata-HITACHI_HTS725016A9A364_110308PCKB04VNHX9XTJ... Installing for i386-pc platform. /nix/store/jkrmzrx8g42mxi9xbswa7gjgdbwxdjgb-grub-2.12/sbin/grub-install: error: unknown filesystem. /nix/store/sdvihwaarfkzr8vvw45hbp4f9a05s85l-install-grub.pl: installation of GRUB on /dev/disk/by-id/ata-HITACHI_HTS725016A9A364_110308PCKB04VNHX9XTJ failed: No such file or directory Failed to install bootloader ```
Owner

This error was thrown during deployment of bakunin. I had no time to investigate, but i checked that /dev/disk/by-id/ata-HITACHI_HTS725016A9A364_110308PCKB04VNHX9XTJ is a correct path.

This error was thrown during deployment of bakunin. I had no time to investigate, but i checked that `/dev/disk/by-id/ata-HITACHI_HTS725016A9A364_110308PCKB04VNHX9XTJ` is a correct path.
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m16s
This pull request has changes conflicting with the target branch.
  • machines/modules/disko/default.nix
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin issue31:issue31
git checkout issue31
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kalipso/infrastructure#56