From a084c3cd6955eacfbcded4d8b92273723d6ae59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 25 Aug 2004 15:20:09 +0000 Subject: [PATCH] No longer panics when it could find any boot volumes, but enters the user menu in that case, too (to give the user the opportunity to rescan the available devices). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8648 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/loader/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/kernel/boot/loader/main.cpp b/src/kernel/boot/loader/main.cpp index 845698aea5..f624535458 100644 --- a/src/kernel/boot/loader/main.cpp +++ b/src/kernel/boot/loader/main.cpp @@ -54,8 +54,11 @@ main(stage2_args *args) if (volume == NULL) puts("\tno boot path found, scan for all partitions...\n"); - if (mount_file_systems(args) < B_OK) - panic("Could not locate any supported boot devices!\n"); + if (mount_file_systems(args) < B_OK) { + // That's unfortunate, but we still give the user the possibility + // to insert a CD-ROM or just rescan the available devices + puts("Could not locate any supported boot devices!"); + } // ToDo: check if there is only one bootable volume!