I saw another thread about being able to mount NTFS partitions at startup automatically at startup. I have parted installed, but I don’t seem to understand how to do this. I would prefer an easier option vs. the other option which is quite extensive. Can someone give me an idea how to do this with Yast? I can mount the partitions with the File Manager every time I start up my computer, but that is not a great choice. I want to be able to access a word processing document with Libreoffice with my NTFS partition with all of my documents without needing to mount the partition beforehand.
This is quite easy to do. start yast and find the tab partitioner (click ok on the warning message) / click on the partition that you want to auto-mount / select the edit option / change the option to auto-mount for the location I usually do /windows/c, /windows/d etc
Yast boot tell the module to mount the NTFS at some place in the files system. Usually would be /windows/c
I believe you can also use the advanced option in the partition window to set it to be read/write to normal users. But that can also be done in the /etc/fstab file
This isn’t done anymore for quite some time AFAIK.
I believe you can also use the advanced option in the partition window to set it to be read/write to normal users. But that can also be done in the /etc/fstab file
Yes, but the default options should be sufficient to mount an NTFS partition as read/write for all users.
See the other thread.
When you do a fresh installation, the installer used to setup mounts for your Windows drives in /windows/C, /windows/D, and so on, automatically.
This is not done anymore I think.
Of course you can set up any mounts you want with YaST->System->Partitioner, or by editing fstab directly. You can even mount to /that_is_my_super_big_windows_hard_drive if you want to…
Well I tried to mount as described in your post, but I get the following errors, which I do not quite understand so I did not do anything before I get some idea what this means. Thanks!
Failure occurred during the following action:
Mounting /dev/sda2 to /windows/d
System error code was: -3003
/bin/mount -t ntfs-3g -o noatime,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 ‘/dev/sda2’ ‘/windows/d’:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount ‘/dev/sda2’: Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
…
Consider we do not normally attempt support for Windows. You most often need a Windows 7 boot disk which does include a repair function. Most problems relate to what is loaded in the MBR and what partition is marked active for booting.
Understood. I do have a W7 disk and know how to repair the partition, that’s easy. What I am not understanding is the issue with Mounting any NTFS partition in Opensuse and why there is a problem with the W7 partition when it boots fine. Further, all of my data is on a separate NTFS partition called Media, which includes videos, documents, pictures and music. I got that same message for that partition. I guess I am not understanding the concepts involved with mounting Opensuse.
This is a SSD drive and defaults is the main one here for NTFS while discard is for SSD only, while noatime,nodiratime can speed anything. I used the following bash script to edit the /etc/fstab file:
If openSUSE thinks the NTFS drive had a unclean shutdown, openSUSE will not boot. You can add nofail at the mount end to over come the problem. The colors I used mean nothing here.
Now, you must select some place to mount the Windows partition that is readable by all. I created a folder call /Windows on the root / Linux partition and gave it the permissions of 777. This folder does not exist on the NTFS partition. The commands would be:’
> Understood. I do have a W7 disk and know how to repair the partition,
> that’s easy. What I am not understanding is the issue with Mounting any
> NTFS partition in Opensuse and why there is a problem with the W7
> partition when it boots fine. Further, all of my data is on a separate
> NTFS partition called Media, which includes videos, documents, pictures
> and music. I got that same message for that partition. I guess I am
> not understanding the concepts involved with mounting Opensuse.
Linux says you did not close Windows properly and the partition is thus
“unclean”. You need to repair that, using Windows. The tools are
checkdisk and scandisk. Right click on the “disk”, choose tools, use them.
It is not an issue with any NTFS partition, it is an issue with non
properly closed partitions. Windows doesn’t have a problem because it
can automatically repair those partitions when opening them.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
Try chkdsk /f or run chkdsk from the W7 GUI first. If it’s a boot record problem then that’ll need to be fixed too. Writing to an NTFS drive with the dirty flag set will lead to data loss
Well it was easier than I thought. I logged into W7, shutdown went into Opensuse and was able to mount my NTFS. What I don’t seem to do is the following: If writing a letter in Libreoffice, I want to be able to save the document into my Media (NTFS) Partition. I was not able to as the paste prompt was greyed out. Is this normal? If I want to save anything in Opensuse, why can’t I transfer a copy into my Media (NTFS) partition?
BTW, I did run a scandisk on both partitions and a sfc/scan on W7 with no errors.
Yast should work but you have to go to an additional menu (advanced option maybe) to get the option they are not shown on the base partitions setup window. But editing the file works just fine too.