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/blacklistAdd the line...
blacklist ipv6...and reboot. References
- http://beranger.org/index.php?article=1127&page=3k
- http://www.debian-administration.org/articles/409
Disable getty
I don't have a console connected to my Slug, so getty isn't required.vi /etc/inittabComment 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 linuxNow 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 insertingexit 0on 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/sda3References
Multiple Disks
I will be adding extra disk to my Debian Slug in the future. References- http://www.linuxfortherestofus.com/?p=56
- http://www.debian-administration.org/articles/522
- http://www.nslu2-linux.org/wiki/HowTo/MountDisksByLabel
- http://www.nslu2-linux.org/wiki/Debian/ChangeKernelCommandLine
$Id: DebianOnASlug,v 1.14 2008/03/01 09:22:34 martin Exp $
Wiki Index All Recent Edit Top

