# HG changeset patch # User Paul Boddie # Date 1375133931 -7200 # Node ID 1ab568f9521e67d8a1285e713997dc3201e50b63 # Parent ba1e21d2f77b7b83add728dd7dbbcf5a0048a695 Added details of locales, swap partitions, and setting the clock and time zone. Fixed the hostname in the login prompt. diff -r ba1e21d2f77b -r 1ab568f9521e README.txt --- a/README.txt Fri May 10 18:53:59 2013 +0200 +++ b/README.txt Mon Jul 29 23:38:51 2013 +0200 @@ -155,6 +155,12 @@ It is also possible to accept the partition size suggested by fdisk and assign all the space on the card to a partition as well. This may not be sensible, however, since it may make some operations slower and hinder alternative uses for the space (like the creation of other partitions for purposes like backups). +==== Swap Partition ==== + +Debian programs can use a lot of memory - more than the 32MB of program memory that the NanoNote has available - and so it becomes necessary to allocate additional swap memory so that all running programs can fit in memory. Making a swap partition is largely the same process as that described above for the root partition, but it is likely that you will want to choose a much smaller size. 128M is likely to be enough for the NanoNote: anything larger is probably entertaining a misplaced belief that the computer is powerful to efficiently run the kinds of programs needing such larger amounts of memory. + +If you create a swap partition, be sure to edit the files/etc/fstab file and to remove the comment marker for the line describing the swap partition. + === Completing the Installation === With a partition in place (/dev/sdb1 in this case), you can now run the following helper script (as root or using sudo): @@ -169,10 +175,27 @@ If everything goes according to plan, a few minutes will be required for the configuration of the system to be done by the device - this is an issue with installing and booting Debian for the first time - but eventually, a message at the bottom of the screen should read something like... - (none) login: + nanonote login: This indicates that the system is now ready to allow you to log in. You should be able to do so as root without providing a password. It is then your responsibility to set a password using the passwd command. +=== Further Configuration === + +To set the clock to a UTC time, run the following command: + + date -u -s '2013-07-29 21:24:00' + +To set the time zone, run the following: + + dpkg-reconfigure tzdata + +It may be easier to run this command via a secure shell (ssh) connection to the NanoNote from a computer with a larger screen. + +To set up a default locale or to change the locales and their settings, install the appropriate package and reconfigure it: + + apt-get install locales + dpkg-reconfigure locales + == Further Work == Things to be added include... diff -r ba1e21d2f77b -r 1ab568f9521e files/etc/fstab --- a/files/etc/fstab Fri May 10 18:53:59 2013 +0200 +++ b/files/etc/fstab Mon Jul 29 23:38:51 2013 +0200 @@ -2,4 +2,5 @@ # # /dev/mmcblk0p1 / ext2 defaults 0 0 +#/dev/mmcblk0p2 none swap sw 0 0 proc /proc proc defaults 0 0