Genkernel fork to have some custom behavior.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Chris Gianelloni 36bb84c532
Must use /bin/bash for dollar-sign, parentheses sub-shell syntax.
20 years ago
alpha Add Fusion MPT support 20 years ago
generic Must use /bin/bash for dollar-sign, parentheses sub-shell syntax. 20 years ago
ia64 Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
parisc Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
parisc64 Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
pkg Fix #76082, #86487, #87673, #95993. 20 years ago
ppc Fix Pegasos on initramfs and add an updated Pegasos config, thanks dholm! 20 years ago
ppc64 Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
sparc Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
sparc64 Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
um Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
x86 Changed sata_vitesse to sata_vsc and closing bug #97089. 20 years ago
x86_64 Changed sata_vitesse to sata_vsc and closing bug #97089. 20 years ago
xen0 Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
xenU Remove evms and lvm2 from default boot args (they cause hardware issues, so users should explicitly specify them); add NFSboot support patches by Thomas Seiler. 20 years ago
README >> 3.1.0b. 21 years ago
TODO Version bump. Closes bugs #34948, #37371, #41129, #41166, #42725, #42815, 21 years ago
gen_arch.sh New release: 21 years ago
gen_bootloader.sh Fix syntax. 20 years ago
gen_cmdline.sh Fix bug 68903; Allows the CROSS_COMPILE env to be set for kernel compiles. Added --kernel-cross-compile= option 20 years ago
gen_compile.sh Add missing else 20 years ago
gen_configkernel.sh Added config parsing for dmraid modules if genkernel is called with --dmraid 20 years ago
gen_determineargs.sh Fix bug 68903; Allows the CROSS_COMPILE env to be set for kernel compiles. Added --kernel-cross-compile= option 20 years ago
gen_funcs.sh Add rocket's unionfs patch and linuxrc cleanup; fix Pegasos with regard to initramfs. 20 years ago
gen_initramfs.sh Localversion changes to kerncache, and added a sleep statement so modprobe loop has a chance to work 20 years ago
gen_initrd.sh Localversion changes to kerncache, and added a sleep statement so modprobe loop has a chance to work 20 years ago
gen_moddeps.sh Localversion changes to kerncache, and added a sleep statement so modprobe loop has a chance to work 20 years ago
gen_package.sh Add rocket's unionfs patch and linuxrc cleanup; fix Pegasos with regard to initramfs. 20 years ago
genkernel _pre12... ph43r... 20 years ago
genkernel.8 Fix #95993, #96300. 20 years ago
genkernel.conf Add rocket's unionfs patch and linuxrc cleanup; fix Pegasos with regard to initramfs. 20 years ago

README

DEPENDANCIES:

- GCC and binutils
- GNU Bash

USAGE:
See http://www.gentoo.org/doc/en/genkernel.xml or
issue ``genkernel --help''.

PORTING:
To port to other arches:

# cd /usr/share/genkernel
# cp -Rp x86 ${myarch}
# mkdir /usr/share/genkernel/pkg/${myarch}

Modify what is needed in the /usr/share/genkernel/${myarch}
directory, as well making a generic kernel-config.

IMPORTANT KERNEL NOTES:
- You MUST have /dev/pts turned on.
- If you want Bootsplash, you MUST have VESAFB enabled for 2.6,
other framebuffers won't work. You MUST also enable
"video mode selection support" and "Framebuffer Console support"
- From gentoo-dev-sources-2.6.8 and above, bootsplash has been replaced
with gensplash. Gensplash has the same kernel configuration requirements
as bootsplash, but works properly with any framebuffer device.
- To build a kernel with Genkernel you must have
"Block devices->Loopback device support"
"Block devices->RAM disk support"
- To boot genkernel properly, the kernel config must have
RAM disk support and Initial RAM disk support. You should
also set your "Default RAM disk size to 8192"

BOOTING A KERNEL WITH INITRD:

GRUB:
real_root= needs to point to your root partition
root= needs to point to the ramdisk (should stay at /dev/ram0)
init= needs to point to the linuxrc file to execute on the ramdisk
vga= should be the resolution you want your screen. 0x317 is
1024x768 - 16bpp and you'll get a pretty bootsplash if
configured properly

GRUB EXAMPLE ENTRY:
title=2.6.0 [ Genkernel ]
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.6.0-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 vga=0x317
initrd (hd0,0)/boot/initrd-2.6.0-gentoo