cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing folders in Windows

gleneagles
Aspiring Legend
Posts: 11,105
Thanks: 2,459
Fixes: 17
Registered: ‎02-08-2007

Accessing folders in Windows

There are times when I need to access folders which are in windows and therefore in another partition on my disk.
Other than saving the folders to an external disk is there any way I can access these folders direct without coming out of Linux ?
The folders contain photographs in jpeg/raw mode.
We are born into history and history is born into us.
6 REPLIES 6
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Accessing folders in Windows

Is the folder on the windows partition? If so you should be able to see it in nautilus, look in the location bar to see if it has automounted the windows partition, if not it should show as <disk size>Gb just double click on it and it will show all the files in it.
If you want to be able to see them on a permanent basis:
Open gparted and check the windows partition information (say sda3)
open a terminal
enter
mkdir ~/winpics
sudo -s
mkdir /mnt/windows
chown <your user> /mnt/windows
gedit /etc/fstab
at the end enter
/dev/sda3 /mnt/windows ntfs auto,user,rw
/mnt/windows/<folder where pics are> /hone/<your user id>/winpics
save changes
close terminal.
Now this assumes sda3 is the location of the windows partition, if it isn't use your one, and it is formatted as ntfs if not change it to vfat/fat32 etc.


VileReynard
Hero
Posts: 12,616
Thanks: 582
Fixes: 20
Registered: ‎01-09-2007

Re: Accessing folders in Windows

You don't have to have the mountpoint in your /home/user directory - you can use your root directory.
I created a directory called video in my / directory - obviously ext4, but windows could use ntfs or fat32 (vfat).
This is accessible by all users.
my fstab includes
Quote
/dev/sda3 				/video	  	  ext4    relatime	  0	  2

"In The Beginning Was The Word, And The Word Was Aardvark."

HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Accessing folders in Windows

True but for "normal" users having it loaded in their home folder is preferable. And if he mounts the sub folder as winpic then he only sees that folder rather than the whole c: drive.
orbrey
Plusnet Alumni (retired)
Plusnet Alumni (retired)
Posts: 10,540
Registered: ‎18-07-2007

Re: Accessing folders in Windows

That won't mount the folders until the linux install is rebooted though, if you want to access them without rebooting you'd need to run:
sudo mount -a

after closing gedit but before closing the terminal window (as that's where you'd need to run the command Smiley )
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: Accessing folders in Windows

Lips_are_sealed Knew I had forgotten something  Wink Wink
gleneagles
Aspiring Legend
Posts: 11,105
Thanks: 2,459
Fixes: 17
Registered: ‎02-08-2007

Re: Accessing folders in Windows

Thanks for the responses !
We are born into history and history is born into us.