LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2003, 05:28 AM   #1
kudos
Member
 
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Rep: Reputation: 15
Question mounting windows drives- help needed


Hi

i have added my windows Hard Drive into the system as a slave on 1st IDE chanel

added line
/dev/hdb1 /mnt/windows ntfs noauto,owner,ro,user 0 0
to the /etc/fstab

mount share with as root
mount -t ntfs /dev/hdb1 /mnt/windows

and only root can access it but i want to be able to moutn and share it with users on the system.
all i get is permision denied and u dont have access to mount it etc.

i changed the permsion of the /mnt/windows folder but only gets changed back on mount to the defult.

i must be mising somethink simple out here

many thanks
kudos
 
Old 04-20-2003, 06:59 AM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Try using the umask option set to 022 for user read permission or 000 for user full access.

mount -t ntfs -o umask=022 /dev/hdb1 /mnt/windows

/dev/hdb1 /mnt/windows ntfs noauto,umask=022 0 0
 
Old 04-20-2003, 08:43 AM   #3
kudos
Member
 
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Original Poster
Rep: Reputation: 15
works grate now.

thanks
 
Old 04-27-2003, 01:12 PM   #4
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
i have a problem when mouting other partitions...
that i have to guess.... /dev/hdX so i have to replace
X for a letter wich i don't know wich one is... is there
any way i can list all my partitions from linux!??

thanx
 
Old 04-27-2003, 02:13 PM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Try "fdisk -l" (lowercase L) from a console command prompt.
 
Old 04-27-2003, 02:39 PM   #6
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
nice
 
Old 05-12-2003, 05:02 PM   #7
sehris
LQ Newbie
 
Registered: May 2003
Posts: 21

Rep: Reputation: 15
where do i enter those umask options so that it's done on every boot up so that i don't have to remount the drives everytime.
 
Old 05-12-2003, 05:13 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
/etc/fstab

Cheers,
Tink
 
Old 05-12-2003, 05:18 PM   #9
sehris
LQ Newbie
 
Registered: May 2003
Posts: 21

Rep: Reputation: 15
i just want to make sure as to where to edit it so i don't fubar my install (finally have it running almost exactly how i like it). my fstab looks like this when it comes to those drives:

/dev/hda5 swap swap defaults 0 0
/dev/hda6 / reiserfs defaults 1 1
/dev/hda1 /wxp vfat defaults 1 0
/dev/hdb1 /archives vfat defaults 1 0

the area that reads defaults is where i enter those options?

after a bit of man reading i know to poot the options in the 4th field. is the syntax supposed to be mode=000 or umask=000 ?

Last edited by sehris; 05-12-2003 at 05:22 PM.
 
Old 05-12-2003, 05:20 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Yep :)

But a quick "man fstab/man mount" would have told you
that, too ;)

Cheers,
Tink
 
Old 05-12-2003, 05:23 PM   #11
sehris
LQ Newbie
 
Registered: May 2003
Posts: 21

Rep: Reputation: 15
i know tinkster, sorry for that :/ lol. still trying to get used to actually useful help files...
 
Old 05-14-2003, 04:12 PM   #12
digsby0007
Member
 
Registered: Jan 2003
Posts: 94

Rep: Reputation: 15
ok i have a similar problem. /dev/hda5 is my windows partition, and I put this into fstab:
/dev/hda5 /mnt/windows ntfs noauto,umask=022 0 0
saved and exited. now I tried to mount hda5 manually (mount /dev/hda5 /mnt/win) and the /mnt/win dir has been created, but it gives me this error.
mount: fs type ntfs not supported by kernel
Do I need to do something else? I will reboot now and see if that fixes it.

Thanks,
digsby
 
Old 05-15-2003, 10:45 PM   #13
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Are you using Red Hat if so you will have to download the rpm that matches your kernel from here: NTFS Project

If you are using Mandrake NTFS support should be included.

Good Luck
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Windows partition on sata drives TomalakBORG Linux - Hardware 6 08-19-2005 08:01 PM
mounting issues with windows drives tanktmf Mandriva 13 07-06-2004 04:08 PM
mounting windows drives madiyaan Linux - Newbie 3 05-15-2003 01:18 AM
mounting shared windows drives unexpected.tdb The Jesus Linux - Software 1 06-10-2002 10:02 PM
Mounting Windows Drives Across a Network Nyc0n Linux - Networking 4 08-20-2001 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration