Eu obtive a configuração do Kali Linux em um USB e tenho tentado copiar arquivos para o meu disco rígido, mas recebo o erro:
cp: cannot create regular file '/media/root/OSDisk/Users/User/Documents/file.txt': No such file or directory
Mas copiar da unidade funciona bem. Meu kernel Linux é o 4.15.0. lsusb retorna:
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
hub
Bus 003 Device 005: ID 17ef:1004 Lenovo Integrated Webcam
hub
Bus 003 Device 002: ID 0781:558a SanDisk Corp.
hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0a5c:2145 Broadcom Corp. BCM2045B (BDC-2.1)[Bluetooth Controller]
Bus 002 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
e df retornam:
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1942012 0 1942012 0% /dev
tmpfs 393220 11992 381228 4% /run
/dev/sdb5 52014088 21381828 27960388 44% /
tmpfs 1966100 19920 1946180 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1966100 0 1966100 0% /sys/fs/cgroup
tmpfs 393220 12 393208 1% /run/user/131
tmpfs 393220 44 393176 1% /run/user/0
/dev/sdb1 2867168 2867168 0 100% /media/root/Kali Live2
/dev/sdb2 684 666 18 98% /media/root/Kali Live1
/dev/sda1 246532092 214315320 32216772 87% /media/root/OSDisk
E ls -ld vai dar:
drwxrwxrwx 1 root root 12288 Jul 21 10:53 /media/root/OSDisk/Users/User/Documents
Estou logado como usuário root.
Tags hard-drive linux kali-linux