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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-14-2002, 10:07 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2001
Location: Sweden
Distribution: Mandrake 8.2 / Windows XP
Posts: 12
Rep:
|
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 10:23 AM.
|
|
|
|
08-14-2002, 11:40 AM
|
#2
|
|
Member
Registered: Jun 2002
Location: Lousiville,KY
Distribution: Gentoo
Posts: 89
Rep:
|
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.
|
|
|
|
08-14-2002, 06:41 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2002
Posts: 2
Rep:
|
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 06:50 PM.
|
|
|
|
08-15-2002, 01:23 AM
|
#4
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
08-15-2002, 06:42 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2002
Posts: 2
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|