How to mount drive as read only on linux

You normally have to do this when you are dual booting and your windows partition is in a state of hibernation.. Linux sees this and refuses to touch files Complicated Linux Suggested Method: sudo mount -t “ntfs” -ro “uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177” “/dev/sda2” “~/Desktop/D/” Where ‘D’ is a folder you previously created to Read more…

How to mount samba share on linux using fstab

# Debian/Ubuntu apt-get install smbfs smbclient # Fedora/Redhat yum install smbfs samba-client #If not found try smbclient mkdir /mnt/dirname //fileserver/sharename /mnt/dirname smbfs username=root,password=mypass 0 0 NOTES: How to find shares on a remote linux PC smbclient -L jumbo -Uusername -I ip-address How to manually mount fstab mount -a