Monday, March 23, 2009

Installing Debian on "Slug" NSLU2

Essence of this blogpost: Log in with a shell on the device to tail the syslog while the installer runs for much finer grained feedback during install. This can be OK, since it often takes "half a year" to format the disk and install the device, and one start to wonder whether it is hung.

How cool: You can install the actual Debian newest version 5.0 system onto a Slug!

This is a quick note on the installation of the Cisco Linksys NSLU2 device.

The debian install works like this: You "upgrade" the device "to the installer" using one of three methods, one of which is to simply use the web console of the device and direct that to the "di-nslu2.bin" file you downloaded.

The device then reboots, and after some minutes emits three beeps. You now log in to it using ssh (for Windowers, this means putty). The standard ip of any new Slug is, but if you enabled DHCP using the web console before you "updated the firmware", it will still use DHCP after booting, normally getting the address it got the first time (DHCP clients always asks for the same IP they got the first time from a DHCP server), or being given the static configured DHCP IP address you've configured on the DHCP server (which IMHO is the right thing to do).

The username/password is installer/install. You end up on the "Network console for the Debian installer". Here you can select either "install it damnit" or "install (expert mode)", or "start shell".

You select one of the install options, and you're on your way.

The point of this blogpost is that the installer takes some time (like in the 4 hour range!). And just the formatting of a 1TB disk takes at least a full hour, where at least 95% of the time the progress bar shows "33% finished"! This makes one wonder what is happening.

What is cool, is that one can log in once more to the installer. This time, select "Start shell". Now tail the syslog:

cd /var/log
tail -f syslog

.. or, when the device is formatting your disk, which takes ages, instead tail "partman". Ctrl-C to stop. Since the Slug has very little memory, you should not do much creative stuff with the shell you've got there during the install, or else the installer itself might be terminated by Linux' OutOfMemoryKiller.


  1. Khi dành phần đời còn lại của mình bằng việc mang niềm vui đến cho mọi người thì những con người ấy đã tìm thấy niềm vui thật sự của cuộc sống, thuốc fucoidan họ nhận ra niềm vui và hạnh phúc đến một cách tự nhiên khi mình mang niềm vui đến những người khác, tác dụng của thuốc Fucoidan và thật kì diệu khi gần đến những ngày cuối cùng của số mệnh đã định trước họ chợt thấy mình vẫn khỏe mạnh chẳng có dấu hiệu gì là sắp chết, thuốc Fucoidan có tốt không rồi họ nhận ra cuộc sống đã cho mình một cơ hội nữa để làm lại cuộc đời sống những phút giây ý nghĩa mang lại niềm vui cho mình và tha nhân. các loại thuốc Fucoidan Nhật Bản và Mỹ Fucoidan kích thích khả năng miễn dịch của cơ thể, ngăn ngừa sự hình thành của khối u, đồng thời có tác dụng làm chậm quá trình oxy hóa, thuốc Fucoidan là gì có tốt không ức chế quá trình sự phát triển mạch máu mới của tế bào ung thư, từ đó loại bỏ nguồn cung cấp chất dinh dưỡng cho các tế bào ung thư.

    1. IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes. IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble.Final Year Projects for CSE

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining .

      Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

      The Angular Training covers a wide range of topics including Angular Directives, Angular Services, and Angular programmability.Angular Training


  2. Thanks for your extraordinary blog. Your idea for this was so brilliant. This would provide people with an excellent tally resource from someone who has experienced such issues. You would be coming at the subject from a different angle and people would appreciate your honesty and frankness. Good luck for your next blog!
    Tally ERP 9 Training
    tally classes
    Tally Training institute in Chennai
    Tally course in Chennai
    seo training classes
    seo training course
    seo training institute in chennai
    seo training institutes
    seo courses in chennai
    seo institutes in chennai
    seo classes in chennai
    seo training center in chennai