Results 1 to 10 of 26
I am trying to use a USB drive that stopped working for backup of data. I am very new to Linux and have no clue. Normally I take the file ...
- 02-26-2008 #1Just Joined!
- Join Date
- Feb 2008
- Location
- Brockton, Ma
- Posts
- 25
External USB Storage drive can not delete file .Trash-root
I am trying to use a USB drive that stopped working for backup of data. I am very new to Linux and have no clue. Normally I take the file and move it to the Trash bin. Then go to the Trash bin and delete it from there. When I try to empty the Trash bin I get an error /media/disk.Trash-root/file name can not be deleted because it is on a read-only disk. There were many other files on this disk, but I rebooted the linux system and was able to delete some files.Do I need to re-format this disk? If so, how do I do that. Or is there a way to remove the read only files? Any help would be much appreciated.
- 02-26-2008 #2
Hi and Welcome !
Have you tried to delete those files while logged in as root? Which Linux distro are you using?It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-26-2008 #3
If the you can write to the disk, then login as root and delete the read only files. It could be an issue with permissions. If you can't write to the disk, then you probably need to remount the disk with the read write option. What type of filesystem is on the disk? Is this an external usb drive or a usb stick?
- 02-26-2008 #4Just Joined!
- Join Date
- Feb 2008
- Location
- Brockton, Ma
- Posts
- 25
Yes I am logged in as root. and I've tried rm -r .Trash-root/home021508 but it just comes back with cannot remove file. Read-only file system. I believe my distro is Susse?
- 02-26-2008 #5
Try mounting the filesystem read/write e.g. as root do
Change /dev/sdX to the device name of your usb drive.Code:mount -o remount,rw /dev/sdX
- 02-26-2008 #6Just Joined!
- Join Date
- Feb 2008
- Location
- Brockton, Ma
- Posts
- 25
I tried mount -o remount,rw /media/disk and I am getting a response of block device /dev/sda1 is write protected, mounting read-only
- 02-26-2008 #7
What type of disk is it and what filesystem is on the disk?
- 02-26-2008 #8
It's possible that the USB stick is damaged. Have you tried in Windows? What did you put on it?
I use these things intensively for my work, and I have found that big video files can damage them. When that happens, I get the same error. After that, no attempt at formatting them will work. It has happened on a number of USB sticks, which is why I now use a portable hard-disk.Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
- 02-26-2008 #9Just Joined!
- Join Date
- Feb 2008
- Location
- Brockton, Ma
- Posts
- 25
it is a usb 2.0 combo usb2.0 to sata & ide hard drive. there is an old backed up file on the disk now that I am trying to delete. I hooked it up to my usb port on my windows xp pc and it sees the drive. It doesn't even show up anymore on the linux backup pc.
- 02-27-2008 #10
Plug-in USB drive and execute fdisk -l command. Post output here.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote