I need to reformat a 32 GB SDHC card that was originally formatted on a Samsung Mobile.
Whenever I try to use GParted it stalls if the card is unmounted when it starts. If it is mounted before GParted starts it shows up, but the program stalls when unmounting the drive which shows up as the following having used sudo fdisk -l in a CLI
Disk /dev/mmcblk0: 33.6 GB, 33554432000 bytes
256 heads, 63 sectors/track, 4063 cylinders, total 65536000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbe5c828b
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 2048 65535999 32766976 c W95 FAT32 (LBA)
I'm running LM17 Mate and the GParted version is 0.18.0-1
Thanks in advance.
SDHC cards and GParted
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
SDHC cards and GParted
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: SDHC cards and GParted
I would try wiping the whole card first using random data (not zeros), then try it in GParted:
Code: Select all
sudo dd if=/dev/urandom of=/dev/mmcblk0
Re: SDHC cards and GParted
Does the card reader on your computer support SDHC (high capacity >4GB generally) cards?
Re: SDHC cards and GParted
Yes. I can read the data on the drive.MartyMint wrote:Does the card reader on your computer support SDHC (high capacity >4GB generally) cards?
Re: SDHC cards and GParted
could you post this
also I saw LBA as flag witch should not be needed.
Code: Select all
sudo parted /dev/mmcblk0 unit s print
Re: SDHC cards and GParted
I get the following. And I have checked that the Lock switch is unlocked.PatH57 wrote:could you post thisalso I saw LBA as flag witch should not be needed.Code: Select all
sudo parted /dev/mmcblk0 unit s print
Warning: Unable to open /dev/mmcblk0 read-write (Read-only file system). /dev/mmcblk0 has been opened read-only.
Warning: Unable to open /dev/mmcblk0 read-write (Read-only file system). /dev/mmcblk0 has been opened read-only.
Model: SD APPSD (sd/mmc)
Disk /dev/mmcblk0: 65536000s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 2048s 65535999s 65533952s primary fat32 boot, lba
I have suddenly had a thought. Does an Android mobile lock down the SD card if you remove having used the "safe removal" method in settings?
Re: SDHC cards and GParted
So it seems to be a boot USB drive
--does the boot work ??
--edited section if read already (removed windows Blah Blah info)--
http://www.groovypost.com/howto/unmount ... d-sd-card/
--looks just like Linux, will unmounts the card.
Not sure what locked down means
--I doubt it changes the RW method for the card, I don't think it would turn RW into RO
http://www.nico.schottelius.org/blog/fo ... 0-printer/
You can try troubleshooting the GPARTED (parted) issues..
http://gparted-forum.surf4.info/viewtopic.php?id=13963
--it might be PARTED which may not like the CHS settings for an SDHC but would be ok with a real hard drive
--does the boot work ??
--edited section if read already (removed windows Blah Blah info)--
http://www.groovypost.com/howto/unmount ... d-sd-card/
--looks just like Linux, will unmounts the card.
Not sure what locked down means
--I doubt it changes the RW method for the card, I don't think it would turn RW into RO
- When safely removing SDHC card
--should only be stopping electrical flow, and flushing files write all to card (from cache presumably..)
- fdisk, possibly a better choice (as long as you format the correct device name..)
http://www.nico.schottelius.org/blog/fo ... 0-printer/
You can try troubleshooting the GPARTED (parted) issues..
http://gparted-forum.surf4.info/viewtopic.php?id=13963
--it might be PARTED which may not like the CHS settings for an SDHC but would be ok with a real hard drive
Re: SDHC cards and GParted
how do you actually read the card on the laptop, is there an adapter? built in? double check the lock
what's the brand and model of the card?
boot with the card inserted.
what's the brand and model of the card?
boot with the card inserted.
Code: Select all
sudo umount /dev/mmcblk0
Code: Select all
dosfsck -a -w -v /dev/mmcblk0
Code: Select all
sudo mount -a