Partitionen erstellen

W

wynni

Mitglied
Thread Starter
Dabei seit
10.02.2006
Beiträge
20
Reaktionspunkte
0
Hallo,
ich habe mit diskutil resizeVolume meine Partition verkleinert.
Meine Festplatte ist 250GB groß. Nun mit diskutil -l sehe ich meine verkleinerte Partition mit 100GB.
Code:
   #:                   type name               size      identifier
   0:  GUID_partition_scheme                    *232.9 GB disk0
   1:                    EFI                    200.0 MB  disk0s1
   2:              Apple_HFS Macintosh HD       100.0 GB  disk0s2
Wie kann ich jetzt die 2te Partition (132GB) mounten bzw. formatieren?
Komme hier nicht weiter ....
Danke für eure Hilfe


wynni
 
Wieso hast Du das nicht mit dem Festplattendienstprogramm gemacht?
 
Wieso....?
Ich hätte gerne eine Antwort auf meine Frage....

Danke
 
Indem du sie partitionierst.
 
wynni schrieb:
...
mit diskutil -l sehe ich meine verkleinerte Partition mit 100GB.
...
Das würde mich wundern, aber egal ;).
 
:ylf

wie mache ich das ?? Sollte alles im Terminal gehen... hab nur ssh Zugang!!!
Danke für eure Hilfe
 
Zuletzt bearbeitet:
mastercam schrieb:
Wieso hast Du das nicht mit dem Festplattendienstprogramm gemacht?

Typisch für Foren: jemand kommt mit einer Problembeschreibung und auf Kommentare der Art "Warum hast Du statt <foo> nicht <bar> verwendet" muß man nicht lange warten.

Zum Thema: newfs_hfs sollte Dir helfen.
 
Tach,
ich häng mich hier mal ran,
den freien Platz meiner Platte wollt ich gern partitionieren. Bekomme aber folgende Fehlermeldung:
Code:
bash-3.2$ sudo pdisk /dev/disk0 -createPartition "Part1" "HFS" 608440320 7.5G | sudo pdisk -l /dev/disk0 
pdisk: Unable to write block zero  (Bad file descriptor)
pdisk: Unable to write block 1  (Bad file descriptor)
pdisk: Unable to write block 2  (Bad file descriptor)
pdisk: Unable to write block 3  (Bad file descriptor)
pdisk: Unable to write block 4  (Bad file descriptor)
pdisk: Unable to write block 5  (Bad file descriptor)
pdisk: Unable to write block 6  (Bad file descriptor)
pdisk: Unable to write block 7  (Bad file descriptor)

Partition map (with 512 byte blocks) on '/dev/disk0'
 #:                type name        length   base      ( size )
 1: Apple_partition_map Apple           63 @ 1        
 2:          Apple_Free             262144 @ 64        (128.0M)
 3:           Apple_HFS Untitled 608174080 @ 262208    (290.0G)
 4:          Apple_Free               1984 @ 608436288
 5:     Apple_Bootstrap untitled      2048 @ 608438272 (  1.0M)
 6:          Apple_Free           16702128 @ 608440320 (  8.0G)

Device block size=512, Number of Blocks=625142448 (298.1G)
DeviceType=0x0, DeviceId=0x0
Hab ich nen Parameter falsch angegeben??? oder was könnte das Problem sein, das Festplattendienstprogramm streikt bei dem Vorhaben leider auch. Oder muss ich das von der OSX-Install.-DVD aus machen (was echt besch***en wäre weil mein geliebtes und betagtes Powerbook kein funktionierendes DVD-Laufwerk mehr hat)?
 
scheinbar nicht
Code:
bash-3.2$ sudo pdisk -createPartition "Part1" "HFS" 608440320 7.5G /dev/disk0                 
Password:
pdisk: invalid option -- e
pdisk: invalid option -- t
pdisk: invalid option -- e
pdisk: invalid option -- P
pdisk: invalid option -- t
pdisk: invalid option -- t
pdisk: invalid option -- o
pdisk: invalid option -- n
pdisk: bad usage - bad arguments

