Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was getting the error mentioned in this post on Ubuntu 10.04. I upgraded to Ubuntu 10.10 through software update and again I'm getting this error.

mount: mounts none on /dev/pts failed: Device

Here is the boot log:

IP-Config: no response after 4 secs - giving up
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: line 32: ipconfig: not found
/scripts/init-premount/dropbear: .: line 32: can't open '/tmp/net-*.conf'
fsck from util-linux-ng 2.17.2

I had purged dropbear, and it looks like some scripts are still remaining. Is it possible to do a clean re-install of initramfs?

EDIT 1: sudo update-initramfs -u doesn't solve the issue. Also sudo update-initramfs -c -k all also doesn't solve the issue.

share|improve this question

3 Answers 3

sudo update-initramfs -u

Simple as. Shouldn't be able to hurt anything.

On another note, you should ask whoever packages dropbear to add that to their postrm script.

share|improve this answer

With this problem, I did a complete removal of dropbear. It seems that the hooks into initramfs are left behind.

sudo apt-get remove --purge dropbear

sudo apt-get clean

(clean to remove log-files and other temp stuff)

Issue the

sudo update-initramfs -u

to ensure that the initramfs is reconfigured afterwards.

share|improve this answer

I was able to solve the dropbear issue.

I did the following:

  1. I removed all dropbear related files by using the command: sudo find / -name dropbear* -exec rm -ri {} \;
  2. Then I did sudo update-initramfs -c -k all
  3. Now only this error remains mount: mounts none on /dev/pts failed: Device It looks like there is an obsolete mount entry created by dropbear in the config files which get executed in pre-init stages. If some one could figure out that config file, I would be able to solve the whole issue.
share|improve this answer
    
do you check your /etc/fstab ? –  hhlp Oct 18 '10 at 16:47
    
Yes I did. There is no entry for /dev/pts in fstab. –  nixnotwin Oct 19 '10 at 0:42

Your Answer

 
discard

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.