短い といってもかなりの量ですが
# mac-fdisk /dev/sda /dev/sda Command (? for help): p No partition map exists Command (? for help): i size of 'device' is 15622144 blocks: Command (? for help): C First block: 2p Length (in blocks, kB (k), MB (M) or GB (G)): 200M Name of partition: bootstrap Type of partition: Apple_Bootstrap Command (? for help): c First block: 3p Length (in blocks, kB (k), MB (M) or GB (G)): 700M Name of partition: swap Command (? for help): c First block: 4p Length (in blocks, kB (k), MB (M) or GB (G)): 3G Name of partition: / Command (? for help): p /dev/sda # type name length base ( size ) system /dev/sda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/sda2 Apple_Bootstrap bootstrap 409600 @ 64 (200.0M) NewWorld bootblock /dev/sda3 Apple_UNIX_SVR2 swap 1433600 @ 409664 (700.0M) Linux swap /dev/sda4 Apple_UNIX_SVR2 / 6291456 @ 1843264 ( 3.0G) Linux native /dev/sda5 Apple_Free Extra 7487424 @ 8134720 ( 3.6G) Free space Block size=512, Number of Blocks=15622144 DeviceType=0x0, DeviceId=0x0 Command (? for help): w IMPORTANT: You are about to write a changed partition map to disk. For any partition you changed the start or size of, writing out the map causes all data on that partition to be LOST FOREVER. Make sure you have a backup of any data on such partitions you want to keep before answering 'yes' to the question below! Write partition map? [n/y]: y The partition map has been saved successfully! Syncing disks. Partition map written to disk. If any partitions on this disk were still in use by the system (see messages above), you will need to reboot in order to utilize the new partition map. Command (? for help): q
にゃんたろう 拝!
2011年12月 3日 (土) 21:04:41 JST 作成