diff options
Diffstat (limited to 'distrib/notes/macppc/install')
-rw-r--r-- | distrib/notes/macppc/install | 123 |
1 files changed, 70 insertions, 53 deletions
diff --git a/distrib/notes/macppc/install b/distrib/notes/macppc/install index 2c08a30d5a9..7d1a2991d1a 100644 --- a/distrib/notes/macppc/install +++ b/distrib/notes/macppc/install @@ -1,4 +1,4 @@ -dnl $OpenBSD: install,v 1.29 2009/05/12 21:06:50 miod Exp $ +dnl $OpenBSD: install,v 1.30 2009/05/13 18:38:29 miod Exp $ OpenBSDInstallPrelude Before you begin, you should decide if OpenBSD is to be installed @@ -37,19 +37,26 @@ OpenBSDInstallPart3(,"wd0") OpenBSDInstallPart4 - Next you will have to edit or create a disk label for the disk - OpenBSD is being installed on. If there are any existing - partitions defined (for any operating system), and a disk label - is not found, you will first be given an opportunity to run - fdisk (MBR partitioned disk) or pdisk (HFS partitioned disk) - and create an OpenBSD partition. + Disks on OpenBSD/MACHINE are partitioned either using Apple-style + HFS partitions, or MBR partitions. - If pdisk is being invoked, you will be issued a command prompt - allowing you to modify the partition table. The most common - operation, and the example presented here, deals with the - conversion of an existing partition into one usable by OpenBSD. + OpenBSD/MACHINE can share a disk with Mac OS or Mac OS X by using + an HFS partitioned disk. For proper layout, the disk should be + partitioned with Mac OS or Mac OS X first with unused space or a + spare partition where OpenBSD can be installed. + + The installation program will ask you whether you intend to use + HFS or MBR partitions. + + HFS partitioning: + + HFS partition tables are edited with pdisk(8). The most + common operation, and the example presented here, deals + with the conversion of an existing partition into one usable + by OpenBSD. - Before editing, the partition table may look like the following: + Before editing, the partition table may look like the + following: #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 @@ -64,7 +71,8 @@ OpenBSDInstallPart4 10: Apple_HFS untitled 2 4120589 @ 2143854 ( 2.0G) 11: Unused untitled 3 6330517 @ 6264443 ( 3.0G) - After editing the table, it should look like: + After editing the table, it should look like: + #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 2: Apple_Driver43*Macintosh 54 @ 64 @@ -78,54 +86,63 @@ OpenBSDInstallPart4 10: Apple_HFS untitled 2 4120589 @ 2143854 ( 2.0G) 11: OpenBSD OpenBSD 6330517 @ 6264443 ( 3.0G) - This will likely be different based on the number of partitions - created on the disk by the Apple partition editor. - It is _VERY_ important to not change the start, sizes, or types of - partitions other than the ones that are to be used by OpenBSD, - including the Apple_Driver.* and Apple_partition_map. - - --- - Command (? for help): p - <output is in the before example above> - Command (? for help): t - Partition number: 11 - Existing partition type ``Unused''. - New type of partition: OpenBSD - Command (? for help): p - <output is in the after example above> - --- - - If fdisk is being invoked, it will start by - displaying the current partitions defined and then allow you - to modify this information, add new partitions, and change - which partition to boot from by default. If you make a mistake, - you will be allowed to repeat this procedure as necessary to - correct this. Note that you should make OpenBSD be the active - partition at least until the install has been completed. + This will likely be different based on the number of + partitions created on the disk by the Apple partition editor. + It is _VERY_ important to not change the start, sizes, or + types of partitions other than the ones that are to be used + by OpenBSD, including the Apple_Driver.* and + Apple_partition_map. + + --- + Command (? for help): p + <output is in the before example above> + Command (? for help): t + Partition number: 11 + Existing partition type ``Unused''. + New type of partition: OpenBSD + Command (? for help): p + <output is in the after example above> + --- + + MBR partitioning: + +dnl What follows is the same text as OpenBSDInstallMBRPart2, but +dnl indented one tab to the right. +dnl The macro can't be reused because line wraps will occur at different +dnl places. +dnl XXX This document really should be converted to mdoc... + The installation program will ask you if you want to use + the whole disk for OpenBSD. If you don't need to or don't + intend to share the disk with other operating systems, + answer `y' here. The installation program will then create + a single MBR partition spanning the whole disk, dedicated + to OpenBSD. + + Otherwise, fdisk(8) will be invoked to let you to edit + your MBR partitioning. The current MBR partitions defined + will be displayed and you will be allowed to modify them, + add new partitions, and change which partition to boot from + by default. + + After your OpenBSD MBR partition has been setup, the real + partition setup can follow. OpenBSDInstallPart5({:- If you have DOS or Linux partitions defined on the disk, these will usually show up as partition 'i', 'j' and so on.-:}) - OpenBSD/MACHINE can share a disk with Mac OS or Mac OS X by using - an HFS partitioned disk. For proper layout, the disk should be - partitioned with Mac OS or Mac OS X first with unused space or a - spare partition where OpenBSD can be installed. No low disk - boundaries exist on MACHINE. MACHINE is unable to install the - bootloader into the HFS(+) partition to boot OpenBSD so it is - necessary to copy 'ofwboot' from the installation media into - the first HFS(+) partition using Mac OS or Mac OS X. - - If the disk is partitioned using MBR, the bootloader is - automatically installed. However because fdisk is not LBA - knowledgeable it may be necessary to run the 'b' command in - disklabel to allow OpenBSD to use the entire disk. + If you chose to use HFS partitioning to share the disk with MacOS, + OpenBSD will be unable to install the bootloader into the HFS(+) + partition to boot OpenBSD; it will be necessary to copy 'ofwboot' + from the installation media into the first HFS(+) partition using + Mac OS or Mac OS X. + If the disk is partitioned using MBR, the bootloader will be + automatically installed if you setup a small (a few MB) MSDOS + partition as position `i' in the label. OpenBSDInstallPart6({:-CD-ROM, -:}) -OpenBSDFTPInstall - -OpenBSDHTTPInstall +OpenBSDURLInstall OpenBSDCDROMInstall |