ssd 500gb auto mount hdd
solid disks SSD OEM ssd 500gb
After upgrading to OpenSUSE 13.2 ssd 500gb+8618750919058, Windows NTFS partitions that were originally configured to mount and write automatically are now not automatically mounted ssd 500gb, which is configured with automatic mounting in disk management and cannot be written directly without checking “Mount Read-Only”. It took a long time to figure it out according to the blog post compiled by Kan Lifeng.
To use Windows partitions in a Linux system on a Windows + Linux dual system, you need to mount the Windows partition to the Linux system first. Mounting can be performed from the command line when needed, or it can be set to be automatically mounted every time the system is turned on in the Management Control Center, such as YaST Control Center in OpenSUSE.
Let’s assume that you want to mount the C and D partitions in Windows, both in NTFS format, to the
/wind directories in the Linux system (in this case, OpenSUSE 13.2 as an example). And assume that the current linux user is a linuxuser.
The preparation is simple, that is, Linux is guaranteed there are these two directories that we need to mount to, and give linuxuser read and write permissions.
change owner to linuxuser, user group to users,
Also know the location (access path) of those two partitions in Windows in Linux, here are the device paths with them, respectively,
If you don’t know, you can view them through command-line instructions (root authority required).
sudo fdisk -l Disk Device Boot Start End Sectors Size Id Type. Extended
Some unnecessary information is omitted here.
1. Command line operation + boot automount
also requires root privileges.
is directly writable. But every time you shut down, it’s gone.
umount /winc umount /wind
If you want to set up automatic mounting at boot, you need to write the mount information of the corresponding partition that needs to be mounted automatically to the file.
the following graphical interface operation is the same.
2. Graphical interface operation + boot auto mount
Here is a general automount, and then excerpt two commonly used combinations of mount options: mount to root User owned but readable and written by ordinary users; Mounted for a normal user.
Or the graphical interface looks pleasing to the eye, and it is also convenient to set up automatic mounting at boot. Root privileges are also required.
OpenSUSE YaST Partitioner Fstab Options
differs from the previous command line in this step, because this is already for a partition, so you only need to fill in the option information in the bottom space of the above figure. For example,
can also be set for the D partition.
Mounted as root but readable and writable by normal users
However, these partitions cannot be written to just by following the above settings although the “Mount Read-Only” item above is not checked. If you want to make it writable, you also need to modify the Arbitrary Option Value in the following line of the above figure (in fact, the option parameter of ntfs-3g),
locale is used to set the Chinese environment to display Chinese, you can change to
The settings here require a computer restart to take effect.
It is recommended that you do not perform writable settings on the system disk for the sake of the security and stability of the Windows system.
Mounted for all https://wantssd.com/
At some point, you may want to be able to change the owner of a file or folder on a mounted partition to a user, that is, to apply the chmod or chown operation. In fact, NTFS also supports this property similar to that found in Linux file systems. You just need to add
the permissions option when mounting. At this point, the above ntfs-3g option parameter combination can be changed to,
can then change its owner to the user you want after mounting,
sudo chown your_user: your_user /wind
Of course, you can directly set the owner of this partition to
your_user when mounting. At this point, you need to set uid and gid in the mount options. To query the uid of the current user, you can enter it on the command line,
# id -u 1000
General power user ID is 1000. Gid
defaults to users in openSUSE.
Then modify the mount options to,
After restarting, you should be able to view the folder’s properties to see that its owner is the current user.
3. Note Typical ntfs-3g Options: