It is currently Tue May 21, 2013 3:25 pm

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: [SOLVED] How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 10:47 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 11, 2006 2:53 pm
Posts: 208
Location: Estonia
How to make win partition *user* readable/mountable ?


Last edited by Borromini on Sun Mar 12, 2006 5:37 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 11:32 am 
Senior Zenwalker
Senior Zenwalker

Joined: Sat Mar 11, 2006 4:58 pm
Posts: 457
Location: blueplanet
the best way to do this is
1. make sure the file /etc/fstab contains a line for each of your windows partitions that should look similar to this
Code:
/dev/hda1        /mnt/win_c       vfat        noauto,user,rw   0   0

depending on your partitioning - /dev/hdx according to the disk and partition number  - plus the directory for mounting has to exsist in /mnt
2. check if the file system in windows is fat32 (vfat in fstab) - things get a little more complicated when you have ntfs - if you want to be able to write to ntfs partitions, that is
3. add an item to your panel called 'Mount devices'
now you are set - when you click on a device in the launcher it either gets mounted or unmounted and shows in the file manager


 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 11:47 am 
Zenwalker
Zenwalker
User avatar

Joined: Fri Mar 10, 2006 7:18 am
Posts: 9
Location: Breda
Also don't forget to make a dir called '/mnt/win_c'.

I made the mistake of adding a line to fstab but I wasn't able too mount the partition, that was beacause I forgot to make a dir in the mnt section.

_________________
With a face like this I won?t break any hearts and thinking like that I won?t make any friends screw that, forget about
That I don?t wanna hear about anything like that screw that, forget about that I don?t wanna know about anything like


 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 1:35 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 11, 2006 2:53 pm
Posts: 208
Location: Estonia
Quote:
1. make sure the file /etc/fstab contains a line for each of your windows partitions that should look similar to this
Code:
/dev/hda1        /mnt/win_c      vfat        noauto,user,rw  0  0
depending on your partitioning - /dev/hdx according to the disk and partition number  - plus the directory for mounting has to exsist in /mnt


No this does not help me:
I had in my /etc/fstab line:
/dev/hda1        /mnt/win        ntfs        ro        1  0

which I changed to :
/dev/hda1        /mnt/win        ntfs        user,ro        1  0

I supposed that adding user to the 4th row will do my win partition
*user* mountable/readable. Now I can only  see my win partition as *root*.
$ls -l
drwxr-xr-x  2 root root    2 2002-03-16 09:34 floppy/
dr-x------  1 root root 8,0K 2006-03-04 02:30 win/

As you see I dont have permissions to read /mnt/win as user.

What is wrong?


 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 1:57 pm 
Senior Zenwalker
Senior Zenwalker

Joined: Sat Mar 11, 2006 4:58 pm
Posts: 457
Location: blueplanet
the
Code:
noauto,user,rw   0   0

part is important - but you want to mount a ntfs partition - so most probably you want to read here first

http://www.jankratochvil.net/project/captive/

since writing to ntfs partitions is a whole new ballgame in linux - sometimes it is better to create a fat32 data partition for easier handling  ;)


 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 2:33 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 11, 2006 2:53 pm
Posts: 208
Location: Estonia
I dont care much about writing to ntfs.
I do need only to read from ntfs.

I have my pictures on win partition. It is unconvinient to su root only to see pictures !

As I earlier mentioned  I already have:
Code:
/dev/hda1        /mnt/win         ntfs        noauto,user,ro         0   0

in my /etc/fstab
Yes I can (as usual user) to mount /mnt/win.  But I cannot read my newly mounted /mnt/win !!

How can I change permissions ?  (chmod does not help)


 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 3:07 pm 
Master Zenwalker
Master Zenwalker
User avatar

Joined: Fri Mar 10, 2006 4:40 am
Posts: 543
Try

Code:
/dev/hda1        /mnt/win         ntfs        noauto,user,ro,umask=0222         0   0


jpf


 Profile Send private message  
 
 Post subject: Re: How to make win partition *user* readable/mountable ?
PostPosted: Sun Mar 12, 2006 3:32 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 11, 2006 2:53 pm
Posts: 208
Location: Estonia
Yes !!! That did the trick !  Thank you !


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
 
cron