kernel/fs: Automatically tail syslog on "no boot partitions".

The real reason none were found is likely in the syslog.
Even if the last 15 messages do not have the real error, they
may be enough to point towards what the problem is, or at least
uniquely identify the issue.

Fixes #15348.
This commit is contained in:
Augustin Cavalier
2019-09-14 00:26:58 -04:00
parent 2b5ebfcfd5
commit b9fc38d9a4
+1 -1
View File
@@ -478,7 +478,7 @@ vfs_mount_boot_file_system(kernel_args* args)
panic("get_boot_partitions failed!");
}
if (partitions.IsEmpty()) {
panic("did not find any boot partitions!");
panic("did not find any boot partitions! @! syslog | tail 15");
}
dev_t bootDevice = -1;