a1ive / grub

Fork of GRUB 2 to add various features.
GNU General Public License v3.0
138 stars 38 forks source link

set fallback=1 it not work? #94

Open starzc-galaxy opened 2 years ago

starzc-galaxy commented 2 years ago

set timeout=3 set fallback=0 set default=1

menuentry "nor" { echo "0000000000000000000"; boot; read;

} menuentry "noe" { echo "222222222222222222"; dfdasfasfas; boot; }

menuentry "now" { echo "33333333333333333"; read; }

celebum commented 1 year ago

Hi, I think Your faulty menuentry is not activate a fallback because the 'dfdasfasfas;' is not a real command and is catch as a syntex error not a module error.

Lets try

menuentry "noe" {
echo "222222222222222222";
linux dfdasfasfas;
boot;
}