how to format readonly iso9660 USB drive

10,032

Solution 1

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).

Solution 2

This worked fine for me on SDB ro Sticks I had ....

[root@localhost ~]# dd if=/dev/zero of=/dev/sdb bs=512 count=1

1+0 records in

1+0 records out

512 bytes copied, 0.0223074 s, 23.0 kB/s

[root@localhost ~]# mkfs.vfat /dev/sdb

Share:
10,032

Related videos on Youtube

lakshmipathi
Author by

lakshmipathi

Updated on September 17, 2022

Comments

  • lakshmipathi
    lakshmipathi almost 2 years

    I have USB drive and its file system is read-only ISO9660. How do I format it? It always says "Readonly FS"

    • Tom O'Connor
      Tom O'Connor over 13 years
      Is there a physical switch on the device? One that controls read/write ability?
    • lakshmipathi
      lakshmipathi over 13 years
      No I don't think so,I checked it ,it don't seems to have a switch.I read on the web gparted might help - but it didn't even detect usb partition.
    • lakshmipathi
      lakshmipathi over 13 years
      Im using Fedora 12.
    • Vijay Prakash Desetty
      Vijay Prakash Desetty over 12 years
      quick & dirty: "dd if=/dev/zero of=/dev/sdX bs=512 count=1", then recreate an MBR with fdisk or cfdisk and parition the way you want. Most likely it's you filesystem which is read-only and not the device.
  • Admin
    Admin over 12 years
    Your advice did not work, because the filesystem is seems as read-only for system, even for root. Need some way to change the attributes of a filesystem on flash-drive, which the system defines as iso9660.