cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing folders in Windows

Community Veteran
Posts: 8,522
Thanks: 939
Fixes: 9
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.
6 REPLIES
Community Veteran
Posts: 6,773
Thanks: 257
Fixes: 20
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
Seasoned Pro
Posts: 10,985
Thanks: 265
Fixes: 11
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

Community Veteran
Posts: 6,773
Thanks: 257
Fixes: 20
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.
Plusnet Alumni (retired) orbrey
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 )
Community Veteran
Posts: 6,773
Thanks: 257
Fixes: 20
Registered: 16-02-2009

Re: Accessing folders in Windows

Lips are sealed Knew I had forgotten something  Wink Wink
Community Veteran
Posts: 8,522
Thanks: 939
Fixes: 9
Registered: 02-08-2007

Re: Accessing folders in Windows

Thanks for the responses !