I installed nfs-commons on my Ubuntu 11.04 machine so that I can mount an NFS drive. However I late decided to remove NFS from my system so I did a sudo apt-get remove. Now, 1 out of 5 times my machine does not boot. It hangs. The boot messages say somewhere
starting NFSv4 id <-> name mapper [fail]
Also one of the message says
init: statd pre-start process (505) terminated with status 2
Now I think both these messages have got something to do with my previous NFS installation. But I don't understand that when I have uninstalled it, why is my OS trying to start these services ? I don't have any entry for NFS in my fstab either.
So my question is this :
How do I find out what processes / services are going to start during boot and how do I disable them ?