Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error at early boot stage:

ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
/scripts/init-premount/dropbear: .: line 32: can't open /tmp/net-eth0.conf

I have uninstalled/purged dropbear, but I still get the error. As I had the complete backup of my system taken soon after the installation, when I restored it, the error didn't show up. But when the system got a kernel update, again the same problem occurred. I am using Ubuntu 10.04 desktop edition on Asus Eeepc 1005px (Atom N450).

Edit 1: There were no scripts in the /scripts/init-premount/ directory. There was a dropbear directory in the /initramfs-tools/etc/ directory. I removed it and did: sudo update-initramfs -u But again that dropbear directory appeared.

share|improve this question
up vote 2 down vote accepted

If there is a leftover dropbear script in /etc/initramfs-tools/scripts/init-premount/ you can try to remove it, followed by running sudo update-initramfs, and see if that helps.

share|improve this answer
Also check /usr/share/initramfs-tools/ and subdirectories for mentions of dropbear. – Kees Cook Nov 7 '10 at 3:47

I had the same system behaviour as originally posted, only with Kernel 2.6.32-31. With 2.6.32-30 there were no messages while booting. I removed all dropbear scripts carefully but the error messages with Kernel 2.6.32-31 persisted. Very strange kind of stuff.

But forgot sudo update-initramfs -u
Thats it for complete deinstallation of dropbear.

share|improve this answer
Welcome to AU - from your wording we cannot be sure that this is a working solution. Please specify your answer. – Mateng Nov 22 '12 at 19:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.