Adds external bootloader drive to sol config.

The device is currrently a placeholder ID, another commit will replace
it with the right one.
This commit is contained in:
Bailey 2024-02-08 20:02:33 -05:00
parent e3f18656e2
commit 56c4daf489
2 changed files with 14 additions and 1 deletions

View file

@ -21,6 +21,19 @@
};
disk = {
boot = {
device = "/dev/disk/by-id/usb-0000";
type = "disk";
content = {
type = "table";
format = "msdos";
# No partitions, this is a flash drive to just store the bootloader
# because SuperMicro's BIOS doesn't support legacy boot from the
# storage backplane for some reason.
partitions = [];
};
};
osdisk = {
device = "/dev/disk/by-id/ata-ST9500420AS_5VJCBJ3C";
type = "disk";

View file

@ -22,7 +22,7 @@
boot.loader.grub = {
enable = true;
device = config.disko.devices.disk.osdisk.device;
device = config.disko.devices.disk.boot.device;
efiSupport = false;
gfxmodeBios = "auto";
configurationLimit = 5;