From b9fc38d9a448f7ac5e1fa09c1fd93c0a53fbfd2b Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sat, 14 Sep 2019 00:26:58 -0400 Subject: [PATCH] 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. --- src/system/kernel/fs/vfs_boot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/fs/vfs_boot.cpp b/src/system/kernel/fs/vfs_boot.cpp index db8c7f8fd7..68bf97c4fe 100644 --- a/src/system/kernel/fs/vfs_boot.cpp +++ b/src/system/kernel/fs/vfs_boot.cpp @@ -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;