pi@raspberrypi:~$ sudo /sbin/fdisk /dev/mmcblk0 Command (m for help): p Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes 4 heads, 16 sectors/track, 486192 cylinders, total 31116288 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: 0x0009bf4f Device Boot Start End Blocks Id System /dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA) /dev/mmcblk0p2 122880 16900095 8388608 83 Linux /dev/mmcblk0p3 16900096 21094399 2097152 83 Linux /dev/mmcblk0p4 21094400 31116287 5010944 5 Extended /dev/mmcblk0p5 21096448 23193600 1048576+ 83 Linux Command (m for help): q pi@raspberrypi:~$ sudo dd if=CSCI331MID.img of=/dev/mmcblk0p5 bs=1M 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 157.746 s, 6.8 MB/s pi@raspberrypi:~$ mkdir /tmp/csci331mid pi@raspberrypi:~$ sudo mount -r /dev/mmcblk0p5 /tmp/csci331mid/ pi@raspberrypi:~$ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 8191672 3692460 4116192 48% / /dev/root 8191672 3692460 4116192 48% / devtmpfs 470368 0 470368 0% /dev tmpfs 94936 224 94712 1% /run tmpfs 5120 0 5120 0% /run/lock tmpfs 189860 0 189860 0% /run/shm /dev/mmcblk0p1 57288 14720 42568 26% /boot /dev/mmcblk0p5 1046512 512 1046000 1% /tmp/csci331mid pi@raspberrypi:~$ ls -l /tmp/csci331mid/ total 64 -rwxr-xr-x 1 root root 387 Jan 13 2013 commonnav.html -rwxr-xr-x 1 root root 1882 Feb 25 2013 exam1.html drwxr-xr-x 2 root root 4096 Mar 3 2013 exams -rwxr-xr-x 1 root root 2424 Mar 3 2013 exams.shtml drwxr-xr-x 2 root root 4096 Mar 25 2013 homework -rwxr-xr-x 1 root root 2342 Mar 21 2013 homework.shtml -rwxr-xr-x 1 root root 1771 Mar 21 2013 index.shtml drwxr-xr-x 2 root root 4096 Mar 13 2013 labs drwxr-xr-x 3 root root 4096 Mar 17 2013 notes drwxr-xr-x 2 root root 4096 Mar 25 2013 programs -rwxr-xr-x 1 root root 53 Jan 23 2013 resources -rwxr-xr-x 1 root root 7796 Mar 17 2013 schedule.shtml -rwxr-xr-x 1 root root 9473 Feb 18 2013 syllabus.shtml pi@raspberrypi:~$ sudo umount /tmp/csci331mid pi@raspberrypi:~$ exit exit Process shell finished