LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-14-2002, 11:07 AM   #1
Scratchmaster
LQ Newbie
 
Registered: Dec 2001
Location: Sweden
Distribution: Mandrake 8.2 / Windows XP
Posts: 12

Rep: Reputation: 0
How to automount windowsdisks in Linux


I just manage to mount my NTFS disks in Linux, but how do I make linux mount them every bootup?

BTW, how do I know that I have read-only access to the NTFS disks (I don't want to lose my data!)?

Last edited by Scratchmaster; 08-14-2002 at 11:23 AM.
 
Old 08-14-2002, 12:40 PM   #2
darkmage
Member
 
Registered: Jun 2002
Location: Lousiville,KY
Distribution: Gentoo
Posts: 89

Rep: Reputation: 15
The easiest way to do it would be to open /etc/fstab in a text editor and add a line with /dev/hd(xp's partition number), wherever you mounted it under Linux, it's type (ntfs), then auto,ro, and finally 0 0. NTFS write support is experimental and very dangerous and knowing Mandrake they wouldn't all you to. Also the ro means read only so it should work.
 
Old 08-14-2002, 07:41 PM   #3
gingerchris
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
Question

Ok deferent person here, same question.
For me it wasn't this easy at all.
Im a week old user of Redhat 7.3.
I've had to reconfigure my kernel to support NTFS fs.
(using make xconfig in /usr/src/Linux-2.4)
After installing the kernel source rpm of course.
Then....
All seems to be working, however
As root I can mount the selected NTFS partition using the command
mount -t ntfs /dev/hda5 /NTFS
works fine
but only root has read access, no one else, can read it.

Any clues as to how I fix it.
I appretiate I only installed the NTFS read option in the kernel, I dont particularly want to write, but how do I set it so that all users can read it?
btw I tried chmod -R a+r as root, "Read only file system, carn't change"
*sigh*

Last edited by gingerchris; 08-14-2002 at 07:50 PM.
 
Old 08-15-2002, 02:23 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Here's a copy of my /etc/fstab file, all my users and my root can mount and umount my partition:
Code:
/dev/hdb1        /                ext3        defaults                1  1
/dev/hdb5        /home            ext3        defaults                1  2
/dev/hdb6        /Mandy           ext3        defaults                1  2
/dev/hda5        /mnt/fat32a      vfat        defaults                1  0
/dev/hda6        /mnt/fat32b      vfat        defaults                1  0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro         0  0
/dev/fd0         /mnt/floppy      auto        noauto,owner            0  0
none             /dev/pts         devpts      gid=5,mode=620          0  0
none             /proc            proc        defaults                0  0
/dev/hdb2        /QNX             auto        defaults                0  0
/dev/hda1        /mnt/windows     ntfs        ro,user,auto,umask=022  0  0
I run slack 8.1

Cool
 
Old 08-15-2002, 07:42 PM   #5
gingerchris
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
Cool thanks,
it was that dammed umask thing,
ah well its always the little things

Thanks,
Now all I have to do is work out how to get linux to use my other sound card, install my modem, fix module problems...........oh well slowly but surely


gingerchris
 
  


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
Mount NTFS on S-ATA disk Bultot Linux - Hardware 0 01-13-2005 06:18 PM
How do I mount an NTFS disk with Red Hat 9 The Jedi Lord Linux - Newbie 11 05-07-2004 01:28 PM
mount an ntfs disk ? qwijibow Linux - Newbie 2 06-25-2003 11:43 AM
Linux boot disk + NTFS mount Freaksta Linux - General 2 04-16-2003 12:38 AM
why can not mount ntfs and fat32 disk in redhat 8.0 littlecap Linux - Software 2 03-02-2003 08:08 PM


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