run command:
sudo mount -t cifs -o username=shareusername,password=sharepassword //server/share /mnt
Ref: mount cifs
How to configure all system on ubuntu, Debian, CentOS
run command:
sudo mount -t cifs -o username=shareusername,password=sharepassword //server/share /mnt
Ref: mount cifs
1. run this command on Windows 10 with Administrator (If not run this ubuntu will not R/W file on mount drive)
powercfg /h off
Ref: ntfs-3g
2. Add command on file /etc/fstab
# mount NTFS drive
UUID=483C6CC03C6CAB20 /media/user/drive_c ntfs-3g defaults,uid=1000,gid=1000,rw 0 1
UUID=3874B76D74B72D0E /media/user/drive_d ntfs-3g defaults,uid=1000,gid=1000,rw 0 1
* Create folder for mount Path file
mkdir -p /media/user/drive_c
mkdir -p /media/user/drive_d
* For check disk NTFS on ubuntu run command
sudo blkid
* Allow user to RW file
uid=1000,gid=1000,rw
I use multi OS in my notebook. I want to mount file NTFS from windows to Ubuntu.
1. Create file
sudo mkdir -p /media/user/drive_c
sudo mkdir -p /media/user/drive_d
sudo chown user:guser /media/user/* -R
2. check path location NTFS
sudo fdisk -l
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserved
/dev/nvme0n1p3 239616 168011775 167772160 80G Microsoft basic data
/dev/nvme0n1p4 168011776 285198335 117186560 55.9G Linux filesystem
/dev/nvme0n1p5 762908672 967706623 204797952 97.7G Microsoft basic data
/dev/nvme0n1p6 967708672 968757247 1048576 512M Windows recovery environme
/dev/nvme0n1p7 968757248 998117375 29360128 14G Windows recovery environme
/dev/nvme0n1p8 998117376 1000214527 2097152 1G Windows recovery environme
/dev/nvme0n1p9 285198336 300822527 15624192 7.5G Linux swap
/dev/nvme0n1p10 300822528 762908671 462086144 220.3G Linux filesystem
Partition table entries are not in disk order.
sudo mkdir /media/iso
sudo mount -o loop path/to/iso/file/YOUR_ISO_FILE.ISO /media/iso
sudo umount /media/iso