Format a SD card . Not with gparted.
location: ubuntuforums.com - date: September 1, 2012
I have a 32gig SD card that I keep in my card slot in my laptop. Today I was using Unetbooten to make a USB boot drive for an install, and I inadvertently screwed up the SD card. Well I went to format it with gparted, and before I did that I was going to try to recover some files from it. After letting it run for hours, I decided to just format it and forget about the files. So I stopped the recovery process, but now every time I put the card in the slot and run gparted it just goes back to searching partitions. Again I just let it run for hours and nothing seems to be happening.
Now for the question. Is there any way I can just format this card not using gparted?
[SOLVED] Corrupt sd card
location: ubuntuforums.com - date: October 10, 2008
I hope you can help.
I appear to have a corrupt 4GB sd card that will only auto mount as read only (some of the file names are very strange and the physical lock on the card is in the off position).
Even using sudo, I'm unable to change any of the file attributes on the card. In the past I've just reformatted the card using gparted but even this has failed (error messages but I don't know where gparted logs these).
How do I recover the card? Is there a way of forcing the card to mount so I can reformat it?
Corrupted files on SD card ext3 will solve?
location: linuxquestions.com - date: January 6, 2012
I'm working on a data logger project. My system is running over an ARM9 (mini2440), with a custom kernel (version 220.127.116.11) and the file system is yaffs.
The main program was written in c++ and uses a database (sqlite 3.7.8) to store all collected data.
I need to save everything on the database wich is placed on a sd card. The sdcard was formatted with FAT.
Sometimes the files inside it gets corrupted. So I need to run the "chkdsk" windows command to try to recover those files (sometimes I can't, and this is really boring).
Sometimes the equipment is suddenly powered down (I can't avoid it), and I think that's a possible (or the main) reason of the problem.
I decided to change from FAT to EXT3, because EXT3 have the journaling system (I read that journal keeps the information about file operations). I think that journal could help me, but I'm not sure. I'm very noob on linux.
So, I have 2 questions.
1 - Using the EXT3 filesystem, will really help to prev
Unable to mount SD card to fix partition table
location: linuxquestions.com - date: December 2, 2010
I have a 4gb SDHC card that has been partitioned with an ext2, linux swap, and fat 32 partition that I use in an Android phone. After I partitioned it this way, which I have done more than once with no problems, it quit mounting or being recognized by Android, Linux, or Windows.
Windows can tell there is something there but can't mount it, Debian and Android just say it's not there. I need to try to fix the partition table which gparted told me was corrupt the last time gparted could see it.
Problem running fsck on SD card containing raspberry pi distro
location: linuxquestions.com - date: December 13, 2013
I have Arch linux installed on a 4GB SD card for my raspberry pi. Strange things were happening lately so I took the SD out and ran fsck on my Ubuntu computer. By running fsck I was getting a lot of errors so I tried running fsck with the -a option. But I got:
Recovering ext3 partition from SD Card
location: linuxquestions.com - date: March 7, 2013
I need to recover some data off a SD Card that appears to be corrupted. It was used in an Alix embedded machine running Debian.
I have put the card in a pc reader and imaged the whole card with dd.
After running fdisk -lu router.img I get:
Partition on SD Card not readable anymore
location: ubuntuforums.com - date: January 4, 2011
today I encountered that the SD-Card holding my 'Home'-Directory would not be recognized anymore when booting. I did some research into the issue to find out what is wrong and I believe, the partition table for some reason got lost yesterday when I shut down the notebook...
Here some hopefully helpful diagnostics - please if you need more information just give me a hint how to get them and I will - I really would love to be able to recover those files again (made an image using partimage)
To me this looks, as if the files are still there but for some reason Ubuntu does not know it? Could it 'just' be the partition table? And how to restore the data access? I'd appreciate any help or advice
Ubuntus own Disk Utility gives the following informations:
Mounting the volume does not give me access to the data though, only to the a lost+found folder.
sudo e2fsck /dev/mmcblk1 -v
e2fsck 1.41.12 (17-May-2010)
Home: clean, 108345/2027648 files, 6754691/8105728 block
Can't Write to SD Card
location: ubuntuforums.com - date: January 15, 2012
In my Dell X300 laptop there's a built in Richo SD Card reader which Ubuntu recognizes it can see and mount when a car is put in and unmount (eject) it as well. If I try to copy a file there the options to do any type of file creation (new file, new folder, copy) are all greyed out. I've tried changing permissions using gksudo nautilus but I get an error message.
Sorry, could not change the permissions of "9029-62AD": Error setting permissions: Read-only file system
What am I doing wrong? I seriously doubt they would put a card reader in a laptop that couldn't write to it as well but I've seen more stupid things than that.
My other question is related and dependent on the first, I have an extra 2Gig SD card, is it possible to use this card as an swap space insted of the HD, this computer has low RAM so it seems to be swapping a lot so I'm hoping I can use the SD card as swap to speed it up a bit.
On a side note there use to be a program in Ubuntu to see
Can't Format SD Card
location: ubuntuforums.com - date: August 26, 2010
I've tried everything--from the CLI to GParted and back--but I can't seem to format my SD card. I know it's not the card because it is recognized in three other devices, which offer to format it because they don't think it's formatted.
When in GParted, I can create a new partition table and create a new partition, but after that completes, the card remains grey and the GParted tells me the disk label is unrecognizable.
When I go at it with fdisk/mkfs.vfat, I'm told:
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x24edb58b.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'
SD card fails to mount. No valid partition table.
location: ubuntuforums.com - date: June 25, 2009
I am trying to help my neighbour, who has just returned from a holiday to find her camera no longer reads her SD card. She had no backups and believes she has lost a lot of photos that mean a good deal to her.
When I insert the card into my Jaunty laptop:
It is not mounted automaticallyI cannot manually mount itA new entry appears in `sudo fdisk -l` - see belowgparted does not see the device
Here is the fdisk -l output for the SD card.
Disk /dev/mmcblk0: 998 MB, 998768640 bytes
4 heads, 16 sectors/track, 30480 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0xeed8e734
Disk /dev/mmcblk0 doesn't contain a valid partition table
As it says there's a problem with the partition table, I live in hope that the data is still intact. But I do not know how to retrieve it. Can someone help me please?
Page: 1 2 3 4 5 6 7 8 9 10