Thursday, June 19, 2008

How To Get Rid Of Phlegm In 9 Month Infant

hard drive pdisk partition

Festplattendienstprogramm-Symbol

Mac OS 10.4 .2: You will lose the contents all partitions of a disk when the disk utility (English Disk Utility) does something to the Partionionierung a plate. A corresponding warning is issued by the eder Disk Utility . This limits the usefulness of the partitions on the Mac, unfortunately, quite enormous.

If the command line (ie the program terminal) is not afraid, can help with the command pdisk from the installation DVD. This will boot the installation DVD you either appears directly in the single-user mode (Apple + S) on boot, or wait for the OS X installer. If the installer can see it from the start menu the Disk Utility and the terminal.

Choosing the path without single-user mode you must make the following additional steps:

  1. The launch Disk Utility .
  2. existing partitions on the disk to be formatted to disable (English unmount).
  3. close disk utility => Installer reappears start
  4. Terminal from the menu of the installer.

Now you can pdisk enter into the command line to run it. ... To be continued.

Drive Setup and delete the "Disk Utility" or "Disk Utility" to change the partitioning of the entire plate. So you have to save all the data, you want to keep.

The Terminal Kommado pdisk allowed, however less destructive "surgical" interventions. This one starts the Mac best of a possible new Mac OS X installation CD in single user mode (hold Apple-S at boot and hold). To practice but also sufficient to enter "sudo pdisk" in the terminal - only one can then change anything permanently. After entering pdisk you can then enter ? then display a list of available pdisk commands:

Commands are:
h
L
e
q
print help
list all devices' maps
edit device's map
quit The program
... (Abridged)

best to let up now with L a list of all partition tables (maps) to spend in order to find the right record:

/ dev/rdisk0 map block size = 512











#: type name length base (size)
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43* Macintosh 56 @ 64
3: Apple_Driver43* Macintosh 56 @ 120
4: Apple_Driver_ATA* Macintosh 56 @ 176
5: Apple_Driver_ATA* Macintosh 56 @ 232
6: Apple_FWDriver Macintosh 512 @ 288
7: Apple_Driver_IOKit Macintosh 512 @ 800
8: Apple_Patches Patch Partition 512 @ 1312
9: Apple_HFS Swap1 1572864 @ 1824 (768.0M)
10: Apple_HFS Macintosh HD 16777216 @ 1574688 ( 8.0G)
...
pdisk: can not open file '/ dev/rdisk1' (No such file or directory)
pdisk: can not open file '/ dev/rdisk2' (No such file or directory)
pdisk: can not open file '/ dev/rdisk3' (No such file or directory)
... (abridged)

Based on the column name you can see very well what is the plate to be processed. Free space is displayed as Apple_Free . In this example, only one (the internal disk) is displayed. It has the device name / dev/rdisk0 .

the partition table to edit this record is one e / dev/rdisk0 one. If we now again ? typing to get a list of allowable commands in edit mode:

Commands are: h print help

p print the partition table
i initialize partition map
C (create with type so specified)
d delete a partition
w write the partition table q quit editing
(do not save changes)
...
(abridged)

One could, for example, delete the partition 10 (Macintosh HD) by entering d 10 and by two half substitute such large partitions. When creating a new partition with large C queries the required data:

First block: 10p
Length in blocks: 4G
Name of partition: HD One
Type: Apple_HFS
10p is the beginning of the former partition "Macintosh HD" (now Apple_Free).
4G is 4 GB (Gigabyte). If you want to just go to the end of the free area (Apple_Free) you will list the partition table with the best p and returns the length in the column Apple_Free at length specified in blocks (eg 8388608).
HD-one is just any name (label) for the partition (must match the Volumnenamen not be awarded when initializing / formatting).
Apple_HFS stands for the type of partition and makes it easier to initialize

Then we use to check p if everything is right and write the new partition table w . Only after the write with w the data will be deleted on the Partition lost. Until then you can push through from q always come back. On leave from pdisk are added 2 times q .

Dannach you can then format the disk with the appropriate menu option in the installer, an installation CD (delete volume). Did they have another bootable partition / drive you can of course also the Disk Utility (Disk Utility) or Drive Setup use directly.

0 comments:

Post a Comment