can't erase / delete files usb
i have ubuntu os on my flash drive and the usb is now "write-protected.
i need to delete all files. can someone tell me how to clear the usb - deleting the os? |
Are you booting off of this usb? Or does it mount read only when you insert it?
|
mill, it has an os on it. it had 2 partitions with the os, then i deleted 1 partition.
not trying to boot from it; yes, it mounts read only when i mount it (and try to remove files) |
So can you format the entire partition? my favorite tool is gparted, however Ubuntu ships with a Disks app that can do some simple partition manipulation.
|
unmount the usb partition and then reformatting the partition will remvoe all the files. This can be either done from the command line or use gparted as suggested.
|
yes, correct, both of you. i reformatted using ubuntu "disks" like mill said = deleted the partition all together and erased all files.
thanks! |
Quote:
Code:
mount -o remount,rw /dev/foo /dir |
can't erase / delete files usb
Hi. Do you see in the /etc/fstab file? Maybe your system put devices (like pendrive) in the format "ro" . You can change in this file this option to "rw" and solve future and repetitive error. Other options like propietaries,group,chmod,etc can optimize your sistem.
|
All times are GMT -5. The time now is 07:41 AM. |