LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-07-2005, 05:43 PM   #1
madiyaan
Member
 
Registered: Apr 2003
Posts: 69

Rep: Reputation: 15
automatically mounting using captive


Hey,
I've used captive with bitter-sweet success. I have been able to mount my windows partitions (I'm using fedora 3), but haven't been able to write to them.
Also, I want my Linux to automatically mount in read/write mode my windows partitions every time it starts. Can anyone help me?
 
Old 03-07-2005, 06:19 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Linux mounts everything you have in your /etc/fstab file.
'man fstab' and 'man mount' will guide you.
Mounting ntfs volumes in write mode may be a little tricky. Search LQ for solutions.
 
Old 03-16-2005, 12:18 AM   #3
madiyaan
Member
 
Registered: Apr 2003
Posts: 69

Original Poster
Rep: Reputation: 15
Thank you for your reply. I have this in my /etc/fstab file:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hdb1 /mnt/captive-local_disk captive-ntfs defaults,noauto 0 0
/dev/hda1 /mnt/captive-noname captive-ntfs defaults,noauto 0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
As you can see clearly, the /dev/hda1 and /dev/hdb1 should be mounted at /mnt/captive-local and /mnt/captive-noname respectively. But when I start my computer in Linux mode, the /mnt/captive-local and /mnt/captive-noname directories are there but are empty.
When I enter root mode and type in:
Code:
mount /mnt/captive-noname
Only then it mounts this directory and an 'ls' in this directory gives me the listing.
Can you please tell me a setting by which these are automatically mounted every time I restart my computer.
Regards,
 
Old 03-16-2005, 05:39 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Option 'noauto' means 'not to mount at boot'.
 
  


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
mounting a ntfs partition, automatically jrwizzard Linux - Newbie 10 08-18-2004 11:45 AM
nfs share is not mounting automatically pawlub Linux - General 1 01-03-2004 06:21 PM
Automatically mounting drives with FSTAB caesius_01 Linux - Newbie 6 10-21-2003 11:10 AM
Automatically mounting to other machines ankitgdit Linux - Security 1 08-08-2003 10:08 AM
Mounting a WinXP share automatically mdecou Linux - Networking 0 04-22-2002 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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