qi-emdebian

Changeset

7:1ab568f9521e
2013-07-29 Paul Boddie raw files shortlog changelog graph Added details of locales, swap partitions, and setting the clock and time zone. Fixed the hostname in the login prompt.
README.txt (file) files/etc/fstab (file)
     1.1 --- a/README.txt	Fri May 10 18:53:59 2013 +0200
     1.2 +++ b/README.txt	Mon Jul 29 23:38:51 2013 +0200
     1.3 @@ -155,6 +155,12 @@
     1.4  
     1.5  It is also possible to accept the partition size suggested by <code>fdisk</code> 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).
     1.6  
     1.7 +==== Swap Partition ====
     1.8 +
     1.9 +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.
    1.10 +
    1.11 +If you create a swap partition, be sure to edit the <code>files/etc/fstab</code> file and to remove the comment marker for the line describing the <code>swap</code> partition.
    1.12 +
    1.13  === Completing the Installation ===
    1.14  
    1.15  With a partition in place (<code>/dev/sdb1</code> in this case), you can now run the following helper script (as <code>root</code> or using <code>sudo</code>):
    1.16 @@ -169,10 +175,27 @@
    1.17  
    1.18  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...
    1.19  
    1.20 - (none) login:
    1.21 + nanonote login:
    1.22  
    1.23  This indicates that the system is now ready to allow you to log in. You should be able to do so as <code>root</code> without providing a password. It is then your responsibility to set a password using the <code>passwd</code> command.
    1.24  
    1.25 +=== Further Configuration ===
    1.26 +
    1.27 +To set the clock to a UTC time, run the following command:
    1.28 +
    1.29 + date -u -s '2013-07-29 21:24:00'
    1.30 +
    1.31 +To set the time zone, run the following:
    1.32 +
    1.33 + dpkg-reconfigure tzdata
    1.34 +
    1.35 +It may be easier to run this command via a secure shell (ssh) connection to the NanoNote from a computer with a larger screen.
    1.36 +
    1.37 +To set up a default locale or to change the locales and their settings, install the appropriate package and reconfigure it:
    1.38 +
    1.39 + apt-get install locales
    1.40 + dpkg-reconfigure locales
    1.41 +
    1.42  == Further Work ==
    1.43  
    1.44  Things to be added include...
     2.1 --- a/files/etc/fstab	Fri May 10 18:53:59 2013 +0200
     2.2 +++ b/files/etc/fstab	Mon Jul 29 23:38:51 2013 +0200
     2.3 @@ -2,4 +2,5 @@
     2.4  #
     2.5  # <file system> <mount point>   <type>  <options>       <dump>  <pass>
     2.6  /dev/mmcblk0p1  /               ext2    defaults        0       0
     2.7 +#/dev/mmcblk0p2  none            swap    sw              0       0
     2.8  proc            /proc           proc    defaults        0       0