How to mount an external NTFS USB drive on Mandrake 10.0??
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How to mount an external NTFS USB drive on Mandrake 10.0??
Ok, I admit, I'm without question a newbie, and YES, i have searched for answers BEFORE asking this question probably for the 400th time. However, as I'm sure you're all aware, every situation is unique, and I find myself in just such a snare.
So here's my problem. I have Mandrake 10.0 and i haven't been able to get it to recognize my external USB hard drive. Here's what I've been able to do so far:
1) I can mount it as root, but that's about it. No other users can log on, nor have any access to read or write.
For example, as root in terminal, I can type:
mount -t ntfs /dev/sda1 /mnt/usb
--this will give ROOT access, but nobody else. So, I tried this:
mount -t ntfs / dev/sda1 /mnt/usb -o rw,user,noauto,exec 0 0
--no difference, still can't access drive outside of root.
2) I have tried to edit fstab to the Nth degree, and it continues to fail miserably.
but then it just adds this crap to the end of it after rebooting:
none /mnt/hd supermount dev=/dev/ide/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0
and it still doesn't work....
3) Strangest thing is, I have another windows drive on my system, and Mandrake already recognizes it and I can browse / read anything there with any user without a problem.
I can't seem to figure out why this external is being such a pain. If it can read my C: drive, why can't it pick up on the external without a problem? When I installed linux, it gave me several different icons for hd, win_c2, and removable -- all of which are empty and have no files in them whatsoever. The only thing I can find anything in is win_c, as I mentioned before.
I should let you all know that I am slowly but surely making the transition to Linux because I am certain that Windows is trash -- Garbage in, garbage out, hehehe -- but I need to know that I'll be able to actually complete the migration!! You've got a new advocate, just help me get running and I'll migrate all my friends too!!! :-)
Thank you all for your help, I hope I don't sound like too much of an idiot, please be patient as I am new to Linux.
I have a very similar problem in Mandrake 10.0 But my drive is formatted Fat32, not NTFS It works just fine if I am logged in as root, but if I try to use it from my user account (when I turn the drive on a mnt/removable icon shows up on my desktop as a user) it says something about that "file or folder does not exist". But it works just fine under root.
This is what my fstab looks like when I turn the drive on:
The last 2 lines only show up when I have the drive on, and disappear when I shut it off.
Is this a supermount problem? When I checked it said the /mnt/removable folder was "owner root" Group nogroup and I couldn't change that, even as root (it said I didn't have enough permissions). It seems like it's the 'thing' that hotplugs the usb device that might be adding something badly? But I don't know what that is.
USB storage should not be in fstab. The fstab file should only be use for static (peranment) drives like IDE hard drives, SCSI hard drives, CDROM, DVD, floppy, ZIP, JAZ, Super Disk (LS-120). You can keep on disconnecting and reconnecting the same USB storage device over and over again. Linux will keep on making new devices but it will point to the same device from the dozen times you disconnect it and reconnect it. I suggest you go into fstab and remove all lines for your USB storage after you unmount (umount) your USB drive. Use # in front of each USB line if you are little worry removing lines from fstab.
mount -t ntfs -o ro,umask=022,users /dev/sdX /mnt/usbdrive
mount -t ntfs -o rw,umask=000,users /dev/sdX /mnt/usbdrive
The X designates the device and partition number. You can use dmesg to find out the device. The right codepage should be 437 instead of 850. I suggest using FAT32 for USB drives because Windows, Mac, and Linux are able to read and write.
Does it perhaps add the lines because it treats USB drives as SCSI devices? As I said, it auto deletes those lines when you unplug the device, also, under one of the files that talks about USB usb.agent I think) it has some code that looks like it is what is adding and removing the lines involved.
In my case I had to recompile the kernel in order to add scsi device support (scsi cdrom support), which adds module sr_mod (check with modprobe -l or lsmod if you already have it), since usb devices are accessed via scsi devices.
After that (make xconfig, make modeles_install) , reboot and mounted /dev/scd0 on /mdeia/dvdrecorder (or any other mount point).
mount -t iso9660 /dev/scd0 <mountpoint>
In some cases, depending on the number of usb devices attached, the device id may differ from scd0, being another number. In such case, use lsusb (figure out bus and device ids), /proc/scsi files, /var/log/messages.