use the device is found by lsof(8) or fuser(1).

бывает такое, когда примонтировал (ручками) и потом система не дает отмонтировать

root@hp:~# umount /mnt/sys64/
umount: /mnt/sys64: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

смотрим кто использует маунт
lsof | grep /mnt/sys64

# lsof | grep /mnt/a64
faked 7824 nk cwd DIR 8,8 4096 13426808 /mnt/a64/mnt/sda8/pub/tmp/KDE4/kde-build/kde-baseapps
faked 7824 nk rtd DIR 8,11 4096 2 /mnt/a64
faked 7824 nk txt REG 8,11 19360 810103 /mnt/a64/usr/bin/faked
faked 7824 nk mem REG 8,11 1416496 35 /mnt/a64/

убиваем этот процесс
и дисмаунтим через umount /path

Truecrypt share mounted container

First edit your /etc/fuse.conf to allow other users by uncommenting the user_allow_other line at the bottom. (use gksu gedit /etc/fuse.conf)

Next you’ve got to mount the Truecrypt volume with read permissions for “other”. Do that from the command line using:

truecrypt --fs-options="uid=1000,gid=1000,umask=0002" -m="ro" -k "" --protect-hidden=no /path /куда

-m=”ro” = read only
-k “” без ключей
/path = path to you container

для анмаунта
umount /media
truecrypt -d /путь до файла контенера

Enable Root User on Ubuntu 16.04.1 LTS

Steps To Enable Root User On Ubuntu 16.04.1 LTS:

1) First of all login your account

2)Open terminal (Alt +Ctrl +T)

3)Set Root user Password 

technhit@technhit-virtual-machine:~$sudo passwd root
[sudo]password for technhit:
Enter UNIX password:
Retype UNIX password:
passwd:password updated successfully


4) Now open file 50-ubuntu.conf with nano command.

technhit@technhit-virtual-machine:~$sudo nano /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf


5)Now Add the following line to the end of file:



6) Press Ctrl +X then press Y to exit

7)Now restart your system and login as root.


Posts navigation

1 2 3 4 5 6 7 8 9 119 120 121
Scroll to top