Page 1 of 1

formatieren von festplatte

Posted: 2007-11-06 14:24
by idontknow
(Debian)
Ich möchte gerne die 2. Festplatte (dev/sdb) partitionieren und dann formatieren und einbinden.
Hab folgendes gemacht:

Code: Select all

fdisk /dev/sdb
n (logische partition, maximale Größe, 80GB)
w
anschließend kommt eine erfolgsmeldung, es wird etwas auf die Platte geschrieben. Ich lies mir /dev anzeigen, fand aber keine /dev/sdb1 und konnte somit sie auch nicht mit ext3 formatieren und einbinden. Wo mach ich den Fehler?

Komm nicht weiter.... :?:

Re: formatieren von festplatte

Posted: 2007-11-06 14:55
by thelaw
Wenn ich dir richtig folgen kann, hast du eine erweiterte Partition angelegt.
Du musst (oder besser willst wohl) aber eine primäre Partition anlegen.

ansonten poste mal die Ausgabe von fdisk -l

Re: formatieren von festplatte

Posted: 2007-11-06 15:24
by idontknow

Code: Select all

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13       97656   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              13         134      976562+  82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3             134        9279    73456054+  83  Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9729    78148161    5  Extended
/dev/sdb5               1        9729    78148160+  83  Linux
/dev/sdb1 und 5 gibt es jedoch nicht!

Re: formatieren von festplatte

Posted: 2007-11-06 16:02
by oxygen
du musst nach Änderungen an der Partionierung die partiontable neu einlesen lassen, das geht z.B. per sfdisk -R

Re: formatieren von festplatte

Posted: 2007-11-06 17:00
by idontknow
hab jetzt die partition table geändert:

Code: Select all


Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13       97656   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              13         134      976562+  82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3             134        9279    73456054+  83  Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9729    78148161   83  Linux
und neu eingelesen mit fsdik -R /dev/sdb
nur ich hab immer noch keine /dev/sdb1

Code: Select all

 mke2fs -j /dev/sdb1
mke2fs 1.37 (21-Mar-2005)
Could not stat /dev/sdb1 --- Datei oder Verzeichnis nicht gefunden

Das Gerät scheint nicht zu existieren, haben Sie es richtig angegeben?
was mach ich falsch?

Re: formatieren von festplatte

Posted: 2007-11-06 17:10
by sledge0303
mach mal einen reboot und versuche es erneut

Re: formatieren von festplatte

Posted: 2007-11-06 17:14
by idontknow
hab ich auch schon versucht :-(