ubuntuusers.de

Externe Festplatte formatieren

Status: Gelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |

crepo

Anmeldungsdatum:
18. September 2007

Beiträge: 34

Habe eine externe Festplatte, die ich über windoof und partition magic versucht habe zu formatieren. Dies ging schief und ich kann sie jetzt nicht mehr formatieren. auch über gparted bricht er immer wieder ab. Gibt es eine Möglichkeit sie mit einem Befehl zu formatieren und komplett zu löschen um sie dann mit gparted wieder zu partitionieren?

Pumbaa80 Team-Icon

Avatar von Pumbaa80

Anmeldungsdatum:
5. März 2007

Beiträge: 2130

Wohnort: Residenz des Rechts

Wenn es mit gparted nicht läuft, vermute ich einen Hardwarefehler. Naja, probieren kannst du es mit fdisk in einem Terminal.

sudo fdisk /dev/sdX

(sdX muss durch die korrekte Laufwerksbezeichnung ersetzt werden)

Mit P siehst du eine Liste der vorhandenen Partitionen, und mit D kannst du sie löschen.

Am Ende musst du W eingeben, damit die Änderungen durchgeführt werden.

primus_pilus Team-Icon

Ehemalige
Avatar von primus_pilus

Anmeldungsdatum:
8. Oktober 2007

Beiträge: 9144

Wohnort: NRW

Hallo,

Möglichkeit sie mit einem Befehl zu formatieren und komplett zu löschen um sie dann mit gparted wieder zu partitionieren?

mit

dd if=/dev/zero of=/dev/Gerät bs=65535


kanst du alles mit Nullen überschreiben.

Ich würde aber, wie Pumbaa80, auch dazu raten erst mal fdisk zum löschen zu benutzen.

Was sagt dir denn:

sudo fdisk -l


?

Grüße
Thomas

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

wo soll ich denn w eingeben?

primus_pilus Team-Icon

Ehemalige
Avatar von primus_pilus

Anmeldungsdatum:
8. Oktober 2007

Beiträge: 9144

Wohnort: NRW

in der Konsole nachdem du fdisk gestartet hast.
Verschaffe dir aber erstmal mit "sudo fdisk -l" eine Übersicht.

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

das erscheint im terminal

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

chef@chef-desktop:~$ fdisk /dev/sdb

The number of cylinders for this disk is set to 38154.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

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

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 13: Permission denied.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

chef@chef-desktop:~$ fdisk -l

Disk /dev/sdb: 40.0 GB, 40007761920 bytes
64 heads, 32 sectors/track, 38154 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
chef@chef-desktop:~$

primus_pilus Team-Icon

Ehemalige
Avatar von primus_pilus

Anmeldungsdatum:
8. Oktober 2007

Beiträge: 9144

Wohnort: NRW

"sudo fdisk -l" bitte.

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

chef@chef-desktop:~$ sudo fdisk -l

Disk /dev/hdb: 4310 MB, 4310046720 bytes
255 heads, 63 sectors/track, 524 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 494 3968023+ 83 Linux
/dev/hdb2 495 524 240975 5 Extended
/dev/hdb5 495 524 240943+ 82 Linux swap / Solaris

Disk /dev/sdb: 40.0 GB, 40007761920 bytes
64 heads, 32 sectors/track, 38154 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System

primus_pilus Team-Icon

Ehemalige
Avatar von primus_pilus

Anmeldungsdatum:
8. Oktober 2007

Beiträge: 9144

Wohnort: NRW

Also laut fdisk ist keine Partition vorhanden.
Was gibt Gparted denn als Fehlermeldung aus?

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

Ich habe über gparted noch mal eine neue partitionierung angeschmissen und die läuft jetzt. vielleicht klappt es jetzt ja, warum auch immer!

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

gparted hat die platte formatiert, aber keine neue partition festgelegt. kann sie nicht erstellen, dies ist jetzt im terminal

chef@chef-desktop:~$ sudo fdisk -l
Password:

Disk /dev/hdb: 4310 MB, 4310046720 bytes
255 heads, 63 sectors/track, 524 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 494 3968023+ 83 Linux
/dev/hdb2 495 524 240975 5 Extended
/dev/hdb5 495 524 240943+ 82 Linux swap / Solaris

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 4864 39070048+ 83 Linux
chef@chef-desktop:~$ fdisk /dev/sda

The number of cylinders for this disk is set to 4864.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 4864 39070048+ 83 Linux

Command (m for help): d
Selected partition 1

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

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 13: Permission denied.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
chef@chef-desktop:~$ fdisk /dev/sda

The number of cylinders for this disk is set to 38154.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 40.0 GB, 40007761920 bytes
64 heads, 32 sectors/track, 38154 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System

Command (m for help): d
No partition is defined yet!

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

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 13: Permission denied.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
chef@chef-desktop:~$

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

dies ist jetzt die fehlermeldung bei gparted

The following operation could not be applied to disk:

Create Primäre Partition #1 (ext3, 37.26 GiB) on /dev/sda

See the details for more information

crepo

(Themenstarter)

Anmeldungsdatum:
18. September 2007

Beiträge: 34

Habe sie jetzt nochmal mit gparted formatiert wird aber auf meinem Labtop nicht erkannt. im Terminal erscheint folgendes:

chef@chef-desktop:~$ sudo fdisk -l
Password:

Disk /dev/hdb: 4310 MB, 4310046720 bytes
255 heads, 63 sectors/track, 524 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 494 3968023+ 83 Linux
/dev/hdb2 495 524 240975 5 Extended
/dev/hdb5 495 524 240943+ 82 Linux swap / Solaris

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 4864 39070048+ 83 Linux

Antworten |