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.

Since upgrading to 12.10 from 12.04, I get the following error every time it boots:

 /scripts/init-premount/devpts: line 21 mountpoint not found

It does, however, skip over that and continue to boot.

I can't find that location, however. Any ideas?

share|improve this question
add comment

2 Answers

I don't know what that exactly happens, but that /scripts/init-premount/devpts is probably inside the initramfs. To locate the real file, you can do locate init-premount/devpts. Posting the problematic line will help resolve the problem.

Note: I don't have that file here on my machine (12.04), but I do have the folders /etc/initramfs-tools/scripts/init-premount and /usr/share/initramfs-tools/scripts/init-premount, but I will soon upgrade and look again.

Sorry, I can't comment, so I do it now via an answer.

Update: you can also try sudo update-initramfs. It might just fix it for you.

share|improve this answer
    
I tried your second thing, the sudo update one, with several different arguments including the one with the kernel version. None of those helped. I did find the file in that /usr location you mentioned. Line 21 reads: mountpoint -q /dev/pts || exit 0 –  David Good Oct 20 '12 at 14:19
    
It seems to be related to dropbear (see packages.ubuntu.com/quantal/i386/dropbear/filelist). You can try sudo dpkg-reconfigure dropbear or, if you don't need dropbear, try uninstalling it via sudo apt-get purge dropbear (the purge is important as it removes the configuration too). Or at least to check whether dropbear causes it. –  ayke Oct 24 '12 at 19:06
2  
Update: it seems to be related to the mountpoint command. I have reported a bug here: bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1070992 –  ayke Oct 24 '12 at 19:37
add comment

You made a bad upgrade . What I can advise you is to reinstall Ubuntu 12.04 And keep it or Install directly 12.10 without making the upgrade from 12.04 to 12.10. if you're not sure how to do it and know how to do it .

share|improve this answer
add comment

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.