1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Improve error message in case the initrd is too big.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-11-11 15:25:47 +01:00
parent f8e7553187
commit 951ecb625b

View file

@ -478,7 +478,9 @@ static void BootThread(void* /*user*/)
// Install the initrd into our fresh RAM filesystem.
if ( !InitRD::ExtractFromPhysicalInto(initrd, initrdsize, droot) )
Panic("Unable to extract initrd into RAM root filesystem.");
Panic("Unable to extract initrd into RAM root filesystem. You machine "
"needs more memory to boot using this initrd, as a rule of thumb "
"you need twice as much memory as the size of the initrd device.");
// We no longer need the initrd, so free its resources.
InitRD::Delete();