diff --git a/CONFIG.md b/CONFIG.md index c602d855..ef2feabd 100644 --- a/CONFIG.md +++ b/CONFIG.md @@ -3,9 +3,7 @@ ## Location of the config file Limine scans for a config file on *the boot drive*. Every partition on the boot drive -is scanned sequentially (first partition first, last partition last) for the presence -of either a `/limine.cfg`, `/boot/limine.cfg`, `/tomatboot.cfg`, or a -`/boot/tomatboot.cfg` file, in that order. +is scanned sequentially (first partition first, last partition last) for the presence of either a `/limine.cfg`, `/boot/limine.cfg`, or a `/EFI/BOOT/limine.cfg` file, in that order. Once the file is located, Limine will use it as its config file. Other possible candidates in subsequent partitions or directories are ignored. diff --git a/stage23/lib/config.c b/stage23/lib/config.c index f4d1bc05..fdcd6157 100644 --- a/stage23/lib/config.c +++ b/stage23/lib/config.c @@ -21,8 +21,7 @@ int init_config_disk(struct volume *part) { if (fopen(&f, part, "/limine.cfg") && fopen(&f, part, "/boot/limine.cfg") - && fopen(&f, part, "/tomatboot.cfg") - && fopen(&f, part, "/boot/tomatboot.cfg")) { + && fopen(&f, part, "/EFI/BOOT/limine.cfg")) { return -1; }