Flexion.Org
Bad grammar and typos for total strangers
Wiki › Debian On ASlug
Wiki Index All Recent Edit Bottom

Running Debian 4.0r0 (Etch) on a NLSU2

1.   Installing Debian on my NLSU2
2.   Configuring Debian on my NLSU2
2.1   Disable IPv6
2.2   Disable getty
2.3   Disable device-mapper kernel modules
2.4   Disable disk integrity checks
3.   Multiple Disks

Installing Debian on my NLSU2

Follow this guide...

Using the "unofficial" Debian firmware from here...

This is for my reference...

 NSLU2     00:18:39:28:87:32 Product ID: 1 Protocol ID: 0 Firmware Version: R23V63 [0x2363]
 Upgrading LKG288732 00:18:39:28:87:32

Configuring Debian on my NLSU2

Once Debian was running on my slug, I set it up like any other Debian server and stripped it down a little.

Disable IPv6

I don't use IPv6 at home, so I have disabled it.

 vi /etc/modprobe.d/blacklist

Add the line...

 blacklist ipv6

...and reboot.

References

Disable getty

I don't have a console connected to my Slug, so getty isn't required.

 vi /etc/inittab

Comment all lines related to consoles (tty[0..6]) as we don't have a screen:

 #1:2345:respawn:/sbin/getty 38400 tty1
 #2:23:respawn:/sbin/getty 38400 tty2
 #3:23:respawn:/sbin/getty 38400 tty3
 #4:23:respawn:/sbin/getty 38400 tty4
 #5:23:respawn:/sbin/getty 38400 tty5
 #6:23:respawn:/sbin/getty 38400 tty6
 #T0:23:respawn:/sbin/getty -L ttyS0 115200 linux

Now tell init to re-read the inittab file.

 telinit q

Disable device-mapper kernel modules

If you are not using LVM, '/etc/init.d/libdevmapper1.02' will still load the device-mapper kernel modules. Since libblkid1 depends on libdevmapper1.02 and mount depends on libblkid1, it is not possible to remove libdevmapper1.02. Instead you can prevent the script from loading the modules by inserting

 exit 0

on the second line of '/etc/init.d/libdevmapper1.02'.

Disable disk integrity checks

This is done because in some if invoked, it would take forever at boot time to complete.

  • "-c 0" disables disk integrity checks that normally occur every 33 mounts
  • "-i 0" disables disk integrity checks that normally occur every 180 days
 /sbin/tune2fs -c 0 -i 0 /dev/sda1
 /sbin/tune2fs -c 0 -i 0 /dev/sda3

References

Multiple Disks

I will be adding extra disk to my Debian Slug in the future.

References

$Id: DebianOnASlug,v 1.14 2008/03/01 09:22:34 martin Exp $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker