misc: Add warnings about copying limine.sys over
This commit is contained in:
parent
48e6d8f90e
commit
698e386cc5
@ -492,6 +492,10 @@ int main(int argc, char *argv[]) {
|
||||
if (!device_flush_cache())
|
||||
goto cleanup;
|
||||
|
||||
fprintf(stderr, "WARNING: Remember to copy the limine.sys file in either\n"
|
||||
" the root or /boot directories of one of the partitions\n"
|
||||
" on the device, or boot will fail!\n");
|
||||
|
||||
fprintf(stderr, "Limine installed successfully!\n");
|
||||
|
||||
ok = 0;
|
||||
|
@ -38,6 +38,9 @@ static bool stage3_init(struct volume *part) {
|
||||
|
||||
if (fopen(&stage3, part, "/limine.sys")
|
||||
&& fopen(&stage3, part, "/boot/limine.sys")) {
|
||||
print("Stage 3 file not found!\n"
|
||||
"Have you copied limine.sys to the root or /boot directories of\n"
|
||||
"one of the partitions on the boot device?\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user