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 started customizing live ubuntu cd. I followed all the steps in this post but i am not able to unmount the /proc. Please look @ the below error.. The error says some process where running but i am not able to figure out the process.. Can anyone help ?

Error

root@karthick:/# umount /proc/
umount: /proc: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
share|improve this question
    
Could you escape your chroot and run sudo lsof -n ~/livecd/custom on it? –  Lekensteyn Jul 24 '11 at 8:09

1 Answer 1

up vote 2 down vote accepted

You are probably trying to do this in a root environment and not the chroot environment.

See the difference between

/home/rinzwind$ sudo su
/home/rinzwind# umount /proc
umount: /proc: device is busy.
    (In some cases useful info about processes that use
     the device is found by lsof(8) or fuser(1))
root@discworld:/home/rinzwind# exit

and

rinzwind@discworld:~$ sudo chroot ~/livecd/custom
bash-4.2# umount /proc

The 1st tries to umount /proc for the system you are using and of course fails. The 2nd one is done on the chrooted environment and works.

Looking at your prompt root@karthick: this should be a bash prompt.

share|improve this answer

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.