Re: normal does not load if there was an error processing embedded config

2015-12-16 Thread Andrei Borzenkov
28.02.2015 22:33, Andrei Borzenkov пишет: > В Sat, 28 Feb 2015 19:11:51 +0100 > "Vladimir 'phcoder' Serbinenko" пишет: > >> Could you use grub-print-error rather than just resetting error? And we >> should do it after every command in embedded config > > > Like below? Note that if loading of no

Re: normal does not load if there was an error processing embedded config

2015-02-28 Thread Andrei Borzenkov
В Sat, 28 Feb 2015 19:11:51 +0100 "Vladimir 'phcoder' Serbinenko" пишет: > Could you use grub-print-error rather than just resetting error? And we > should do it after every command in embedded config Like below? Note that if loading of normal.mod succeeds these errors are lost anyway. There wa

Re: normal does not load if there was an error processing embedded config

2015-02-28 Thread Vladimir 'phcoder' Serbinenko
Could you use grub-print-error rather than just resetting error? And we should do it after every command in embedded config Le 2015-02-28 6:45 PM, "Andrei Borzenkov" a écrit : > Resetting grub_errno to GRUB_ERR_NONE before loading normal does allow > it to proceed. > > At this point I'm not sure

normal does not load if there was an error processing embedded config

2015-02-28 Thread Andrei Borzenkov
Resetting grub_errno to GRUB_ERR_NONE before loading normal does allow it to proceed. At this point I'm not sure what is the correct behavior. Either explicitly check for error and simply do not even try to automatically jump into normal (it is still possible to load it manually) or reset grub_err