format thumbdrive.

Dhruva Lokegaonkar dhruva at lokegaonkar.in
Wed Dec 19 00:34:01 MST 2018


There's a good chance your drive is dead. But try changing the
permissions. It might just be that you don't "own" the drive.

Check the ownership info using `ls -la`
If the owner is root, change it to your user with
`sudo chown youruser:youruser /path/to/drivemount -R`


On 12/19/18 8:52 AM, Michael wrote:
> nevermind.... I just didn't wait long enough.
> 
> but this time I get a different error:
> 
> $ cp ~/Desktop/* /media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a
> cp: cannot create regular file
> '/media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a/google-chrome.desktop':
> Permission denied
> cp: cannot create regular file
> '/media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a/Link to 2017.kmy':
> Permission denied
> cp: cannot create regular file
> '/media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a/Link to
> Contacted.ods': Permission denied
> cp: cannot create regular file
> '/media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a/Link to
> Earnings2018.ods': Permission denied
> cp: cannot create regular file
> '/media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a/Link to
> Earnings2019.ods': Permission denied
> cp: cannot create regular file
> '/media/bmike1/009598a2-cbbe-4970-abd0-f75f3c4de28a/Link to Workflow':
> Permission denied
> 
> 
> On Tue, Dec 18, 2018 at 10:14 PM Michael <bmike1 at gmail.com
> <mailto:bmike1 at gmail.com>> wrote:
> 
>     I remembered what the command is: mkfs
>     But I enter the command and:
>     $ sudo mkfs -text4 /dev/sdc
>     mke2fs 1.42.13 (17-May-2015)
>     Creating filesystem with 15436800 4k blocks and 3866624 inodes
>     Filesystem UUID: 009598a2-cbbe-4970-abd0-f75f3c4de28a
>     Superblock backups stored on blocks: 
>     32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
>     4096000, 7962624, 11239424
> 
>     Allocating group tables: done                            
>     Writing inode tables: done                            
>     Creating journal (32768 blocks): done
>     Writing superblocks and filesystem accounting information:        
> 
>     and it just sits there as if it is waiting for a variable.
>     What should I do?
> 
>     On Tue, Dec 18, 2018 at 8:57 AM Michael <bmike1 at gmail.com
>     <mailto:bmike1 at gmail.com>> wrote:
> 
>         I left click on it (why didn't I think of that) and format it
>         but it does not allow me to copy to it. I then tried with tty
>         and it says 'permission denied'. Another thing, it does not take
>         the label I assign to it.
> 
>         On Tue, Dec 18, 2018 at 2:37 AM Jim <jim.nantz15 at comcast.net
>         <mailto:jim.nantz15 at comcast.net>> wrote:
> 
>             My mistake. I meant lower right.  Any idea why that wouldn't
>             work for Mike?
> 
>             On 12/18/18 12:36 AM, Jim wrote:
>>
>>             I have KDE on this dinosaur and I have no trouble
>>             formatting them.  i plug it in, then wait for the window
>>             that pops up in the lower left telling me my options.  I
>>             don't mount it.  I open Gparted or the KDE disk utility
>>             and format it.  If that doesn't work for Michael, I would
>>             wonder if something's wrong with his system.
>>
>>             On 12/17/18 10:50 PM, Dhruva Lokegaonkar wrote:
>>>             If you're on Gnome (latest Ubuntu/ Fedora) then you can use
>>>             gnome-disk-utility. (It's probably just called "Disks" on your computer.)
>>>
>>>             Click on the thumb drive on the left menu, then click on the partition
>>>             on the right side. (I'm guessing there's only one). Make sure its
>>>             highlighted. Then Press Control+Shift+F.
>>>
>>>             Give it a name in "Volume Name"
>>>             Make sure Erase is turned off. (Erase will do a in-depth wipe, which
>>>             takes very long)
>>>             Then select "For use with all systems and devices (FAT)" and click next.
>>>              (I've attached a screenshot)
>>>
>>>             I'm guessing the rest is self explanatory. I don't have a pen drive
>>>             handy and I don't want to format my drive haha.
>>>
>>>             If you want to do this from the Command line
>>>             Use `lsblk` to list all your connected drives and check which drive you
>>>             want to format. Then check again. and again to make sure.
>>>             Then copy the device path. (Something like /dev/sdb1) and execute
>>>             `sudo mkfs.fat -F 32 /dev/sdb1`
>>>             change sdb1 to whatever your drive is.
>>>             Make sure its the right drive though.
>>>
>>>             On 12/18/18 8:07 AM, Michael wrote:
>>>>             I thought I would be able to do it without help but I guess I was wrong.
>>>>             I got a thumbdrive that I want to format. gparted will not do it. Anyone
>>>>             able to help?
>>>>
>>>>             -- 
>>>>             :-)~MIKE~(-:
>>>>
>>>>             ---------------------------------------------------
>>>>             PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
>>>>             To subscribe, unsubscribe, or to change your mail settings:
>>>>             https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>             ---------------------------------------------------
>>>             PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
>>>             To subscribe, unsubscribe, or to change your mail settings:
>>>             https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>             ---------------------------------------------------
>>             PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
>>             To subscribe, unsubscribe, or to change your mail settings:
>>             https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>             ---------------------------------------------------
>             PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>             <mailto:PLUG-discuss at lists.phxlinux.org>
>             To subscribe, unsubscribe, or to change your mail settings:
>             https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 
> 
> 
>         -- 
>         :-)~MIKE~(-:
> 
> 
> 
>     -- 
>     :-)~MIKE~(-:
> 
> 
> 
> -- 
> :-)~MIKE~(-:
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 

-- 

Dhruva Lokegaonkar
dhruva at lokegaonkar.in <mailto:dhruva at lokegaonkar.in>
lokegaonkar.in <https://lokegaonkar.in>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20181219/263eb369/attachment.sig>


More information about the PLUG-discuss mailing list