View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Automount NTFS drive?
PostPosted: Fri Sep 19, 2008 1:32 pm 
Offline
Joined: Mon May 10, 2004 10:35 pm
Posts: 46
I have an annoying problem.
I have a 750Gb USB drive connected to my KM machine.
And i added this:

/dev/sda1 /myth/usb ntfs-3g defaults,umask=007,gid=46 0 1

in my fstab.

It wont mount when i boot. i have to do a "mount -a" for it to mount.
Is there any way to get it to mount on boot?

/DonLKSAB


Last edited by DonLKSAB on Fri Sep 26, 2008 1:55 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 9:26 am 
Offline
Joined: Wed Jan 25, 2006 1:03 pm
Posts: 240
Location: Shakopee, MN USA
I am not using this on my Myth boxes but I have this working on my Antix (debian) machine auto mounting a NTFS disk:

fstab (My machine):
Code:
/dev/sdb1 /mnt/sdb1 nfts-3g auto,users


Try this in your fstab:
Code:
/dev/sda1 /myth/usb nfts-3g auto,users


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 1:55 am 
Offline
Joined: Mon May 10, 2004 10:35 pm
Posts: 46
Thanks.
But the result is the same.
I have to do a mount -a to use the drive.

/DonLKSAB


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 4:55 am 
Offline
Joined: Wed Jan 25, 2006 1:03 pm
Posts: 240
Location: Shakopee, MN USA
Could you post your fstab? Maybe it has to do with the order that the NTFS-3G entry is in.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 4:58 am 
Offline
Joined: Mon May 10, 2004 10:35 pm
Posts: 46
My fstab:

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 /myth auto defaults,auto 0 2

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /cdrom auto defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
#/dev/sda1 /myth/usb ntfs-3g defaults,umask=007,gid=46 0 1
/dev/sda1 /myth/usb ntfs-3g auto,users


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 5:11 am 
Offline
Joined: Wed Jan 25, 2006 1:03 pm
Posts: 240
Location: Shakopee, MN USA
Here is my fstab in Antix:

Code:
# Pluggable devices are handled by uDev, they are not in fstab
/dev/sda1 / ext3 defaults,noatime 1 1
/dev/sdb1 /mnt/sdb1 ntfs-3g auto,users
/dev/sda2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/sda3 /home ext3 defaults,noatime 1 2
# Dynamic entries below
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/scd0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0


Try moving

Code:
/dev/sda1 /myth/usb ntfs-3g auto,users


Just below:
Code:
/dev/hda3 /myth auto defaults,auto 0 2


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 2:10 pm 
Offline
Joined: Mon May 10, 2004 10:35 pm
Posts: 46
Still the same issue. It wont mount at boot :-(


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 9:02 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Almost certainly an ordering issue. Read the mount man pages, there's a way to tell it that one mount point needs to be in place before layering another one on top of it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 11, 2008 3:49 am 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
Just some thoughts...

You may need to create a /etc/fuse.conf with user_allow_other in it?

There ought to be a log file somewhere with some hints.

I hear that there were some problems with ordering of sda sdb etc. with usb drives plugged in vs. unplugged and that was a hold up for R5.5. I also think I remember that there was a question whether parallel drives should be renamed back to hda instead of sda as is the later standard.

Adding _netdev to your mount options will delay the mounting of that drive and may help.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu