LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-11-2007, 10:04 AM   #1
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
New External Hard drive is Detected As Read-Only


I received my Valentine's Day gift from my wife. I asked for an Aluratek 250GB USB 2.0 hard drive. (http://www.newegg.com/Product/Produc...82E16822334006) It is a really nicely built unit, however I am having a problem. I plugged the hard drive into my USB 2.0 port and it was detected, but only as a "read-only" device. So, I tried changing permissions as myself and as root and it keeps saying that it is a "read-only" device and that I can't change the permissions. Now, I know from my previous Slack background, that this probably something simple as the device being detected and autoconfigured as "read-only" which is why it won't allow me to change the permissions.

I guess what I am trying to say is...

1. How can I change it from a read-only device?

2. What should my fstab entry say to mount the drive with read/write/execute access for all users??

Thanks for your help!

**edit**

I just realized it is pre-formatted as Windows NTFS and the device it is linked to is /dev/sdb1. I'm still not sure how to fix this.

Last edited by tubatodd; 02-11-2007 at 10:09 AM.
 
Old 02-11-2007, 10:41 AM   #2
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Update:

I did some reading about Windows NTFS file systems and realized that is why it was read-only (I guess it was a Linux compatability issue)

So, I converted the drive to ext3 by doing....
Code:
mkfs.ext3 /dev/sdb1
...and now my external drive reads and writes as a Linux files system. That was easy.

My only concern is that the drive is 250GB and when it was an NTFS drive it said that the available space was "232GB" and now after the mkfs.ext3 it says that the drive is "217GB" in size. What happened?? Does the ext3 formatting really take that much more space??

Also, the drive is mounted as "usbdisk" which is very generic. Is there a way I can mount it as "Aluratek" so that I know specifically that it refers to my hard drive and not my flash drive or some other usb device??


Thanks

Last edited by tubatodd; 02-11-2007 at 10:43 AM.
 
Old 02-11-2007, 12:19 PM   #3
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Well this thread has become a blog more than anything. Having been a Linux newbie at one time (I guess I still am in some ways...) I thought I might post this for others who may have similar questions.

I managed to correct the mount point and the drive's name.

First I did...

Code:
mkdir /media/Aluratek/
then changed my /etc/fstab to have a line that reads...
Code:
/dev/sdb1        /media/Aluratek  ext3    rw,user,noauto  0       0
Then I rebooted my system (which I guess I didn't need to do) to see if the drive would be detected properly on bootup. Much to my delight, an "Aluratek" drive icon appeared on my Gnome desktop. Now I have a GREAT backup drive.

I'm still not sure why the drive is showing that it is 217GB instead of 232GB when it was a NTFS drive. I believe that may be because of the ext3 "formatting."
 
  


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
read external hard drive mccclxxxv Linux - Hardware 6 06-11-2022 12:58 PM
Can't read external hard drive alrymala Linux - Security 1 10-23-2005 01:42 PM
USB external hard drive nolonger detected after kernel upgrade to 2.6.11-1.27_FC3 Capricorn180 Linux - Hardware 2 06-09-2005 04:27 AM
External Firewire Hard drive not detected wellwatch Linux - Hardware 1 10-11-2004 09:42 AM
Setting permissions on an external USB hard drive so that all users can read from it? Pi Man Linux - Hardware 2 09-07-2004 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:43 PM.

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