Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
i have a western digital 250gb internal hardrive routed through a maddog external mount... well this harddrive has everything on it i need for work and school and i cannot get to it.. i just loaded mandriva 2006 on my medion system wich previously had winxp on it (well it crashed for the fifth time so i went linux!!) whenever i connected the harddrive it made a desktop icon and showed in my computer folder but if i tried to access it my system said i was not an owner and could not read the files.. everyother fourm i have read said i had to format my drive but I NEED THE STUFF ON IT!!! AND I HAVE NO OTHER WAY TO GET TO IT!! do i have to break down and reinstall windows on my system??? and if i went to its properties it said that it was unreadable... is there any way to get to it??? then i disconnected my cd drive to run it as an internal harddrive and it read it in the control center as sda but it was partition in blue (windows) and it wouldn't let me change anything about it.. what do i do to get my files?????? X( and after i took it out my os hardrive is now reading as sda... i am confused!!
Most detros do not include ntfs abilities out of the box. They can be added. I do not think that you can write to ntfs (not sure). Search your destro + ntfs.
It appears that your distro includes ntfs! You just need to change the persmisions of the dir where the drive is mounted. There are several ways you can do this, here is one.
open the file fstab in a text editor. It should be located /home/username/fstab.
look for an entry simular to:
dev/sda1 /media/usbdisk ntfs pamconsole,exec,noauto,managed 0 0
change to
dev/sda1 /media/usbdisk ntfs ro uid=500 pamconsole,exec,noauto,managed 0 0
You wil need to be root to do this.
I would recomend making a backup of the file prior to any changes.
You should also be able to access the drive as root; however that can be dangerous. As mistakes can cause system damage.
There is more info on ntfs, mounting, reading, and writing at linux-ntfs.
USB or IEEE-1394 (aka Firewire, i.Link) are setup as sda...sdz because they use the SCSI layer in Linux to handle the commands.
I suggest mounting the drive manually. Assuming the drive is /dev/sda1 and you created the directory /mnt/media type, 'mount -t auto -o ro /dev/sda1 /mnt/media'. This will mount the drive as read-only. Mounting it as read-only protects your data from stupid changes. Some setups may need 'mount -t auto -o ro,umask=222 /dev/sda1 /mnt/media' which will force permissions to 555 or read and execute for both directories and files for everybody.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.