LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2016, 02:04 PM   #1
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Rep: Reputation: 5
Formated USB Drive and still get Ubuntu MATE Read Only


I had a USB thumb drive with Ubuntu MATE on it. I formated the drive to wipe it out to use it as a storage once again.

I can't put anything on it because it's "read only." I noticed when I plug it in, I still have it identified as "Ubuntu MATE".

Why does it still say "Ubuntu MATE?" What can I do to change it?

Thank you,
Chris.
 
Old 11-28-2016, 03:19 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,970

Rep: Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403
Not sure what you have. If the drive is read only then that is a different issue.

If you just want to change label then something like gparted may be most easy. https://help.ubuntu.com/community/RenameUSBDrive
 
Old 11-28-2016, 03:42 PM   #3
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Original Poster
Rep: Reputation: 5
Used Gparted to change the name, thank you.

Still Read Only. I can add if I access it as "Root." If I right click, "permissions" it lists as "Read and Write."

Thanks for getting the name changed. At least if I can't use it, it has the right name.


Chris.
 
Old 11-28-2016, 05:33 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,970

Rep: Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403
If you changed the label then you can use the drive.
 
Old 11-28-2016, 06:50 PM   #5
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Original Poster
Rep: Reputation: 5
Went through pages and pages on the Internet, some with two pages of commands that don't work. I was at the store and the "tech" guy told me once you put Linux on a thumb drive, you can never use the drive again (Not true, are you kidding?).

I came home, booted up Windows and put the drive in, right clicked, "format" with check box in "restore to defaults" and it works.

I guess I can add "formating a USB drive quicker" to reasons why we still need Windows.

Thanks for the replies,
Chris.
 
Old 11-28-2016, 07:28 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,970

Rep: Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403Reputation: 3403
Glad you got it fixed is the main thing.

As for the original issue I can't say. I assume it was a permission issue or mount issue.
 
Old 11-29-2016, 10:22 AM   #7
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: mint,deb,centos
Posts: 818

Rep: Reputation: 228Reputation: 228Reputation: 228
or all the partitions were not erased in the initial re-format.
 
Old 11-30-2016, 09:06 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by happydog500 View Post
I had a USB thumb drive with Ubuntu MATE on it. I formated the drive to wipe it out to use it as a storage once again.

I can't put anything on it because it's "read only." I noticed when I plug it in, I still have it identified as "Ubuntu MATE".

Why does it still say "Ubuntu MATE?" What can I do to change it?

Thank you,
Chris.
remove write protect usb stick

hdparm -r0 /dev/sdx
 
Old 12-01-2016, 07:12 PM   #9
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 117

Rep: Reputation: 23
Quote:
Originally Posted by happydog500 View Post
I came home, booted up Windows and put the drive in, right clicked, "format" with check box in "restore to defaults" and it works.

I guess I can add "formating a USB drive quicker" to reasons why we still need Windows.

Thanks for the replies,
Chris.
Not really...

If you put Ubuntu Mate on the flash drive, you will have written a read-only iso image to it. The easiest (and quickest) way to get the drive back to read-write is to use something like gparted, log to the flash drive, delete the partition, the recreate it with whatever files system you want on it. No need to use Windows...

Paul.
 
Old 12-01-2016, 07:17 PM   #10
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Original Poster
Rep: Reputation: 5
Can't believe it. Now that I got that one working, my new one doesn't work. I have lots of data I need on it, but nothing happens when I plug it in now.


Chris.
 
Old 12-01-2016, 07:25 PM   #11
toothandnail
Member
 
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 117

Rep: Reputation: 23
Quote:
Originally Posted by happydog500 View Post
Can't believe it. Now that I got that one working, my new one doesn't work. I have lots of data I need on it, but nothing happens when I plug it in now.
Ouch. First thing to do would be to check if the machine is seeing it at all. When you plug it in, open a terminal and enter "dmesg" (without the quotes). At the tail end of the data, you should see some indication of what is happening with the flash drive. For instance, if I plug in a flash drive and use dmesg, this is the sort of output I would expect:

Code:
[10963.150471] usb 1-1.1: new high-speed USB device number 5 using ehci-pci
[10963.272131] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[10963.272309] scsi host6: usb-storage 1-1.1:1.0
[10963.272468] usbcore: registered new interface driver usb-storage
[10963.275310] usbcore: registered new interface driver uas
[10964.299638] scsi 6:0:0:0: Direct-Access     UFD      USB Flash Drive  PMAP PQ: 0 ANSI: 6
[10964.885703] sd 6:0:0:0: [sdb] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[10964.886950] sd 6:0:0:0: [sdb] Write Protect is off
[10964.886954] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[10964.888381] sd 6:0:0:0: [sdb] No Caching mode page found
[10964.888404] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[10964.894886]  sdb: sdb1
[10964.898952] sd 6:0:0:0: [sdb] Attached SCSI removable disk
That should at least give you some indication of whether it is being seen at all, and may also indicate the type of error.

Paul.
 
Old 12-01-2016, 07:58 PM   #12
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Original Poster
Rep: Reputation: 5
I plugged it in now and it worked. I had video problems and was told to shut down, unplug the computer. After that, it now works.

Here is the end results from the command;

Code:
[ 3895.011683] sd 6:0:0:0: [sdd] Write Protect is off
[ 3895.011692] sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00
[ 3895.012307] sd 6:0:0:0: [sdd] No Caching mode page found
[ 3895.012314] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 3895.019837]  sdd: sdd1
[ 3895.023713] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[ 3900.318779] FAT-fs (sdd1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Chris.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 11.10 HELP NO longer have Read Write Permissions on external NTFS USB Drive rstoesser Ubuntu 1 10-25-2011 03:23 PM
Formated hard drive, runing ubuntu cd cant install, get fedora 11 to boot from hard d IanHarper Linux - Desktop 9 08-10-2009 10:09 PM
Need help. Can't write on newly formated usb drive LinuxUser101 Red Hat 1 03-08-2008 08:39 PM
How to get Ubuntu to read Windows/USB drive? Micro420 Ubuntu 5 08-21-2005 01:17 AM
trying to get files off of drive a: cant seem to read dir of a windows formated flopp laurenaj Linux - Newbie 0 05-12-2004 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration