help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Handle errors when booting


From: Mathias Radtke
Subject: AW: Handle errors when booting
Date: Mon, 29 Jan 2024 11:57:58 +0000

Hi

 
> Is there any way to kind of work around that error and run an "exit" command 
> if an error occours?
>

What is the exit code of chainloader command? If it is non-zero, you
can check for it and do something else instead of boot.

Could you provide an example of such a check?
Like if in my example the chainloader returns anything that is not zero, then 
exit from grub. 

Thank you 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]