I'm running CentOS in a virtual machine (VMware) and booting from an iso, is it possible to unmount the 'drive' I booted from?

I get something along the lines of cannot unmount because it was not mounted by HAL...

Is it possible to force it to unmount?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Not mounted by HAL means you can't unmount it as a normal user so you need to use your root account to do so.

So run:

su
(enter your root password)
umount /mnt/wherever
link|improve this answer
Alternatively you can also use sudo. – Diago Jul 31 '09 at 10:03
Sure, but sudo is less likely to be the default on CentOS. – Mike McQuaid Jul 31 '09 at 10:24
feedback

Your Answer

 
or
required, but never shown

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