You are not logged in.
So I have Windows in my first harddrive (Bigger HD hold my music, games etc.)
And Arch is installed to the second smaller HD, How would I make it so that the NTFS windows HD would be automounted and I have the ability to view all my files?
Last edited by Lobstertorch (2009-11-04 03:03:44)
Offline
I presume your windows disk has two partitions, /dev/sda1 which is a 'recover' partition (usually 8-15 gigs) and /dev/sda2 which is windows/ntfs proper.
If this is true, just do the following in your /etc/fstab
/dev/sda2 /win ntfs-3g defaults,uid=000,gid=000,noatime,locale=en_US.utf8 0 0
Obviously (I hope) your /win directory (or whatever you want to call it) must exist (mkdir /win; chmod a+rwx /win)
However, this is when the fun begins with all the filenames with embedded spaces in windows - be ready for a bumpy ride ...
Last edited by perbh (2009-11-04 02:49:10)
Offline
Eh... I think I understand what you're saying...
Mind explaining the chmod part?
Offline
Well, you have to make sure that all users have both read and write access to the ntfs ... if the mount-point has only 'drwxr xr x' (which is the default values for using mkdir as root), only root will have write access :-(
Offline
;_; that sucks. alright... I'm gonna give this a whirl. I'm assuming i'd
sudo mkdir /win
chmod a+rwx /win
then add that above line to my /etc/fstab?
Will I need a reboot?
And what about the embedded spaces stuff? I plan on accesessing these files through a filemanager.
Thanks for your patience, and I spaced this post weird like what the hell?
EDIT: I did it :3. Thank you very much. At first when you posted I was kinda like uh oh. But I got it now. Always learning new things . Thanks.
Last edited by Lobstertorch (2009-11-04 03:03:30)
Offline
Most filemanagers can handle embedded spaces.
It is if you ever use the command line that your ride will be bumpy ... or if you write shell-scripts.
I have threatened my family with a fate worse than death if they use embedded spaces in their filenames - in other words, I refuse to tidy up their mess when their 'other OS' crumbles and they need help and they have used spaces ... *lol*
No need to reboot, but you might have to manually mount it (sudo mount /win) the first time after you have changed /etc/fstab ... after that, it will be automagically mounted upon each new boot :-)
Offline
Okay, I know I marked my thread as solved... but while you're here, I'm running steam, there was an update and now when I run Steam.exe the update fails which I'm assuming is because I don't have write access. I suppose I could boot into windows and patch, but that's no fun. Any way to do this?
Offline
?? You're running 'steam.exe'? from linux?
I don't know what 'steam' is - but it sure as hell looks like a windows executable!
Just check if you have write access - something like:
touch /win/zz; rm /win/zz
If this doesn't work .. hmmm, you _may_ have to add 'umask=000' as well as uid=000 and gid=000 ...
[edit]
nope - I've just checked it - I can write to it as a 'normal' user without the umask=000
[/edit]
Last edited by perbh (2009-11-04 03:57:41)
Offline
Oh sorry hah, I forget that not everyone is a gamer... Steam is a game launching / IM / game purchasing application. Digital distribution and all that. But yeah, wait isn't rm like.... delete? I'm assuming touch creates a folder to remove or something?
EDIT: Yeah I had it correct. That made the folder AND deleted it, no problems there no Sudo needed or anything. Hm... is there something I should change for Wine permissions or something?
Last edited by Lobstertorch (2009-11-04 03:58:45)
Offline
nope - 'touch' just makes a zero-size file
and yes 'rm' is delete (a file), 'rmdir' to delete a (empty) directory/folder.
However - 'touch' will tell you whether or not you have write-access to the ntfs-drive.
Hmmm - you just maybe should have a li'l look at the most common commands - makes life somewhat easier ...
Offline
I don't use 'wine' - so you maybe should open another thread for that ... or (which I believe might be appreciated) do some searching in the forum for 'wine' - I know there has been a lot of posts about it. Alternatively - look up 'wine' in the excellent wiki.
We dont mind helping people - but we do appreciate a little bit of research first ...
Offline