Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Hard Drive stuck in read only
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cstegmann
n00b
n00b


Joined: 30 Jul 2005
Posts: 29

PostPosted: Mon Aug 29, 2005 5:57 am    Post subject: USB Hard Drive stuck in read only Reply with quote

Hi there.

I cannot modify the contents of the usb hd (150GB). It is read only. Same problem in root. Maybe this is because it was NTFS partitoned under windows. I didn't want to fat32 partition it because i heard that i'd have to split the hd up into smaller partitions since fat cannot support large harddrives.

When i check the permission properties i see that the owner and group only have viewing rights, but no write access. Others are forbidden. The owner is root, and the group is users. I can't change the permissions on the drive, not even as root.

Tried to repartition the drive using fdisk, but that didn't help either.

The drive however works perfectly under windows. No write protection on it at all.

output from df -h
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 278M 149M 115M 57% /
udev 506M 2.6M 503M 1% /dev
/dev/hda2 47M 5.0M 40M 12% /boot
/dev/hda6 12G 4.2G 6.3G 41% /usr
/dev/hda7 1008M 402M 556M 42% /opt
/dev/hda8 3.7G 355M 3.2G 10% /var
/dev/hda9 3.3G 4.0K 3.3G 1% /share
/dev/hda10 45G 10G 32G 24% /home
/dev/hda1 10G 6.3G 3.8G 63% /mnt/windows
none 506M 0 506M 0% /dev/shm
/dev/sdc1 150G 75M 149G 1% /media/usbhdd

Any ideas on how i could fix this, thanks.
_________________
chris
Back to top
View user's profile Send private message
Sachankara
l33t
l33t


Joined: 11 Jun 2004
Posts: 696
Location: Stockholm, Sweden

PostPosted: Mon Aug 29, 2005 6:40 am    Post subject: Re: USB Hard Drive stuck in read only Reply with quote

You can't write to NTFS partitions... Or actually you can, but it's kinda' ugly and I wouldn't even recommend trying it. Use FAT32 if you must share files with Windows...
_________________
Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak)
Back to top
View user's profile Send private message
ctachta
n00b
n00b


Joined: 09 Apr 2005
Posts: 39
Location: Glasgow

PostPosted: Mon Aug 29, 2005 6:44 am    Post subject: Reply with quote

Sure you can not change permission rights of NTFS since it is mounted as read-only writing NTFS support is experimental and is considered as dangerous.

you can see how the partition is mounted by
Code:
cat /proc/mounts
and you will see that this mount will have the "ro" flag which means it is mounted as read-only.

I am not very sure what do you mean "repartition" did not help! Do you mean that you tryied to create ext2/3 paritions and you couldn't?

If you want to re-partition your hard drive. First you have to umount it from all mount points (it should not appear at cat /proc/mounts).

then you can use
Code:
fdisk /dev/sdc
Use the 'm' key to get some help and delete previously existed partitions and create new ones.


Regards,
Christos
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum