<div dir="ltr"><div><div><div><div>Hello.<br><br></div>I was trying to bring up GRUB fallback feature on x86_64 based OpenWRT build.<br></div>I used this article as a reference. <a href="http://www.linuxscrew.com/2012/04/24/grub-fallback-boot-good-kernel-if-new-one-crashes/" target="_blank">http://www.linuxscrew.com/2012/04/24/grub-fallback-boot-good-kernel-if-new-one-crashes/</a><br></div>It's for Fedora, but I hope, that I can do something similar for openwrt. <br><br></div>Here's my config:<br><br><span style="color:rgb(0,0,255)">serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1<br>terminal_input console serial; terminal_output console serial<br><br><br>set default="saved"<br>set timeout="5"<br>set root='(hd0,msdos1)'<br>set fallback="0 1"<br><br>menuentry "OpenWrt" {<br>        linux /boot/vmlinuz root=/dev/sda2 rootfstype=ext4 rootwait console=tty0 console=ttyS0,38400n8 noinitrd<br>        savedefault fallback<br>}<br><br>menuentry "OpenWrt-backup" {<br>        linux /boot/vmlinuz-backup root=/dev/sda3 rootfstype=ext4 rootwait console=tty0 console=ttyS0,38400n8 noinitrd<br>        savedefault fallback<br>}<br><br>menuentry "OpenWrt (failsafe)" {<br>        linux /boot/vmlinuz failsafe=true root=/dev/sda2 rootfstype=ext4 rootwait console=tty0 console=ttyS0,38400n8 noinitrd<br>}</span><br><br><div>But, when I try to boot  openwrt with this config I get message, that command is not recognized. <br><br><span style="color:rgb(0,0,255)">Booting `OpenWrt'<br>error: can't find command `savedefault'.<br>Press any key to continue...</span><br><br>Can I reconfigure a grub somehow in order to have this feature?<br></div><div><br></div><div>Thanks,<br></div>Alex</div>