Das war auch nur ein Test hier nochmal richtig nach Anleitung
root@raspberrypi:~# sudo fdisk /dev/mmcblk0
Command (m for help): p
Disk /dev/mmcblk0: 7822 MB, 7822376960 bytes
4 heads, 16 sectors/track, 238720 cylinders, total 15278080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa6202af7
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 15278079 7577600 83 Linux
Command (m for help): d
Partition number (1-4): 2
Command (m for help): n
Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): p
Partition number (1-4, default 2): 2
First sector (2048-15278079, default 2048): 122880
Last sector, +sectors or +size{K,M,G} (122880-15278079, default 15278079): 10000000
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
root@raspberrypi:~# sudo resize2fs /dev/mmcblk0p2
resize2fs 1.42.5 (29-Jul-2012)
The filesystem is already 1894400 blocks long. Nothing to do!
root@raspberrypi:~# reboot
*********************************************************
sudo resize2fs /dev/mmcblk0p2 habe ich zum testen vor dem reboot ausgeführt