So I installed Raspbian and OSMC on my pi and I like using both, but is there a way to skip the 8 second boot menu? I ssh into raspbian often which can require rebooting, so it adds an extra 8 seconds to the wait time when I reboot.

Is there a way to choose which starts the boot and then maybe open the other OS's from the first?

Or more likely, a way to open the boot menu only if a keyboard key is held down during startup?


Put the SD card in another machine: You should see the RECOVERY partition. Create the text file: autoboot.txt at the root level of this partition.

Note: Be careful in Windows that if you create a textfile, you can just call it autoboot because it will already be a .txt file. I accidently tried to use autoboot.txt.txt and it took me a minute to realize the issue.

Put a single line in the text file:


Note, from my source, you may instead need to use the line



Thanks to rockaddicted@github

Note, finally, that this also removes the Rainbow image that NOOBS puts as the very initial spash screen.

  • So 5 or 6 are the numbers of the the first 2 installed OSs? – andykais Apr 10 '16 at 9:01
  • Yeah, how does one discover the partition numbers? – Marc Dec 20 '16 at 9:56
  • See these Noobs explanations – Max Coplan Oct 16 '19 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.