trivial update to man page related to --kernel-target=
[genkernel.git] / README
1 # $Id$
2
3 DEPENDANCIES:
4   - GCC and binutils
5   - GNU Bash
6
7 USAGE:
8   See http://www.gentoo.org/doc/en/genkernel.xml or
9   issue ``genkernel --help''.
10
11 PORTING:
12   To port to other arches:
13
14   # cd /usr/share/genkernel
15   # cp -Rp x86 ${myarch}
16   # mkdir /usr/share/genkernel/pkg/${myarch}
17
18   Modify what is needed in the /usr/share/genkernel/${myarch}
19   directory, as well making a generic kernel-config.
20
21 IMPORTANT KERNEL NOTES:
22   - You MUST have /dev/pts turned on.
23     "Block devices->Loopback device support"  
24     "Block devices->RAM disk support"
25   - To boot genkernel properly, the kernel config must have
26     RAM disk support and Initial RAM disk support. You should
27     also set your "Default RAM disk size to 8192"
28
29 BOOTING A KERNEL WITH INITRD:
30
31   GRUB:
32     real_root=  needs to point to your root partition
33     root=       needs to point to the ramdisk (should stay at /dev/ram0)
34     init=       needs to point to the linuxrc file to execute on the ramdisk
35     vga=        should be the resolution you want your screen. 0x317 is
36                 1024x768 - 16bpp and you'll get a pretty splash if
37                 configured properly
38
39   GRUB EXAMPLE ENTRY:
40     title=2.6.0 [ Genkernel ]
41     root (hd0,0)
42     kernel (hd0,0)/boot/kernel-2.6.0-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 vga=0x317
43     initrd (hd0,0)/boot/initrd-2.6.0-gentoo