LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2015, 01:04 AM   #1
batabuntu
LQ Newbie
 
Registered: May 2010
Posts: 19

Rep: Reputation: 0
Can't format micro sd card


So I have 1 gb micro SD card made by Nokia and it just refuses to be formated.

I've tried many ways but it just won't completely format. This is what I've tried
  • ayy
  • did "diskpart" utility in Windows to remove protection by command "volume disk clear readonly" allowed to format once but doesn't compelely blank it
  • Tried the builtin "Disk Utility" to format but gave me an error, "Error synchronizing after initial wipe: Timed out waiting for object (udisks-error-quark, 0)"
  • Installed Gparted. Did simple rightlclick format to NTFS but it gave me an error "LVM not supported loop disk label"
  • Tried giving multipel commands, delete disk [makes it unallocated drive] create new ntfs Primary partion, gives me an error "too many primary partition"

I've attached the Gparted error log. [can't attach html, pasted the code]

What can I do now? It just keeps getting in its Nokia files back and wont leave FAT format, i want to make it NTFS so i can use it in the camera. It's not corrupted because I can paste files on to it on the desktop. Also its not locked by a physical button

Code:
GParted 0.19.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2
Delete /dev/mmcblk0 (fat16, 968.75 MiB) from /dev/mmcblk0  00:00:00    ( SUCCESS )
     	
calibrate /dev/mmcblk0  00:00:00    ( SUCCESS )
     	
path: /dev/mmcblk0
start: 0
end: 1983999
size: 1984000 (968.75 MiB)
delete partition  00:00:00    ( SUCCESS )

========================================
Create Primary Partition #1 (ntfs, 967.00 MiB) on /dev/mmcblk0  00:00:00    ( ERROR )
     	
create empty partition  00:00:00    ( ERROR )
libparted messages    ( INFO )
     	
Too many primary partitions.

========================================
Code:
GParted 0.19.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2
Format /dev/mmcblk0 as ntfs  00:00:00    ( ERROR )
     	
calibrate /dev/mmcblk0  00:00:00    ( SUCCESS )
     	
path: /dev/mmcblk0
start: 0
end: 1983999
size: 1984000 (968.75 MiB)
clear old file system signatures in /dev/mmcblk0  00:00:00    ( SUCCESS )
     	
write 68.00 KiB of zeros at byte offset 0  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 67108864  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 1015803904  00:00:00    ( SUCCESS )
flush operating system cache of /dev/mmcblk0  00:00:00    ( SUCCESS )
set partition type on /dev/mmcblk0  00:00:00    ( ERROR )
libparted messages    ( INFO )
     	
The flag 'lvm' is not available for loop disk labels.

========================================

Last edited by batabuntu; 04-15-2015 at 01:06 AM.
 
Old 04-15-2015, 02:25 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,798

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
that can mean damaged sd card, but of course I'm not really sure about that. You may try to use dd to clean up partition table (or more) and start over.
http://www.linuxquestions.org/questi...-table-355182/
 
2 members found this post helpful.
Old 04-15-2015, 02:47 AM   #3
fu9ar
Member
 
Registered: Oct 2014
Location: Cyberinternetspace
Distribution: Slackware, mostly
Posts: 49

Rep: Reputation: 2
To add some support for pan64's solution, I had some similar issues with a USB drive and my only successful solution was to buy a new USB drive.

Last edited by fu9ar; 04-15-2015 at 02:48 AM.
 
Old 04-15-2015, 10:04 AM   #4
batabuntu
LQ Newbie
 
Registered: May 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
that can mean damaged sd card, but of course I'm not really sure about that. You may try to use dd to clean up partition table (or more) and start over.
http://www.linuxquestions.org/questi...-table-355182/

If it was corrupted, I shouldn't be able to write and safe anything on it. Which I an do when working on the computer.

But not on the mobile phone or camera
 
Old 04-15-2015, 10:12 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,798

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
Quote:
Originally Posted by batabuntu View Post
If it was corrupted, I shouldn't be able to write and safe anything on it. Which I an do when working on the computer.

But not on the mobile phone or camera
I'm afraid that is simply not true. It depends on the type of the error. Probably you can read the device, but cannot write it. Probably there is an unreadable/inaccessible part which cause no problem as long as you have not tried to access it.
 
Old 04-15-2015, 10:14 AM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by pan64 View Post
I'm afraid that is simply not true. It depends on the type of the error. Probably you can read the device, but cannot write it. Probably there is an unreadable/inaccessible part which cause no problem as long as you have not tried to access it.
that happened to me with a usb with an over-sensitive s.m.a.r.t. controller. i now use it as a drive to pull a few movies from.
 
Old 04-15-2015, 01:36 PM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,478

Rep: Reputation: Disabled
Usually you use the cameras built in formatting command to set up cards for use in them.
If it still doesn't want to work use dd to clear the partition table, & then reinitialise the card by putting a new mbr on it.
 
Old 04-15-2015, 11:41 PM   #8
batabuntu
LQ Newbie
 
Registered: May 2010
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
Usually you use the cameras built in formatting command to set up cards for use in them.
If it still doesn't want to work use dd to clear the partition table, & then reinitialise the card by putting a new mbr on it.
Hey I did that many times and it says operation carried out successfully. But later the SD card reverts back itself to 'factory setting'. Their is always two Nokia folders in it.

I tried formatting it via the camera's operation, but it freezes.

Going to give up.
 
  


Reply



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
can't get 8-1 card reader to work {ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card } DBabo Linux - Software 28 12-06-2013 08:06 PM
micro sd card chintan936 Linux - Newbie 2 07-05-2012 01:41 AM
micro sd card cod_liver_0il Slackware 20 06-08-2012 12:24 PM
micro sd card built-in security? plebetan Linux - Hardware 2 06-09-2009 04:42 PM
Micro SD Card, cant read at all Kenny5445 Linux - Hardware 6 11-04-2007 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 AM.

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