In fact, this is very simple. We need to use a partition tool to view the partition name and UUID to
update the system. Install the partition tool.
sudo apt update -y && sudo apt upgrade -y
sudo apt-get install gparted -y
After installation, fix it to the taskbar in the launcher (start menu)
- Run gparted and enter the power-on password to confirm that
$USER is a system variable referring to the user name. Variables cannot be used in the configuration file of /etc/fstab, only absolute paths
Next, open the terminal and enter the following command, assuming it is mounted in the home directory /home/$USER/Windows
mkdir -p /home/$USER/Windows
sudo mount /dev/sda3 /home/$USER/Windows
#卸载sudo umount /dev/sda3
#到这里命令挂载就结束了 但是没有权限操作 所以还要修改配置文件
sudo pluma /etc/fstab
[Case sensitive] At this time, the configuration file will be opened. Below is my method. That's it
#UUID=4F7DC5852341E4BF /home/用户名/Windows ntfs defaults 0 2
UUID=4F7DC5852341E4BF /home/i8520/Windows ntfs defaults,nls=utf8,umask=000,uid=1000,gid=1000 0 0
# ntfs defaults,nls=utf8,umask=000,uid=1000,gid=1000 0 0 这部分是不变的
#如果 是这样的 /home/用户名/Windows ntfs defaults 0 2 只有读写权限 没有删除权限 对于文档储存非常好
After saving, close the text editor and return to the terminal and enter reboot to restart and
mount FAT32
UUID=4DDD-FD95 /mnt/linux-fat32 vfat users,rw,umask=111,dmask=000,uid=1000 0 0
Mount EXT4 to install nautilus
sudo apt-get install nautilus -y
Added such as
UUID=0a9ab6d5-8448-430d-b342-63920ebbf242 /mnt/linux-ext4 ext4 defaults 0 0
After the modification is completed, the current user has the highest authority to read, write, and delete.
This is a recycle bin folder. Do not touch the contents, or you will make an error when cleaning the recycle bin.