LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-10-2006, 07:14 PM   #1
Rayning
Member
 
Registered: Oct 2006
Location: Fayetteville, Arkansas
Distribution: Slackware 11.0
Posts: 36

Rep: Reputation: 15
NTFS Secondary Hard disk


I have a completely full 60 gig secondary hard disk formatted with NTFS. Root has no problem playing my music and movies from it, but I'm not allowed to access it under usr. Is there a way to change this or am I going to have to burn everything off on dvd's and reformat?
 
Old 10-10-2006, 07:58 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You can use the umask option when mounting the partition so that everyone can access it. For example:
Code:
/dev/hdb1  /mnt/ntfs  ntfs  defaults,umask=0000  0  0
 
Old 10-10-2006, 11:09 PM   #3
Rayning
Member
 
Registered: Oct 2006
Location: Fayetteville, Arkansas
Distribution: Slackware 11.0
Posts: 36

Original Poster
Rep: Reputation: 15
It says permission is denied. finally got my wireless working though!!
 
Old 10-10-2006, 11:10 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Were you using the root account when modifying /etc/fstab and mounting the partition? (That's good news about the wireless...)
 
Old 10-11-2006, 07:54 PM   #5
Rayning
Member
 
Registered: Oct 2006
Location: Fayetteville, Arkansas
Distribution: Slackware 11.0
Posts: 36

Original Poster
Rep: Reputation: 15
I'm always in root, I have to be if I want to listen to any music. Probably not the smartest thing, but i can always reinstall if I screw something up.
 
Old 10-11-2006, 08:46 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Can you post the command you used when the permission denied error happened? If it was while editing /etc/fstab (and you were root), then you may need to run chattr -V -i /etc/fstab
 
Old 11-04-2006, 10:12 PM   #7
Rayning
Member
 
Registered: Oct 2006
Location: Fayetteville, Arkansas
Distribution: Slackware 11.0
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gilead
Can you post the command you used when the permission denied error happened? If it was while editing /etc/fstab (and you were root), then you may need to run chattr -V -i /etc/fstab
actually it turns out you were right, I didn't really know enough a the time to go into fstab, I'm learning more every day though.. thanks man I can get out of root now.
 
Old 11-05-2006, 06:39 PM   #8
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Rep: Reputation: 15
Hi Rayning + gilead,

I hope you dont mind me butting into this thread but it kind of covers some of what am after..

I have a ntfs drive which i successfully got mounted at my initial install.. The trouble is I screwed it up by trying to change the owner to myself rather than root, now and i cant access it as its read only..


Any help on resolving this issue is much appreciated..

thanks in advance, deft
 
Old 11-05-2006, 07:06 PM   #9
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Rep: Reputation: 15
Thanks i got it sorted

I guess i should have tried it before i posted, oops.

Anyway i just edited fstab with the info above, umounted then mounted it and hey presto it works. Though i can only copy from it but still cant delete data from it

thanks for the useful advice
 
Old 11-05-2006, 07:17 PM   #10
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by deft
Though i can only copy from it but still cant delete data from it
NTFS support under Linux is still read-only. This is because the API hasn't been released by Microsoft, so the Linux NTFS drivers had to be reverse engineered.

If you want write support, you should use FAT32 for your Windows partitions. Otherwise you can try this out: Captive NTFS
 
Old 11-06-2006, 04:44 PM   #11
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Rep: Reputation: 15
thanks i will give it a go
 
Old 11-06-2006, 04:57 PM   #12
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
is NTFS (read only) support build into slackware 11 Huge (??) 2.6.17.3 precompiled kernel?
 
Old 11-06-2006, 05:02 PM   #13
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by randomsel
is NTFS (read only) support build into slackware 11 Huge (??) 2.6.17.3 precompiled kernel?
From the config file for that kernel:

Code:
CONFIG_NTFS_FS=y
 
Old 11-08-2006, 10:24 AM   #14
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Rep: Reputation: 15
Hi again..

I have another question regarding my ntfs hard drive..

What do i add to lilo.conf to make it bootable..? I have took a look at the file and i have an idea what i must do, then i got the horror scenario that i reboot only to find that i had screwed up my lilo altogether.

So i am doing the proper thing and seeking advice first : /

Here is how my lilo.conf looks at the moment:

# Windows bootable partition config begins
other = /dev/hda2
label = Windows
table = /dev/hda
# Windows bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends


Thanks in advance.

deft
 
  


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
how to read ntfs hard disk jojojo Linux - Newbie 2 05-13-2006 11:50 AM
upgrading or booting from secondary hard disk trysten_x Linux - General 3 08-29-2005 10:12 PM
My secondary slaved hard disk crashed. How do I get Fedora Core 1 back. Bjorkli Linux - Hardware 4 08-09-2004 11:04 AM
linux can't see my hard disk on secondary master csvke Linux - Hardware 6 03-19-2004 06:29 PM
URGENT!!! adding ide(hdb-secondary hard-disk) to redhat 7.1 gigya Linux - Software 3 05-02-2002 04:03 AM

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

All times are GMT -5. The time now is 07:48 PM.

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