hi everyone, glad to be aboard.
i have tried linux a few times over years with little success. i'm not quitting and need help.
i started because i used to run a lot of boxen on dc projects and fooled around to see how fast i could get clients to run on different installs. also windows activation problems.
i have searched and read and worked and cannot mount or access ntfs drives or partitions. if the os does not do this for me at start i'm done. usually movie players do not work.(ahh, it's working this time)(just urpmi vlc and seems to have broken sound) updates break system. i want to get this system usable and disable updates! i used the knoppix live dvd the other day and it was great. accessed files, played movies and music.
==========================================================
situation: new mandriva 2009.0 powerpack. installed tonight. custom package selection- everything but servers. before reboot ran install updates. after install i urpmi fdisk, ntfs, and the latest smp kernel. installed ntfs-3g.
========================================================
here are some of my settings
Code:
fdisk -l
Disk /dev/sda: 122.9 GB, 122941242880 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfa93e1ff
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5291 42499926 7 HPFS/NTFS
/dev/sda2 5292 10424 41230822+ 7 HPFS/NTFS
/dev/sda3 10425 14946 36322965 5 Extended
/dev/sda5 10425 10436 96358+ 83 Linux
/dev/sda6 10437 14946 36226543+ 83 Linux
Disk /dev/sdb: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe424474f
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 2679 121601 955248997+ f W95 Ext'd (LBA)
/dev/sdb3 14 2563 20482875 83 Linux
/dev/sdb5 2679 5100 19454683+ 7 HPFS/NTFS
/dev/sdb6 5101 121601 935794251 7 HPFS/NTFS
Partition table entries are not in disk order
Disk /dev/sdc: 8019 MB, 8019509248 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x43b56f4a
Device Boot Start End Blocks Id System
/dev/sdc1 1 974 7823623+ 83 Linux
(i'm running off of sda5,sda6)
=========================================================
ls -lh /mnt
Code:
ls -lh /mnt
total 120K
dr-x------ 1 root root 104K 2009-08-11 14:51 ntfs/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_c/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_c2/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_d/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_d2/
[root@c-76-99-223-230 fold]#
[mike@phenom_II ~]$ ls -lh /mnt
total 120K
drwxrwxrwx 1 root root 104K 2009-08-11 14:51 ntfs/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_c/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_c2/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_d/
drwxr-xr-x 2 root root 4.0K 2009-08-14 19:01 win_d2/
the second list changed i believe after installing ntfs-3g
i see permissions changed for ntfs
=========================================================
i just edited fstab to:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
#Entry for /dev/sda6 :
UUID=11220179-ba20-4ee3-8396-df23a65f8b05 / ext3 relatime 1 1
#Entry for /dev/sda5 :
UUID=ef9f2319-11fd-4c55-9e53-3b4fd4b897c5 /boot ext3 relatime 1 2
/dev/sda1 /mnt/ntfs ntfs-3g auto,user,locale=en_US.UTF-8 0 0
/dev/sda2 /mnt/ntfs ntfs-3g defaults,locale=en_US.UTF-8 0 0
/dev/sdb5 /mnt/ntfs ntfs-3g user,rw locale=en_US.UTF-8 0 0
/dev/sdb6 /mnt/ntfs ntfs-3g user,rw locale=en_US.UTF-8 0 0
/dev/sdb5 /mnt/win_c ntfs-3g user,rw locale=en_US.UTF-8 0 0
/dev/sda1 /mnt/win_c2 ntfs-3g user,rw locale=en_US.UTF-8 0 0
/dev/sdb6 /mnt/win_d ntfs-3g user,rw locale=en_US.UTF-8 0 0
/dev/sda2 /mnt/win_d2 ntfs-3g user,rw locale=en_US.UTF-8 0 0
/dev/cdrom /media/cdrom auto,rw umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /proc proc defaults 0 0
==========================================================
and i got this:
Code:
Unable to mount ntfs
mntent]: line 11 in /etc/fstab is bad
[mntent]: line 12 in /etc/fstab is bad
[mntent]: line 13 in /etc/fstab is bad
[mntent]: line 14 in /etc/fstab is bad
[mntent]: line 15 in /etc/fstab is bad; rest of file ignored
ntfs-3g-mount: mount failed: Operation not permitted
User doesn't have privilege to mount. For more information
please see: http://ntfs-3g.org/support.html#unprivileged
i looked at suggested site and it says:
Unprivileged block device mounts work only if all the below requirements are met:
1. ntfs-3g is compiled with integrated FUSE support
2. the ntfs-3g binary is at least version 1.2506
3. the ntfs-3g binary is set to setuid-root
4. the user has access right to the volume
5. the user has access right to the mount point
The root user can make an ntfs-3g binary setuid-root as shown below
chown root $(which ntfs-3g)
chmod 4755 $(which ntfs-3g)
In such case the driver will also be able
* to fix common FUSE kernel module loading problems
* to create the required but sometimes incorrectly removed or missing FUSE device file
Please note that using setuid-root can result unforeseen privilege escalation and its usage is discouraged. Only the absolutely trusted users must be granted such access. Below is an example how this can be done for users in the ntfsuser group to be able to mount any NTFS volume if they have also the needed volume access rights.
chown root.ntfsuser $(which ntfs-3g)
chmod 4750 $(which ntfs-3g)
=========================================================
is it supposed to be this difficult?
=======================================================
fstab-ntfs-config-save:
Code:
# Entry for /dev/sdb6 :
UUID=11220179-ba20-4ee3-8396-df23a65f8b05 / ext3 relatime 1 1
# Entry for /dev/sdb5 :
UUID=ef9f2319-11fd-4c55-9e53-3b4fd4b897c5 /boot ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
# Entry for /dev/sda5 :
UUID=55E704C6F071BBC4 /mnt/win_c ntfs-3g user,noauto 0 0
# Entry for /dev/sdb1 :
UUID=24F08654F0862C5C /mnt/win_c2 ntfs-3g user,noauto 0 0
# Entry for /dev/sda6 :
UUID=C147CACA0A493A19 /mnt/win_d ntfs-3g user,noauto 0 0
# Entry for /dev/sdb2 :
UUID=CAFC71FEFC71E4DB /mnt/win_d2 ntfs-3g user,noauto 0 0
none /proc proc defaults 0 0
==========================================================
mtab:
Code:
/dev/sda6 / ext3 rw,relatime 0 0
none /proc proc rw 0 0
/dev/sda5 /boot ext3 rw,relatime 0 0
/dev/sda1 /mnt/ntfs fuseblk rw,allow_other,blksize=4096 0 0
/dev/sda2 /mnt/ntfs fuseblk rw,allow_other,blksize=4096 0 0
/dev/sdb5 /mnt/ntfs fuseblk rw,allow_other,blksize=4096 0 0
/dev/sdb6 /mnt/ntfs fuseblk rw,allow_other,blksize=4096 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
gvfs-fuse-daemon /home/mike/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=mike 0 0
/dev/sr1 /media/cdrom iso9660 ro,nosuid,nodev,users,iocharset=utf8 0 0
=======================================================
from 'computer' i see,win_ c, win_c2, win_d, win_d2.
click and get- unable to mount location ntfs-3g-mount: user has no write access to mountpoint /mnt/win_c. (thought write access was default for ntfs-3g)
i do not see- ntfs.
click on filesystem then mnt and click on win_c and folder opens but is empty. click on ntfs folder in mnt and i have access to files on probably sdb6.
i do not see linux ext2 or ext3 fs. i have a gentoo install on sdb1, sdb3. i would like to be able to edit configuation files from mandriva if possible
during install i set user and rw to everything. i used ntfs configuration tool from system-administration to grant access. ????????
(edit) now i can see other linux partions. can't edit though. i need to edit grub.conf on gentoo.
i guess i just need to set right mount points and permissions. i'm getting numb. can some one make this easy for me?