Raspberry Pi brach SD-Karte? Kann nicht formatieren

so, ich habe eine 8GB SDHC von CnMemory. Ich benutzte es für mein Raspberry Pi. Es funktionierte so weit. Aber dann ist meine Himbeere eingefroren (kann keine Verbindung über ssh, apache nicht reagieren). Also holte ich die Kraft aus. Ich rebootet der raspberry. Dieses mal mit meinem monitor. FS schien beschädigt. Ich habe mit fsck überprüft und behoben die Probleme. Starten Sie mit shutdown -r. Nun, es würde nicht starten überhaupt. Ok, also ich dachte, dass ich oben zu setzen ein leeres neues Bild.

Kann ich nicht. GParted sagt mir, dass die Karte nur 1GB anstatt 8GB.

# fsck /dev/mmcblk0 
fsck from util-linux 2.20.1
e2fsck 1.42.8 (20-Jun-2013)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

fdisk und fdisk /dev/mmcblk0 Ergebnis in der folgenden

# fdisk
[...]
Disk /dev/mmcblk0: 1073 MB, 1073741824 bytes
4 heads, 16 sectors/track, 32768 cylinders, total 2097152 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: 0x00000000

Disk /dev/mmcblk0 doesn't contain a valid partition table

# fdisk /dev/mmcblk0 
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xccf88a5e.
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)

Command (m for help): w
The partition table has been altered!

Und dort gefriert. Es sagt, dass es verändert worden ist, aber es funktioniert nicht, es stecken da richtig.

Einem Windowssystem kann nicht formatieren Sie die SD-Karte entweder immer ein I/O-Fehler.

Es ist die zweiten SD-Karte mit diesem problem!!!

Ich hoffe Sie haben eine Idee, wie dieses Problem zu lösen.
Danke!


Edit:

dd einfriert, wenn ich versuche, wischen Sie die partitiontable.

# dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=1

Edit2:

dmesg zeigt invalid allocation unit size

Wenn ich versuche zu schreiben mit mkfs gibt es einige Fehler.

# mkfs /dev/mmcblk0 --type=ext4
mke2fs 1.42.8 (20-Jun-2013)
Warning: could not erase sector 2: Attempt to write block to filesystem resulted in short write
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376

Allocating group tables: done                            
Warning: could not read block 0: Attempt to read block from filesystem resulted in  short read
Warning: could not erase sector 0: Attempt to write block to filesystem resulted in short write
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: 0/8
Warning, had trouble writing out superblocks.

# dmesg
mmc0: SD Status: Invalid Allocation Unit Size
[...]

Habe ich komplett brechen nach nur ein paar Stunden?

Versuchen fdisk /dev/mmcblk (ohne 0) Was sagt es aus?
No such file mmcblk0 ist die ganze Sache scheinbar.
Ur sd-Karte ist 8 GB und ur-Dateisystem ist 1gb und u wollen, erweitern Sie Dateisystem auf 8 GB bin ich richtig?ich.e expand rootfs auf sd-Karte füllen
Ich bin mir nicht sicher. Die ganze SD-Karte in gparted ist als 1 GB. Es gibt keine weitere Partitionen. Weiterhin ist die partitiontable ist, fehlt oder ist defekt.
Ich hatte ein ähnliches Problem. War versuchen zu formatieren Sie eine SD-Karte mit Raspbian, es sind nur zeigte Teilbetrag. Der einzige Weg, ich war in der Lage, es wieder zu bekommen wurde mit OS X das Festplatten-Dienstprogramm löschen Sie die partition-Tabelle, löschen Sie die Lautstärke, und dann re-Formatierung auf DOS-FAT.

InformationsquelleAutor Sbls | 2013-12-27

Schreibe einen Kommentar