LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-19-2003, 08:49 PM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Rep: Reputation: 30
mounting problems


Hello there. I would like to know how can i set the system to automount hda1, hda5, CDRW,DVD to win,koino,cdrw,dvd respectively. The hda1 and hda5 are NTFS. The DVD and CDRW are LITEON brand. I would like to set them to automount.
 
Old 10-19-2003, 09:27 PM   #2
coldy
Member
 
Registered: Nov 2002
Distribution: Debian GNU/Linux, Gentoo
Posts: 75

Rep: Reputation: 15
There isn't any dependency about the brand of your hardware.
It will nice to see the manual of "fstab" and "mount" too. For NTFS I am not sure is it securely to mount it with write wrights, but the most important for you is located in these two manuals. There are the file systems that you can mount, how you can mount them etc.
 
Old 10-20-2003, 05:03 AM   #3
SeSchae
LQ Newbie
 
Registered: Oct 2003
Location: Germany
Distribution: Debian / Bonzai Linux 1.6
Posts: 8

Rep: Reputation: 0
Neverever mount NTFS-"windows"-partitions with "change-rights"... wirting to them will probably mess the NTFS-Rights-Table up and you can forget your Windows...

When you want to transfer data from Linux to Windows and other way round. Try it with a Fat-partition...

for Automount set noauto to auto in /etc/fstab
 
Old 10-20-2003, 07:01 AM   #4
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
I do have a hard drive split into two partitions, both of them NTFS. The first partition has th OS winXP.I would like to mount it for read-only. The second partition has no Operating system. It is used for storage purposes. That is the one that i would like to mount with read and write permissions. Could u tell me the exact commands to do that once and for all, for both of them. Automount.
 
Old 10-20-2003, 07:45 AM   #5
SeSchae
LQ Newbie
 
Registered: Oct 2003
Location: Germany
Distribution: Debian / Bonzai Linux 1.6
Posts: 8

Rep: Reputation: 0
First of all, be sure that the module NTFS is installed (modconf)

create 2 Dirs /xpsystem and /storage
then open /etc/fstab as root and edit it

/dev/hda1 /xpsystem ntfs auto,users,exec,ro 0 0
/dev/hda2 /storage ntfs auto,users,exec 0 0

this should work... but remember accessing and changing NTFS-partition could corrupt the NTFS-rights-Table so accessing from Windows could become impossible...
 
Old 10-20-2003, 07:49 AM   #6
praveenk
Member
 
Registered: Oct 2003
Location: /india/tn/chennai/vadapalani/hcl/networking
Distribution: Debian GNU/Linux SID, FreeBSD
Posts: 59

Rep: Reputation: 15
You can try this

/dev/hda1 /win ntfs auto,ro 0 0
/dev/hda5 /kiono ntfs auto,ro 0 0
/dev/hdax /cdrw iso9665 ro,noauto 0 0


where x in hdx may be b, c, d depending on your disk number of CDRW.

I have no idea about DVD file system.

Last edited by praveenk; 10-20-2003 at 07:51 AM.
 
Old 10-20-2003, 08:36 AM   #7
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
I, as root, tried the following and saved it in the /etc/fstab
/dev/hda1 /xpsystem ntfs auto,users,exec,ro 0 0
/dev/hda2 /storage ntfs auto,users,exec 0 0
then i did a computer restart. As root i went to /mnt and i have seen the directories xpsytem and storage. when i did cd xpsystem and cd storage, nothing came up. Any thoughts?
 
Old 10-20-2003, 09:02 AM   #8
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
My fstab is the following:
/dev/db5 / ext2 errors=remount-ro 0 0
/dev/hdb1 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/hdc /mnt/cdrw iso9665 rw,auto 0 0
/dev/hda1 /mnt/xpsystem ntfs auto,users,exec,ro 0 0
/dev/hda2 /mnt/storage ntfs auto,users,exec 0 0


I do not have a floppy in my system. Apparently i cannot access the /mnt/storage, /mnt/win, and /mnt/cdrw. Also the DVD is a separate drive and i cannot see it in the list.
Could someone help?
 
  


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 problems ssabljic Slackware 3 11-25-2005 04:27 AM
Mounting problems sri_hassan Linux - Newbie 3 10-07-2005 08:22 PM
mounting problems eo697 Linux - Hardware 1 07-04-2003 06:05 AM
problems mounting ewto Linux - Newbie 18 04-11-2003 03:34 AM
Mounting problems tsitras Linux - Newbie 3 03-23-2003 03:40 PM

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

All times are GMT -5. The time now is 02:49 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