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 = { 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 = { osdisk = {
device = "/dev/disk/by-id/ata-ST9500420AS_5VJCBJ3C"; device = "/dev/disk/by-id/ata-ST9500420AS_5VJCBJ3C";
type = "disk"; type = "disk";

View file

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