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
This commit is contained in:
Axel Dörfler 2004-08-25 15:20:09 +00:00
parent 364b28a12a
commit a084c3cd69

View File

@ -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!