-
Junior Member
registered user
USB flash drive mysteriously becomes read-only.
Hello. I am using Knoppix on a PC with no hard drive, just a 1GB SanDisk USB flash drive which mounts automatically as sda1. This flash drive does NOT have a read-only mode switch. Everything was working fine for a few days, but now I can't write to the flash drive any more. For example, if in BASH I enter...
cd /mnt/sda1
mkdir MyNewFolder
...then I get the message "cannot create directory 'MyNewFolder': - Read-only file system". Similar messages appear when attempting to save documents, etc.
When I examine privileges with the command...
ls -ld
...then I get "drwxrwxrwx 5 knoppix knoppix 16384 Dec 31 1969"
Based on my very limited knowledge this looks like the flash drive should be writeable. Any pointer for the Linux newbie on how to fix this will be greatly appreciated.
-
Re: USB flash drive mysteriously becomes read-only.

Originally Posted by
GottaBuild
Hello. I am using Knoppix on a PC with no hard drive, just a 1GB SanDisk USB flash drive which mounts automatically as sda1. This flash drive does NOT have a read-only mode switch. Everything was working fine for a few days, but now I can't write to the flash drive any more. For example, if in BASH I enter...
cd /mnt/sda1
mkdir MyNewFolder
...then I get the message "cannot create directory 'MyNewFolder': - Read-only file system". Similar messages appear when attempting to save documents, etc.
When I examine privileges with the command...
ls -ld
...then I get "drwxrwxrwx 5 knoppix knoppix 16384 Dec 31 1969"
Based on my very limited knowledge this looks like the flash drive should be writeable. Any pointer for the Linux newbie on how to fix this will be greatly appreciated.
Did you try to right-click in the /dev/sda1 desktop icon and enable the wite access ?
If you type "mount" from a bash shell, do you have the "rw" flag or only "r" flag ?
Are you sure that the root directory (/) is mounted as /dev/sda1 ?
(use the "df" command from bash to check)
Hope this helps,
Gilles
Similar Threads
-
Replies: 3
Last Post: 12-06-2011, 05:20 AM
-
By PaulKraemer in forum General Support
Replies: 1
Last Post: 05-08-2006, 04:49 PM
-
By jounihat in forum Hardware & Booting
Replies: 1
Last Post: 05-24-2005, 06:17 PM
-
By mjman in forum Hardware & Booting
Replies: 9
Last Post: 10-25-2004, 09:46 PM
-
By Keilaron in forum Hardware & Booting
Replies: 3
Last Post: 01-23-2004, 04:56 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)
$12.00

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.57

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$20.85

Knoppix NSM 1.2
$8.00

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$21.42

Hamshack Live DVD-ROM
$7.00

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$34.01