AM/SheevaPlug/PostInstallation

Postinstallation

Serial console

We need to set up a serial console. For this, we edit /etc/inittab.

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S) Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
s0:12345:respawn:/sbin/agetty -8 115200 ttyS0 vt100
#c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
#c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
#c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
#c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
#c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
#c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

root access over serial console

We should add the serial terminal to /etc/securetty to allow root to be able to log in. Therefore append

ttyS0

/etc/fstab

The different entries in the fstab file can be found in the installation pages on the internal NAND flash memory or on an USB drive or SD card.

Network settings

To configure the network, we need to modify /etc/rc.conf. As an example here is a configuration with DHCP given:

eth0="dhcp"
INTERFACES=(eth0)

Symbolic link to the actual kernel

Since changing U-Boot when installing a different kernel is a bit cumbersome, it is convenient to create a symbolic link pointing on the current kernel. Go to the boot directory/partition.

# ln -s uImage-sheevaplug uImage