cclauss wrote:In Pidora, is there a headless mode way to expand the rootfs to take up the entire SD card without doing remote Xwindows into the Pi?

'Parted' runs on the command line but I don't know how to expand the rootfs with it.

You could login using headless mode (headless mode means that you don't have a display connect and you login with ssh from any other system) and use these steps to expand your root partition and file system on a Raspberry Pi running Pedora (fedora remix):
- backup your system in case of a misstake!
- use "fdisk /dev/mmcblk0" to view your partitions.
- use "parted" to delete the partition and then recreate it but with a larger size. (don't worry, the data will remain)
- reboot to activate the partition changes.
- use "resize2fs /dev/mmclk0p2" to enlarge the root file system.
- use e2fsck -f /dev/mmcblk0p2 to perform a file system check.
- use "df -h" to check results.

Before you extend your root partition and filesystem you should know how big your rootfs is and how much space is available:

(parted) rm 2
Error: Partition(s) 2 on /dev/mmcblk0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will
remain in use. You should reboot now before making further changes.
Ignore/Cancel? i
(parted)

Now the second partition is removed. Do not reboot your system before you have created the new partition! Other wise you lose your root file system.

The new partition must start at the same position where the old root partition did start and it ends where you like. It must have at least the same size as current partition and it may not exceed the end of the disk (in my case 1946,198,43).
(Ignore the warning.)

(parted) mkpart primary 6,127,57 1946,198,43
Error: Partition(s) 2 on /dev/mmcblk0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will
remain in use. You should reboot now before making further changes.
Ignore/Cancel? i
(parted)

The best way to Resize the Rootfs on Pidora 2014 while using headless mode, if to use the Headless Mode function to resize it. This can be done by adding the option "RESIZE" to the headless file, see a detailed description in the link with examples for both DHCP and Static.

The Headless Mode service, if configured to do so, will activate the rootfs resize service and reboot your computer. The computer may reboot a second time, but when complete, the rootfs should be at the max size.