Teacher Reporting: Difference between revisions
Jrgreen118 (talk | contribs) |
Jrgreen118 (talk | contribs) |
||
| Line 76: | Line 76: | ||
**Can be physical machine or virtual. Also, some things can be done in Windows. | **Can be physical machine or virtual. Also, some things can be done in Windows. | ||
*SD card which is at least 4GB (We used an 8GB A-DATA SDHC) | *SD card which is at least 4GB (We used an 8GB A-DATA SDHC) | ||
=====Uncompress the image:===== | =====Uncompress the image:===== | ||
| Line 83: | Line 81: | ||
*In Windows, [http://www.rarlab.com/download.htm WinRAR] worked for me. | *In Windows, [http://www.rarlab.com/download.htm WinRAR] worked for me. | ||
*In Linux, the command "gzip -d OLPC-School-Server-0.5.2-dev01-i386.img.gz" works just as well. | *In Linux, the command "gzip -d OLPC-School-Server-0.5.2-dev01-i386.img.gz" works just as well. | ||
=====Setting Up the Environment===== | |||
With the SD card connected to the Linux PC: | |||
*Using a tool of your choice format the SD card to ext2 or ext3 (Linux 83). | |||
**I used gparted and formated the SD card to ext3, but fdisk would also work. | |||
*Mark the partition with the boot flag | |||
**This can be done using gparted, but mine had issues applying the changes. I used fdisk. | |||
**To enter fdisk, use <pre>fdisk /dev/sd*1</pre> where * is the letter associated with the SD device and the 1 is the partition. Once in fdisk, use the help to determine the specific command to mark the boot flag. For me it was "a". | |||
*Next ensure the .img file uncompressed previously is accessible by the Linux machines. I used another flash drive. | |||
*Use the command <pre>dd if=OLPC-School-Server-0.5.2-dev01-i386.img.gz of=/dev/sd*1</pre> | |||
**This will take some time depending on the system performance. | |||
*Use resize2fs to re-size the partition <pre>resize2fs -p /dev/sd*1</pre> | |||
==Documentation & Resources== | ==Documentation & Resources== | ||