Appendix D. Random Bits # echo UbuntuHostName > /etc/hostname 127.0.0.1 localhost 127.0.1.1 UbuntuHostName If you have multiple network cards, you should arrange the names of driver modules in the /etc/modules file into the desired order. Then during boot, each card will be associated with the interface name (eth0, eth1, etc.) that you expect. To configure your locale settings to use a language other than English, install the appropriate language packs and configure them. Currently the use of UTF-8 locales is recommended. # apt install language-pack-de language-pack-gnome-de To configure your keyboard (if needed): # apt install console-setup # dpkg-reconfigure keyboard-configuration Note that the keyboard cannot be set while in the chroot, but will be configured for the next reboot. If you intend to boot this system, you probably want a Linux kernel and a boot loader. Identify available pre-packaged kernels with: # apt-cache search linux-image Then install the kernel package of your choice using its package name. # apt install linux-image- arch-etc (You may want install linux-image-generic , too.) 117 D.4.5. Install a Kernel D.4.4.7. Configure Locales and Keyboard And a basic /etc/hosts with IPv6 support: # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts