I have an SD containing a NOOBS-installed Raspbian, that over the months has become considerably expanded with downloads and my own stuff. Now I'd like to maximize the space by getting rid of the 'recovery' partition, and devoting the whole thing to linux. However, I'm not really sure of my options for doing this.
For a start, I'm intending to dd the relevant partitions (boot & root) off to a flash-drive or somewhere (on my laptop, not the Pi). Then I assume I can eventually dd them back onto the front of the SD.
There are several areas where I'm somewhat in the dark, though. I guess I probably should partition the SD to the desired sizes first, otherwise I'd have no (or a bad) partition table (?). The 'boot' partition I assume has a suitable VBR? Or will that be wrecked by moving it?
I notice that the boot partition is FAT32 (also on the Raspbian image that I've just downloaded as well). Why is this? A feature of Broadcom? (My Linux-based laptop of course doesn't do that.)
A backup plan is to install the downloaded image and then rebuild the system from the preserved original. I did that before, though, using rsync, and it was thoroughly tedious. Mainly because there are root-access-only files, and there is no root password! I guess I could probably solve that simply by assigning a password, but if somehow I could do a direct copy it'd be nicer.
Hmmm. Another option has just occurred to me. If I change the partition table to have 'boot' the active partition, can I then just reformat the recovery partition as ext4 and gain access as a storage area?
Thanks for any suggestions.
-- Pete --