Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x86c386c3
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 19457 125572072+ f W95 Ext'd (LBA)
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS
/dev/sda6 7649 12110 35840983+ 7 HPFS/NTFS
/dev/sda7 12111 16708 36933403+ 7 HPFS/NTFS
/dev/sda8 16709 19457 22081311 83 Linux
Disk /dev/sdb: 2029 MB, 2029518848 bytes
243 heads, 32 sectors/track, 509 cylinders
Units = cylinders of 7776 * 512 = 3981312 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 510 1981936 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(249, 242, 32) logical=(509, 184, 32)
I would like to mount sda1 and sda5 in the media folder and Im not sure of a good permissions setting. Thanks very much and I hope its not too difficult
by looking through the help files, I found out how but for some reason when I try to mount as a user and not as super user it won't allow me. It gives the message
cannot mount the device using FUSE library or something
Can someone please help, thanks very much
Make sure you have the package ntfs-3g installed. For filesystem type, put ntfs-3g on both drives. After that, see if you still get the error messages.
Don't use /media for that. /media is where hal creates and deletes directories when automounting removable drives. If /dev/sdb is a removable device, then you don't want it mounted when you boot. You can't count on it having the same device node the next time, and if it isn't plugged in, booting will fail. You need to use the "noauto" option for removable drives.
Read the mount man page and the mount.ntfs manpage. You will want to use the "uid", "gid", "fmask" options so that you will be able to access the NTFS filesystem. You need the 'x' bit set on directories to be able to enter them. You don't want the 'x' bit set for files on an NTFS partition. The permissions of all of the directories and all of the files are the same, and determined at boot time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.