1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
This package includes support for generating an initramfs that can boot on
the slug. It will be updated when the Debian kernel package is upgraded.
If you use the internal ethernet interface on the slug, you will need to
download the non-free modules or firmware http://www.slug-firmware.net/,
matching the kernel verson you are upgrading to.
This package includes a "leds" program that can be used to control the leds
manuall. It also includes an "zleds" init script that controls the leds of
the slug during boot. This can be used to diagnose boot failures. Some of
the led states during boot include:
- Cycling down all the leds from top to bottom: The APEX boot loader.
- Amber status led: Initramfs is running, mounting root filesystem.
- Disk 1 on, status slowly switching between amber and green: Root
filesystem mounted, system booting.
- Disk 1 on, status green, with fast double amber flashes: System is booted
and running. The frequency of the amber flashes indicates the system's
one minute load average; faster flashes denote higher load.
- Disk 1 on, status quickly flashing between black/green and black/amber.
Single user mode. Again the flash interval denotes load.
- Disk 1 on, status slowly switching beteween amber and red: Shutdown in
progress.
If instead of booting using the Debian initrd, you are using the openslug
firmware to boot Debian from a USB drive on your slug, then it creates a
/.recovery file during boot, and unless this file is removed, the next boot
will be back into the openslug system. This package has an init script that
removes this file on each boot, so that Debian will boot each time. If you
don't want the init script to remove the file, edit
/etc/default/rmrecovery.
A few hints for futher configuration of Debian on your slug:
- Unless you have a serial console, it's a good idea to edit
/etc/default/rcS and set FSCKFIX=yes, to prevent fsck problems from
hanging your boot waiting for you to press "y" on a nonexistant console.
- It's a good idea to enable bootlogd, by editing /etc/default/bootlogd.
Then you can see boot logs in /var/log/boot.
- You might want to move the ssh server startup closer to the beginning of
the init sequence so that you can ssh in earlier. You can do that by
moving /etc/rc2.d/S20ssh to /etc/rcS.d/S41ssh. (Anything after networking
is brought up will do.) You can also move /etc/rcS.d/S40networking to
S21networking to make the network come up a lot earlier, and run ssh in
/etc/rcS.d/S21ssh; this will let root log in while the system is still
booting, which can be useful if something goes wrong.
- If you want the power button to turn the system off, instead of
rebooting it like it does by default, edit /etc/inittab and change the
shutdown command to run shutdown -h now.
- If you want openslug's behavior of coming up on address 192.168.1.77 if
there is no dhcp server, edit /etc/dhclient.conf and add a default
lease, such as this:
# Prdefined default lease for networks w/o dhcp.
lease {
interface "eth0";
fixed-address 192.168.1.77;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}
Alternatively, install avahi-autoipd, and if no dhcp lease is obtained,
the slug will come up using zeroconf networking. You can then access it
using "hostname.local", if you have mDNS configured (install
libnss-mdns).
|