Watch the video:
Timestamps:
0:00 - Explanation
0:19 - Installing Samba & other packages
0:50 - Create mounting point (folder)
1:25 - Share folder on Windows
2:12 - Mounting Windows network share on Linux
6:53 - Mounting more folders on Linux
Not ready to completely leave Windows behind? No worries! Don’t leave your Windows files behind either. With this quick guide, you’ll learn how to permanently mount a Windows folder over a network onto a Pop!_OS or Ubuntu machine, permanently. As long as there is a connection between the 2 computers, the files should be shared and accessible both ways! Just as a normal Windows file share would work.
Commands:
- sudo apt-get install samba samba-client cifs-utils libnss-winbind winbind
- sudo mkdir /media/GitHub
- sudo nano /etc/nsswitch.conf
- sudo service networking restart
- sudo cp /etc/fstab /etc/fstab.old
- (TO RESTORE): sudo mv /etc/fstab.old /etc/fstab
- nano /home/tcno/.smbcred
- sudo nano /etc/fstab
- sudo mount -a
- //192.168.1.20/FOLDER /media/FOLDER cifs credentials=/home/user/.smbcred,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
Related videos:
- Install Pop!_OS on Hyper-V: Go to post or View on YouTube
- Enable Enhanced Session in Hyper-V: Go to post or View on YouTube
- Install .NET 5 Runtime/SDK: Go to post or View on YouTube
- Mount Windows Shared Folder: Go to post or View on YouTube