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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user