LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-04-2006, 10:52 PM   #1
psycospaz
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
Question external harddrive problems


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!!
 
Old 09-04-2006, 11:33 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You may need 'umask=000' in your fstab options.
 
Old 09-06-2006, 09:06 PM   #3
psycospaz
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
??

what does that mean?? i am reallllllyyyyy reallllly new at this!! so can you please explain this a lil more..

 
Old 09-06-2006, 10:14 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
spaz

What filesystem did you format the drive with (ntfs)?

lazlow
 
Old 09-07-2006, 08:49 PM   #5
psycospaz
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
yes, it was formatted and filled with windows.
 
Old 09-07-2006, 08:59 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
spaz

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.

Lazlow
 
Old 09-07-2006, 10:13 PM   #7
spot221
LQ Newbie
 
Registered: May 2004
Location: ferndale, mi
Distribution: fedora, ubuntu
Posts: 18

Rep: Reputation: 0
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.
 
Old 09-07-2006, 10:55 PM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I got a external 400 GB Harddrive.....? schneemann SUSE / openSUSE 8 03-09-2006 09:23 PM
External Harddrive cerealdaemon Linux - General 4 07-12-2005 09:33 PM
USB 2.0 external Harddrive Problems Lars09002 Linux - Hardware 0 05-05-2005 09:45 AM
How to mount an external Harddrive Stargod Linux - Hardware 5 07-11-2004 01:37 PM
external harddrive scorpion777 Slackware 4 05-05-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration