Choose style:

Author Topic: Internal USB stick formatter [Solved]  (Read 1050 times)

0 Members and 1 Guest are viewing this topic.

Offline acer

  • Member
  • ***
  • Posts: 240
  • Karma: 28
    • View Profile
  • Peppermint version(s): Peppermint 8 64bit
Internal USB stick formatter [Solved]
« on: September 27, 2017, 07:21:58 am »
Hi PCNETSpec,
Just had an issue whereby access to an SD card (on a USB3 SD Kingston Mobilelite G3) was denied for writing. (works/worked no prob in Windoze R/W)
Checked properties of SD card on PM8 which displayed that it was not R/W so I attempted to rectify it within the properties section and set to R/W to no avail..
So I copied everything from the SD card to system SSD and used the 'USB stick formatter' to format the SD card using the FAT32 filesystem.
On completetion of formatting, the USB SDCard reader disappeared from nemo.
So I then unplugged the device and reinserted after 10 seconds to find the system doesn't see the device!  :o

Using a third part app via windows, I found that the filesystem of the SDCard was 'unformatted' but still active so I formatted it using minitools disk wizard.

Plugged it in to the PM8 system and worked straight away.  ;D

Is it just me or does the 'USB stick formatter' not work as intended?
Anyone else tried it recently?

Thanks in advance  :)
« Last Edit: September 28, 2017, 10:10:33 am by acer »

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1829
  • Karma: 256
    • View Profile
Re: Internal USB stick formatter
« Reply #1 on: September 27, 2017, 10:17:56 am »
Interesting  :-\!!
I normally use gparted..., just a suggestion

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25660
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Internal USB stick formatter
« Reply #2 on: September 27, 2017, 10:54:02 am »
Can't say I've ever had any problems with the USB Stick Formatter, but then I've never tried using it to format an SDcard ;)

I'm not an expert on the way SDcards work via a USB card reader, but I'd assume there are other variables involved, such as how does the reader know when an SD card has been inserted (firmware?), etc.

So I'm unsure this is a USB Stick Formatter application problem.
« Last Edit: September 27, 2017, 10:57:59 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline acer

  • Member
  • ***
  • Posts: 240
  • Karma: 28
    • View Profile
  • Peppermint version(s): Peppermint 8 64bit
Re: Internal USB stick formatter
« Reply #3 on: September 28, 2017, 07:20:54 am »
Ok, Just tried it again using a proper USB flash drive (sandisk 32Gb) using the 'USB Stick Formatter' from the Menu/system tools/USB Stick Formatter
Set it up to format using FAT32 and proceeded no problems.
Once finished, the flash drive unmounted and I unplugged for a few minutes.
Plugged it in again and did not mount nor could I access via nemo file manager.  ???

This time, to try and establish if there was an issue, I went a different route..
Instead of using the USB Stick Formatter, I used the Menu/Preferences/Disks and the drive showed up.
From within the Disks app I formatted the drive and all is good.

Is there a safe way to remove 'USB Stick Formatter' link from the Menu? If so, How?

Thanks in advance

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1959
  • Karma: 341
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Internal USB stick formatter
« Reply #4 on: September 28, 2017, 08:03:20 am »
I've had problems with USBs and Peppermint 8 (because of the auto-mounting defaults) when trying to "make bootable USB stick". I suppose this could be a similar thing but maybe not.

I also would use GParted to format them normally.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25660
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Internal USB stick formatter
« Reply #5 on: September 28, 2017, 09:35:09 am »
Is there a safe way to remove 'USB Stick Formatter' link from the Menu? If so, How?

Run:
Code: [Select]
sudo pluma /usr/share/applications/mintstick-format.desktop
find the line that reads:-
Code: [Select]
NotShowIn=KDE;
and change it to:-
Code: [Select]
NotShowIn=KDE;LXDE;
SAVE the file and exit the text editor.

It should no longer display in the menu.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
Re: Internal USB stick formatter
« Reply #6 on: September 28, 2017, 09:43:33 am »
I've had a few gremlins occur, when formatting and making bootable USB's, if in doubt I clean USB's via terminal. (sdc is the USB on my twin rig)

1. sudo dd if=/dev/zero of=/dev/sdc bs=4M iflag=nocache oflag=direct

      ############################################
      *** UNPLUG/EJECT USB then re-insert for step two  ***
      ############################################

2. sudo parted /dev/sdc mklabel msdos

#############################################################

Check true partition size, use parted

sudo parted /dev/sdc
GNU Parted 3.2
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                           
Model: Generic Flash Udisk (scsi)
Disk /dev/sdc: 2102MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End     Size    Type     File system  Flags
 1      512B   2102MB  2102MB  primary  fat32        lba

################################################################

                                                          ########################   
3. sudo parted -a none /dev/sdc mkpart  primary fat32 0 2102  **** check for true size  *****
                                                          ########################

4. sudo mkfs.vfat -n "Disk" /dev/sdc1


NB did a 32 Gb USB stick last year, took about 50 mins plus to wipe and then format using steps 2,3 and 4.
“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc

Offline acer

  • Member
  • ***
  • Posts: 240
  • Karma: 28
    • View Profile
  • Peppermint version(s): Peppermint 8 64bit
Re: Internal USB stick formatter
« Reply #7 on: September 28, 2017, 10:09:53 am »
Thanks PCNetSpec that worked a treat with xed ;)
FYI: I think It's the mintpy formatter that has an issue on my system but, the internal gnome disk function works great.

Thanks cavy, will try that out when required again (saved for later)  ;)

Will mark as solved.

Offline cavy

  • Trusted User
  • Member
  • *****
  • Posts: 420
  • Karma: 55
  • Caveman
    • View Profile
    • PeppermentOS Pixies
  • Peppermint version(s): Peppermint Eight
Re: Internal USB stick formatter
« Reply #8 on: September 29, 2017, 08:02:15 am »
Thanks cavy, will try that out when required again (saved for later)  ;).

You are welcome acer   :D 
“We know what we are, but not what we may be.”

Desktop Dell 7040 i7-6700 500Gb-SSD 32Gb ram
Laptop    Dell 7470 i5-6300 500Gb-SSD  16Gb ram
Various antiques to sample other OS's etc