Accessing Windows partition
When I browse my Windows partition in Mint, I have come to realise that the first time I do it after starting up, Mint must be doing something like “initialising” it, in order to read it?
I’m asking this because I have a Mint torrent client that I have set to save the d/l files on my Windows partition, enabling me to access it in both OSes. However, as the torrent client starts up in when I login to Mint, it throws up a read error, until I access the Windows partition manually then restart the torrent client. Is there some straightforward way to get Mint to access/initialise the Windows partition automatically before the torrent client starts? |
This link might get you started in the right direction.
|
Quote:
Code:
# /etc/fstab: static file system information. Code:
/dev/sdb5: LABEL="Data" UUID="B03AFBF43AFBB606" TYPE="ntfs" PARTUUID="4b4f8f50-05" |
Assuming that you want to mount it in /media/ntfs (as a suggestion, but it's your choice), create that folder (as root) and add the following entry to your fstab (you can place it at the end with a comment, just to indicate that you added the entry, but the placement isn't important):
UUID=B03AFBF43AFBB606 /media/ntfs ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=1000,uid=1000 0 0 To test the fstab once you've saved it, use sudo mount -a (it's better to know of any problems now rather than on reboot). |
Quote:
I assumed it would add an additional partition to initialise. but maybe it might ignore the normal one? |
Quote:
It is always good practice to run sudo mount -a after you've changed /etc/fstab to check that any changes work - if there are any errors, you can always revert to how it was before by re-editing the file or restoring a backup of the file that you made before you edited it. |
Be brave, try stuff. (But make good backups!) You will learn more by reading and doing than by copy/paste. The link I gave included this simple statement for /etc/fstab:
Code:
/dev/sda3 /media/windows ntfs defaults 0 0 I don't use Windows 8/10, so I don't know about the hyberfile issue described in the link. |
Quote:
|
there are a lot of good tips here, here is an additional advice:
booting with an incorrect fstab is not really possible, so be care about that. In that case you would need to boot into recovery mode or use a live cd to fix your fstab. |
Quote:
If I did edit the file, then run the command "sudo mount -a" immediately afterwards, how would I know if there's something wrong? Will it tell me in plain English what's wrong/what to do? The last post #9 says there's chance it won't boot if an error, and I'd have to use recovery mode, (which is quite worrying to me) or use a CD (my CD doesn't work anyway) to try to fix it. |
mount -a is a good idea, if that does not work you need to fix fstab
|
Quote:
sorry to be blunt, but that's how it is. alternatively, you could write yourself a script that will first mount the windows partition, then start the torrent client. |
Quote:
Therefore, the previous statement "booting with an incorrect fstab is not really possible," is nonsense... in this case. Quote:
|
1 Attachment(s)
Quote:
First, I thought I would make a copy (using text editor) and save it it the etc folder as fstab-old, but I seem unable to do that? I don't understand why? See the attached image. |
you need to do that as root
|
All times are GMT -5. The time now is 03:52 PM. |