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:
parent
f8e7553187
commit
951ecb625b
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue