Cerapter
Posts: 3
Joined: Wed Apr 08, 2015 8:10 pm

The NOOBS root folder

Wed Apr 08, 2015 8:29 pm

I've seen it referred to, but I cannot seem to figure out where it should be.

A system-wide search for "recovery.cmdline", which is the file I am looking for, returns nothing.

Any hints appreciated!

User avatar
B.Goode
Posts: 10191
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: The NOOBS root folder

Thu Apr 09, 2015 7:08 am

That file is in the 'recovery' partition on a NOOBS SD card.

By design, that partition is not mounted by installed Operating Systems, so that file will not be accessible if you are trying to inspect it or modify it from Raspbian or other OS running on the RPi itself.

In contrast, the recovery partition is the ONLY area of a NOOBS SD card that is visible if you attempt to read the SD card with a system running Windows.

Cerapter
Posts: 3
Joined: Wed Apr 08, 2015 8:10 pm

Re: The NOOBS root folder

Thu Apr 09, 2015 12:15 pm

Thank you for your reply!

I also found recovery.cmdline in the NOOBS zip file, leading me to assume it only existed pre-installation. What you're saying is that after installation of OS(es), it is put in a separate partition, and can still be accessed by opening/mounting the "RECOVERY" labeled partition.

The reason I couldn't find the file is that I am using Ubuntu on my laptop. When I insert the SD card, it mounts all the partitions except the recovery partition. I had to manually mount this using the mount command, in my case:

Code: Select all

sudo mount /dev/sdb1 /media/sdb1
My motivation for editing this file was to enter the NOOBS boot menu without pressing SHIFT, as I do not have a USB keyboard.

User avatar
electronicsguy
Posts: 156
Joined: Wed Jan 21, 2015 11:20 pm
Contact: Website

Re: The NOOBS root folder

Thu Apr 09, 2015 8:12 pm

so what will you do after entering the menu?
blog: https://electronicsguy.wordpress.com
github: https://github.com/electronicsguy

Return to “Beginners”