I have USB drive and its file system is read-only ISO9660. How do I format it? It always says "Readonly FS"
|
migrated from serverfault.com Mar 7 '11 at 12:04
|
If this is the only partition on this usb drive then it won't matter if we wipe the whole device. If that holds true you could create a new partition table using fdisk on the device. Once you have created a new partition table then create a new fat32 (if it's flash-based storage and you want interoperability between OS's) partition. If this is a platter based HDD then just choose the file system that works for you. Here are some basic instructions on fdisk: Small FDISK Example from Ubuntu The instructions can be fitted to your uses. Make sure you select 'o' to create the new partition table. This will wipe the references to the previous partitions and then you can just reformat the entire disk as whatever file system suits you. Let me know if you run into difficulties or creating a new partition table fails for some reason. ONLY do this if you don't mind formatting the entire device (like a USB stick). If this is one partition on an actual HDD then you could try deleting and creating a new partition with fdisk and you could also try doing all of this from a LiveCD (just in case there is some setting somewhere in your OS that is preventing this). |
||||
|
|
|
It's possible that the issue is that ISO9660 FSes are read-only, rather than the drive. Let the drive mount, then type
Then unmount the device (but don't physically remove it) and try reformatting it:
Note how I got the mount point (for unmounting) and the drive (for mkfs'ing) from the mount output above. It is really quite important to get those right, by the way, or you could destroy some fairly important data on your machine. Proceed with caution! Assuming this works, remove and reinsert the drive, and it should show up as a usable VFAT FS. |
|||
|