I tried to format it on a macintosh, but it did not show up there anyway (and i'm not really familiar with macos

Is there some tool, i could use to override the mbr and the corrupted boot sector, so that it will turn back formattable?
TIA!
Code: Select all
sudo fdisk -l
Code: Select all
sudo dmesg
Code: Select all
sudo fdisk -l
Code: Select all
sudo fdisk -l /dev/sdc
Code: Select all
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Platte /dev/sdc: 773 MByte, 773652480 Byte
15 Köpfe, 48 Sektoren/Spur, 2098 Zylinder, zusammen 1511040 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdc1 * 63 1511039 755488+ 83 Linux
Code: Select all
sudo parted
Code: Select all
Warnung: /dev/sdc enthält GPT-Signaturen, die anzeigen, dass es eine GPT-Tabelle
hat. Es ist jedoch keine gültige vorgetäuschte MSDOS-Partitionstabelle
vorhanden, die erforderlich wäre. Vielleicht wurde diese zerstört -- eventuell
durch ein Programm, das GPT-Partitionstabellen nicht versteht. Oder vielleicht
haben Sie die GPT-Tabelle gelöscht, und verwenden jetzt eine
MS-DOS-Partitions-Tabelle. Ist dies eine GPT-Partitionstabelle?
Ja/Yes/Nein/No? y
Modell: (file)
Festplatte /dev/sdc: 774MB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk Flags: pmbr_boot
Nummer Anfang Ende Größe Dateisystem Name Flags
1 2163kB 2969kB 806kB recover boot
Code: Select all
Modell: (file)
Festplatte /dev/sdc: 774MB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: unknown
Disk Flags:
shows this:sudo dmesg | grep usb
Code: Select all
[22597.728391] usb 3-1: new high-speed USB device number 8 using ehci-pci
[22597.843649] usb 3-1: New USB device found, idVendor=048d, idProduct=1168
[22597.843658] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[22597.845013] usb-storage 3-1:1.0: USB Mass Storage device detected
[22597.845143] scsi12 : usb-storage 3-1:1.0
Code: Select all
sudo parted /dev/sdc
mklabel msdos
quit
Code: Select all
sudo fdisk -l
Code: Select all
export LANG=en_US.utf8
Code: Select all
sudo dd if=/dev/zero of=/dev/sdc
That changed something but still i do not see the stick in gparted. I also tried u3-tools but seems they're too old ... (?)gapan wrote:You can run the export command in the terminal, before you run anything else.
Anyway, you can overwrite the entire stick using dd:That will certainly do it. You will probably have to remove it and replug it to see the changes. You will have to repartition and format it then.Code: Select all
sudo dd if=/dev/zero of=/dev/sdc
Code: Select all
sudo fdisk -l
Code: Select all
sudo cfdisk /dev/sdc
Code: Select all
sudo fdisk /dev/sdc
gapan wrote:Post the output ofnow.Code: Select all
sudo fdisk -l
Code: Select all
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 Köpfe, 63 Sektoren/Spur, 60801 Zylinder, zusammen 976773168 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00073e7b
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 63 58589054 29294496 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/sda2 58589055 960927974 451169460 83 Linux
Partition 2 does not start on physical sector boundary.
/dev/sda3 960927975 976773167 7922596+ 82 Linux Swap
Partition 3 does not start on physical sector boundary.
Wenn i do this, eg. i create a primary table, bootable, ecc ecc. *IN* cfdisk the result looks like this:gapan wrote:And I'm quite sure that runningCode: Select all
sudo cfdisk /dev/sdc
Code: Select all
cfdisk (util-linux 2.21.2)
Festplatte: /dev/sdc
Größe: 3860926464 Bytes, 3860 MB
Köpfe: 102 Sektoren pro Spur: 24 Zylinder: 3080
Name Flags Part. Typ Dateisystemtyp [Bezeichner] Größe (MB)
------------------------------------------------------------------------------
Pri/Log Freier Bereich 0,04*
sdc1 Boot Primäre W95 FAT32 3860,90*
[ Hilfe ] [ Neue ] [ Ausgabe ] [ Ende ] [ Einheit. ]
[ Schreib. ]
It seems to work too, but to the same extend as cfdisk.gapan wrote:orwill allow you to partition it from scratch now.Code: Select all
sudo fdisk /dev/sdc
Code: Select all
Error ejecting /dev/sdc: Command-line `eject "/dev/sdc"' exited with non-zero exit status 1: eject: tried to use `/dev/sdc' as device name but it is no block device
eject: tried to use `.//dev/sdc' as device name but it is no block device
eject: unable to find or open device for: `/dev/sdc'
I don't think so either.jsfarinet wrote: Eventually, although i do not think so, is there something i could/should do in "etc/fstab" ?