LinHES Forums
http://forum.linhes.org/

Automount NTFS drive?
http://forum.linhes.org/viewtopic.php?f=6&t=18967
Page 1 of 1

Author:  DonLKSAB [ Fri Sep 19, 2008 1:32 pm ]
Post subject:  Automount NTFS drive?

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

Author:  novellahub [ Mon Sep 22, 2008 9:26 am ]
Post subject: 

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

Author:  DonLKSAB [ Fri Sep 26, 2008 1:55 am ]
Post subject: 

Thanks.
But the result is the same.
I have to do a mount -a to use the drive.

/DonLKSAB

Author:  novellahub [ Fri Sep 26, 2008 4:55 am ]
Post subject: 

Could you post your fstab? Maybe it has to do with the order that the NTFS-3G entry is in.

Author:  DonLKSAB [ Fri Sep 26, 2008 4:58 am ]
Post subject: 

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

Author:  novellahub [ Fri Sep 26, 2008 5:11 am ]
Post subject: 

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

Author:  DonLKSAB [ Fri Sep 26, 2008 2:10 pm ]
Post subject: 

Still the same issue. It wont mount at boot :-(

Author:  tjc [ Fri Sep 26, 2008 9:02 pm ]
Post subject: 

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.

Author:  cliffsjunk [ Sat Oct 11, 2008 3:49 am ]
Post subject: 

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/