]> git.ozlabs.org Git - yaboot.git/blob - doc/README.rs6000
67dd90475883a4c28cdffff2b13c2ed099125fe5
[yaboot.git] / doc / README.rs6000
1 RS/6000 yaboot Notes
2 ---------------------
3
4 A. System Partitioning:
5    1. Only FDISK partitioning has been tested on the RS/6000.
6       However, yaboot does support mac partitions on a mac, so they should
7       work on an RS/6000 if you really want to go that route.
8    2. Extended FDISK partitions have not been tested and are not expected to
9       work at this time.
10    3. yaboot must be installed by itself in a bootable partition of type 0x41.
11       This partition must be less than 10MB.
12
13    Recommended partition configuration:
14       /dev/sda1 : PREP Boot.    Type 0x41. Size = 4 MB
15       /dev/sda2 : Linux swap.   Type 0x82. Size = 128 MB
16       /dev/sda3 : Linux native. Type 0x83.
17
18 B. Building & Installation:
19    1. See the partitioning section for notes & examples on how to configure
20       your system partitions when installing Linux.
21    2. Build yaboot by doing:
22        make clean; make
23    3. Install yaboot by doing (as root):
24       dd if=yaboot of=/dev/sdax
25       where x is the boot partition; for example: dd if=yaboot of=/dev/sda1
26    4. Make a yaboot.conf file in /etc/yaboot.conf
27
28 C. Configuration File (/etc/yaboot.conf):
29    1. See the ybin documentation for the full range of options.
30    2. Options tested on an RS/6000 include:
31       timeout = <time in tenths of a second>
32       default = <default label>
33       root= <device containing the root filesystem>
34       image = <path to vmlinux kernel file>
35       label = <short name for this image>
36
37    3. Examples:
38
39       ## example /etc/yaboot.conf for RS/6000
40       ## Timeout value is in tenths of a second
41       timeout=200
42       default=linux
43
44       image=/boot/vmlinux
45       label=linux
46       root=/dev/sda3
47
48       image=/boot/vmlinux.new
49       label=new
50       root=/dev/sda3
51
52
53 D. Tested Configurations:
54    1. RS/6000 Model 150 (PPC 604e; CHRP IBM,7043-150)
55
56       fdisk -l /dev/sda
57
58       Disk /dev/sda: 64 heads, 32 sectors, 8678 cylinders
59       Units = cylinders of 2048 * 512 bytes
60
61          Device Boot    Start       End    Blocks   Id  System
62       /dev/sda1   *         1         9      9200   41  PPC PReP Boot
63       /dev/sda2            10      2010   2049024   83  Linux
64       /dev/sda3          2011      2139    132096   82  Linux swap
65
66    2. RS/6000 Model 260 (PPC 630; CHRP IBM,7043-260)
67
68       * Set "CONFIG_PPC64BRIDGE = y" in the Makefile!
69
70    3. RS/6000 Model F50 (PPC 630; CHRP IBM,7025-F50)
71
72
73 E. Other Documentation:
74    1. The ybin distribution includes addition README files and
75       man pages.
76
77 F. Questions & comments can be directed to:
78    engebret@us.ibm.com or
79    bergner@us.ibm.com
80