Ubuntu Read-Only USB File System Troubleshooting

July 16, 2020 by Louie Sharp


Today’s user guide has been written to help you when you receive a Ubuntu read-only file system error.

The error was in damaged partitions. Check your section on a flash drive. This may get corrupted if you try to format in Win and then in Ubuntu. If so, delete all partitions and create an active partition for the total GB size of the USB drive.



usb read only file system error ubuntu

Therefore, the USB key that you want to use as a nuclear key may be / dev / sdb (but don’t take my word for it! CHECK! And after you check CHECK again)

- ("d" deletes partitions - in this case there is only one, so I pressed Enter for the default value of "1" - if you have several, you may need to - select 2 or 3, etc.)

How do I change my USB from read only in Linux?

The easiest and fastest way to do this:
  1. Run your terminal as root sudo su.
  2. Run this command in your terminal: df -Th; You will get something like:
  3. Unmount the directory where the USB key is automatically provided by doing the following: umount / media / linux / YOUR_USB_NAME.

- (then I pressed “w” to write the changes, then “q” to exit - do not worry about the message “partition cannot be deleted” - it's up to you to decide - this probably happened because the flash drive was automatically assembled when I inserted it):

(Note - “/ dev / sdb1 * 2048 15099903 15097856 7.2G 7 HPFS / NTFS / exFAT” is no longer displayed)

It would probably be nice to safely remove / remove the device. Plug it in again and run "sudo fdisk -l".

Now you can run fdisk again and create a new partition - or - use gparted (perhaps easier - but not for me - I find the CLI much easier than the GUI).

I came back and created a new Linux partition (83) with "default values", that is: in "sudo fdisk / dev / sdb" I just pressed "n" for "new", then enter, enter, enter (to use) the entire device with the default settings), then “w” to write the changes ... Then I extracted it and reinserted it ...

Why is my USB Read Only?

The reason for the read-only behavior is the file system format. Many storage devices, such as USB keys and external hard drives, are pre-formatted in NTFS because they are used by a large number of users on a PC.

Never be complacent - always check ... I do this all the time, almost blindly, when I deploy Linux servers - but I still sometimes make errors and fdisk on the wrong device, but fortunately I never did this on the production server (sometimes I feel satisfaction when I do something on the home server) ...







Related posts:

  1. Checking File System E Type File System Fat32

    Short description. The file system of a RAW drive is an annoying problem that anyone can face. And it becomes a problem when you find out that there are all important files on the disk that has RAW enabled. To learn how to use a RAW hard drive and how to recover data from it using Stellar Data Recovery, you need to read this blog to the end. Download a free trial of the software before reading further. "File System Type is RAW" is a chkdsk error that occurs when performing a CHKDSK scan on a RAW or ...
  2. Fix Error While Trying To Read From File

    Resume Follow both methods to fix the "Unable to read from source file or hard drive" error on Windows 10/8/7. If you get this message while copying, moving or deleting files from your PC to external storage devices such as USB / SD, etc., take it easy. Here you can access your data again and fix the "Unable to read from source file / hard drive" error. Error message: unable to read source file or hard drive “My internal hard drive is full and slows down my Windows 10 laptop significantly. Then I bought a new external ...
  3. Mft File System

    The Master File Table is a database that stores information about each file and directory on an NTFS (NT File System) volume. MFT has at least one entry for every file and directory on an NTFS logical volume. In addition, each data record contains attributes that tell the operating system how to handle the file or directory assigned to the data record. In most cases, information about a file or directory, such as type, size, creation date / time, last modified date / time, and author, is stored either in MFT records or outside the MFT, but described ...
  4. Nmon File System

    If you use Linux in your data center, you have good reason to look for an easy-to-use monitoring tool that gives you a quick overview of what is happening on your server. There are many such tools in the Linux field. Where to start to find the perfect tool? For me, daily monitoring of Linux servers starts with Nigels Monitor, also known as nmon. The nmon tool shows the use of the processor, memory, network, hard drives, file system, NFS, core processes, resources, and the micro-power partition using the simple ncurses interface. Best of all, you can choose ...
  5. New Windows Server File System

    presentation The Resilient File System (ReFS) is a new file system that was introduced in Windows Server 2012. First, it must be implemented as a file system primarily used for file servers. Loading as a file system for a file server is just the beginning. Like its predecessor NTFS, ReFS will first act as a file server system and then grow into a consumer file system. We will be using all ReFS on our boot partitions soon. So why should you change the filesystem? If NTFS works, why would anyone suggest an upgrade to ReFS? ReFS is ...
  6. Repair Missing System File

    Windows 10 or any other operating system may cause errors or crashes over time and with use due to missing or corrupted files. If you're wondering how to fix this missing files issue, Windows 10 includes several built-in security commands so you can always solve these dilemmas on your own without losing data. Let me introduce you to some of the best methods for fixing missing Windows 10 files on your computer: Use the System File Checker (SFC) tool: System File Checker or SFC is a program that can scan and fix missing or corrupted files ...
  7. Hierarchical Storage File System Linux

    The current File System Hierarchy (FHS) standard is version 2.3, introduced in January 2004. As more and more people prefer open source systems like Linux, they need to know more about the critical aspects of how file systems become a necessity. When trying to understand the hierarchy of the Linux file system, the starting point should always be to define an entry point, commonly known as root. Most Windows users know that the root is usually defined by the alphabetical designation of the hard drive, which is usually C: \. However, things look a little different with Linux. ...
  8. Write Read Error

    Solutions for Steam Disc Write Error (Quick Navigation) . mb_2020_table_no1 {decrease frame: decrease; Width: 100%; Margin: 20px 0 36px 0;}. mb_2020_table_no1 th {Font size: 18 pixels; Background color: #EDEDED; Edge: 1px fixed #EAEAEA! Important; The edge below: no! important; Height: 64 pix. Padding: 5px 25px; Align Vertically: Center; Align text: to the left;}. mb_2020_table_no1 tr td {margin: 1px continuously #EAEAEA! important; The edge below: no! important; Top margin: no! important; Padding: 13px 25px! important; Align Vertically: Center; Font size: 16 pixels; Line height: 26 pixels; Height: 50 pixels;}. mb_2020_table_no1 tr: nth child (odd) {background ...
  9. 08 Disk Read Error

    Information "An error occurred while reading the hard disk" The following information about this error has been compiled by NeoSmart Technologies based on information collected and submitted by our global network of engineers, developers and technicians or partner organizations. Description and symptoms Symptom 1: "Disk read error" error screen The most common cases of this error are incorrect flashing of the MBR on the system boot disk, or no active partition on the boot disk. In these situations, the following guidelines should easily fix the problem. If the problem is hardware related, additional diagnostics and ...
  10. Boot Disk Read Error Xp

    An error occurred while reading the hard drive in Windows 10/8/7 As a computer user, many errors can occur that prevent you from accessing your hard drive or data. Among them, the most frustrating error is reading the hard drive. When it is displayed, the following message is displayed: “An error occurred while reading the hard disk. Press Ctrl + Alt + Del to restart. " Fix hard drive reading error with 5 solutions You will be prompted to press Ctrl + Alt + Del to restart. However, in most cases this does not help and ...