LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2005, 11:32 PM   #16
Casket
Member
 
Registered: Jul 2005
Location: Australia
Distribution: Slackware 10.1 - 2.4.29
Posts: 79

Original Poster
Rep: Reputation: 15

Sorry it took so long to reply...

/dev/hda3 swap swap defaults 0 0
/dev/hda5 / reiserfs defaults 1 1
/dev/hda6 /home reiserfs defaults 1 2
/dev/hda1 /win/winXPhome ntfs ro 1 0
/dev/hda2 /win/temp ntfs ro 1 0
/dev/hdb1 /win/music ntfs
uid=501,gid=501,umask=000,utf8,exec,dev,suid,rw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Exact FSTAB
 
Old 10-14-2005, 12:25 AM   #17
aneeshk_k
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Rep: Reputation: 1
Thumbs up

Try this fstab entry.

/dev/hda3 /win/music ntfs defaults,user,noauto 0 0

(assuming your windows partition is /dev/hda3 with ntfs filesystem.)

Then mount the partition as normal user not as root.

mount /win/music

I think this will help you.....goodluck
 
Old 10-14-2005, 12:51 AM   #18
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Be careful not to touch you hda3 partition as it is swap. You might just crash your system!

The partition you're trying to mount is hdb1. Unfortunately you haven't specified any mount options (the string of entries that would go right aftre 'ntfs'. try using what aneeshk_k proposes, only (as I wrote before) change user to users (with a final s). Also if you want to be able to write to it (assuming your distro has a reliable ntfs write support) include 'umask=000' in that line to se the necessar permisisions.

Since this is a partition you wish to share between windows and linux, I'd suggest you consider changing the file syetem to fat. That would ceratinly give you a more reliable write access.
 
Old 10-14-2005, 01:07 AM   #19
aneeshk_k
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Rep: Reputation: 1
YES...dont touch the hda3 swap partition.

SORRY.....because I post it without reading the second page (the Exact FSTAB) . But I think the mount option is 'user' not 'users'....????
Is there any significance in 'users'??
 
Old 10-23-2005, 06:04 PM   #20
Casket
Member
 
Registered: Jul 2005
Location: Australia
Distribution: Slackware 10.1 - 2.4.29
Posts: 79

Original Poster
Rep: Reputation: 15
Hey.

Sorry its been so long, but theres still a problem.

Now my fstab reads:

Code:
/dev/hda3        swap             swap        defaults         0   0
/dev/hda5        /                reiserfs    defaults         1   1
/dev/hda6        /home            reiserfs    defaults         1   2
/dev/hda1        /win/winXPhome   ntfs        ro               1   0
/dev/hda2        /win/temp        ntfs        ro               1   0
/dev/hda3        /win/music       ntfs        defaults,user,noauto,umask=777 0 0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults
I cannot mount as normal user, only root can.

Heres an example of a sample file with permissions:

-r-------- 1 root root 1591296 2005-02-14 23:54 tenacious d - chop suey! (live system o

Thanks
 
Old 10-25-2005, 01:55 PM   #21
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
umask work opposite to chmod permissions so
chmod 777 -> umask=000 !!

Also you might want to change 'user' for 'users'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 10:11 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-18-2004 12:05 AM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 06:44 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 11:14 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-29-2003 12:16 AM


All times are GMT -5. The time now is 09:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration