You are not logged in.
Title says it all.
My fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#Linux partitions
UUID=fea23491-917b-4d61-a904-9f4910cf3dc3 / ext3 defaults 0 0
UUID=830fd34f-0ab1-4864-9f2f-873d8938d117 swap swap defaults 0 0
UUID=579606c6-b07b-4d65-a97f-839096679e4e /home ext3 defaults 0 0
#Windows partitions
/dev/sda1 /mnt/Dysk-C ntfs-3g defaults 0 0
/dev/sda5 /mnt/Dysk-D ntfs-3g defaults 0 0
/dev/sda6 /mnt/Dysk-E ntfs-3g defaults 0 0
none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0
The last line is for VirtualBox USB devices. My NTFS partitions are simply not mounted. The /media/Dysk-* folders are empty. Simple "sudo ntfs-3d /dev/sda* /mnt/Dysk-*" fixes this, but I want to do it automatically.
Thanks in advance!
Last edited by warnec (2009-09-27 10:12:18)
Offline
Dunno... mine mount automatically on boot
LABEL=Data /media/Data ntfs-3g defaults,noatime 0 0
I dunno if it matters, but try mounting to /media/Dysk-X for example?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
As long as the mount-points _exist_ - it doesn't matter what they are called (be it /mnt/Dysk-D or /media/disk or /mnt/sda5 or whatever)
You may want field #4 (defaults) of /etc/fstab to be: (for the ntfs-3g drives)
defaults,uid=000,gid=000,noatime
There are a couple more mount-options as well - can't remember them offhand ... just search the forum for ntfs-3g
Offline
The uid, gid, and noatime options are optional just to clarify for the OP. They should _not_ impact whether the mount takes place.
OP, those /mnt/Dysk-* directories do exist, right? Try 'mount /dev/sda1' (or whichever) after you've booted and see if it works like that. If not, post the error message, and also try a full manual mount: 'mount -t ntfs-3g /dev/sda1 /mnt/Dysk-A' or such and report errors if any.
Last edited by Ranguvar (2009-09-25 03:37:07)
Offline
Any clues in logs?
Offline
so, there are /dev/sda1, /dev/sda5 and /dev/sda6 files, and there exist corresponding /media/Dysk-C, /media/Dysk-D and /media/Dysk-E folders I like to mount them in. The folders exist, and as I said, are empty after booting the PC. Mounting with ntfs-3g like this:
[warnec@chakra ~]$ sudo ntfs-3g /dev/sda1 /media/Dysk-C
Hasło:
Works with no problem.
Last edited by warnec (2009-09-25 18:17:45)
Offline
Please try what I suggested, using those two mount invocations I mentioned.
Offline
As I said in my earlier post, manual mounting is working perfectly fine. No problems at all. The only thing not working is making it execute at the start of the system.
Offline
You mounted directly with ntfs-3g. I asked you to mount with the mount program, and try two seperate invocations of it.
Offline
Sorry for the confusion. The command I invoked:
sudo mount -t ntfs-3g /dev/sda1 /media/Dysk-C
Works with no problem.
Offline
Ok, solved. It's all because of my stupidity. I specified the /mnt/Dysk-* folders to mount in in fstab, while it should be /media/Dysk-*, since that's where I want to mount them in. Now works perfectly.
Sorry for taking your time.
Offline