I found the answer here: Arduino Yun - Bootloader not retaining sketch on power off - Arduino Yún - Arduino Forum, the second thread. Thanks.
I found the answer here: Arduino Yun - Bootloader not retaining sketch on power off - Arduino Yún - Arduino Forum, the second thread. Thanks.