usage:  pdisk [-h|--help]
        pdisk [-i|--interactive]
        pdisk [-l|--list] [name] [...]
        pdisk [-r|--readonly] name [...]
        pdisk [-v|--version]
        pdisk name [...]
        pdisk name command

command:
        -blockSize           display the block size used by the map
        -createPartition     create a new partition
        -deletePartition     delete a partition
        -dump                dump the list of partitions
        -initialize          initialize the partition map
        -isDiskPartitioned   is the disk partitioned
        -partitionEntry      get the partition name, type, base, and size
        -splitPartition      split an existing partition in two pieces
 
scheint ja eine uralt version zu sein, die version hier bei 10.7 hat ganz andere parameter...

probier es doch mal im interactive mode...
 
ähhmm ja, s ist noch 10.5.8, ppc halt..

Code:
bash-3.2$ sudo pdisk /dev/disk0 -i                                                                       
Top level command (? for help): h
Commands are:
  h    print help
  v    print the version number and release date
  l    list device's map
  L    list all devices' maps
  e    edit device's map
  E    (edit map with specified block size)
  r    toggle readonly flag
  f    toggle show filesystem name flag
  q    quit the program

Top level command (? for help): l   
Name of device: /dev/disk0

Partition map (with 512 byte blocks) on '/dev/disk0'
 #:                type name        length   base      ( size )
 1: Apple_partition_map Apple           63 @ 1        
 2:          Apple_Free             262144 @ 64        (128.0M)
 3:           Apple_HFS Untitled 608174080 @ 262208    (290.0G)
 4:          Apple_Free               1984 @ 608436288
 5:     Apple_Bootstrap untitled      2048 @ 608438272 (  1.0M)
 6:          Apple_Free           16702128 @ 608440320 (  8.0G)

Device block size=512, Number of Blocks=625142448 (298.1G)
DeviceType=0x0, DeviceId=0x0

Top level command (? for help): e   
Name of device: /dev/disk0
Edit /dev/disk0 -
Command (? for help): h
Commands are:
  C    (create with type also specified)
  c    create new partition (standard type)
  d    delete a partition
  h    help
  i    initialize partition map
  n    (re)name a partition
  P    (print ordered by base address)
  p    print the partition table
  q    quit editing
  r    reorder partition entry in map
  s    change size of partition map
  t    change a partition's type
  w    write the partition table
Command (? for help): 
Command (? for help): C
The map is not writable.
First block: 608440320
Length in blocks: 16702128
Name of partition: Part1
Type of partition: HFS
Command (? for help): p

Partition map (with 512 byte blocks) on '/dev/disk0'
 #:                type name        length   base      ( size )
 1: Apple_partition_map Apple           63 @ 1        
 2:          Apple_Free             262144 @ 64        (128.0M)
 3:           Apple_HFS Untitled 608174080 @ 262208    (290.0G)
 4:          Apple_Free               1984 @ 608436288
 5:     Apple_Bootstrap untitled      2048 @ 608438272 (  1.0M)
 6:                 HFS Part1     16702128 @ 608440320 (  8.0G)

Device block size=512, Number of Blocks=625142448 (298.1G)
DeviceType=0x0, DeviceId=0x0

Command (? for help): w
The map is not writable.
hat also auch nicht geklappt
 
ist das die boot platte? vielleicht weigert der sich deswegen drauf zu schreiben...
 
  • Gefällt mir
Reaktionen: Herr Patschulke
ja ist sie, weil ich vor längerer Zeit die alte Linux Partition ohne Probleme löschen konnte, dacht ich die Platte wäre außerhalb der Partition disk0s3 veränderbar, sprich partitionierbar

das Festpl.dienstpr. hat jetzt mal ne Fehlermeldung ausgespuckt:
Code:
Beim Partitionieren ist folgender Fehler aufgetreten:

MediaKit meldet: Partition (Tabelle) zu klein
voher war es immer nur hängen geblieben
 
Zuletzt bearbeitet:
Zurück
Oben Unten