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
Robin H. Johnson 43b1f3aa7e
Fixup for bugs from patch in bug 174294.
18 years ago
alpha enable CONFIG_INSMOD in all arch busy-config files 18 years ago
generic Fixup for bugs from patch in bug 174294. 18 years ago
ia64 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
mips enable CONFIG_INSMOD in all arch busy-config files 18 years ago
netboot enhanced netboot linuxrc from gustavoz 18 years ago
parisc enable CONFIG_INSMOD in all arch busy-config files 18 years ago
parisc64 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
pkg Added binary files back and updated busybox with a patch from Peter Alfredsen <peter.alfredsen@gmail.com> in bug #168599. 18 years ago
ppc enable CONFIG_INSMOD in all arch busy-config files 18 years ago
ppc64 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
sparc enable CONFIG_INSMOD in all arch busy-config files 18 years ago
sparc64 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
um Added new PATA support from Paul Hewlett <paul@gccs.co.za> from bug #180111 and also created a separate MDRAID module group. 18 years ago
x86 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
x86_64 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
xen0 enable CONFIG_INSMOD in all arch busy-config files 18 years ago
xenU enable CONFIG_INSMOD in all arch busy-config files 18 years ago
AUTHORS Added the AUTHORS file and ChangeLog. This is 3.4.2 19 years ago
ChangeLog Fixup for bugs from patch in bug 174294. 18 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 Added sparc patches for udev/klibc. 19 years ago
gen_bootloader.sh Changed basename to dirname when creating the directory from grub.conf to solve bug #161716. 18 years ago
gen_bootloader_grub.awk Fix #100637. 19 years ago
gen_cmdline.sh Added a second patch from John R. Graham <john_r_graham@mindspring.com> from bug #169383. 18 years ago
gen_compile.sh enable CONFIG_INSMOD in all arch busy-config files 18 years ago
gen_configkernel.sh Added patch from Daniel Drake <dsd@gentoo.org> in bug #156445 to add userspace suspend support to genkernel. 18 years ago
gen_determineargs.sh enable CONFIG_INSMOD in all arch busy-config files 18 years ago
gen_funcs.sh Added two patches from John R. Graham <john_r_graham@mindspring.com> from bug #180161. This should fix bug #180161, bug #144703, and bug #150697. 18 years ago
gen_initramfs.sh enable CONFIG_INSMOD in all arch busy-config files 18 years ago
gen_initrd.sh enable CONFIG_INSMOD in all arch busy-config files 18 years ago
gen_moddeps.sh Fix missing moddeps file by adding a test;Do not keep the initrd/initramfs with a kernelz system as it is already bundled together. 19 years ago
gen_package.sh Patch to compare new config instead of the one left laying around in the kerncache dir. Thanks to Pat Double <gentoo@patdouble.com> in bug #179739 18 years ago
genkernel enable CONFIG_INSMOD in all arch busy-config files 18 years ago
genkernel.8 Added two patches from John R. Graham <john_r_graham@mindspring.com> from bug #180161. This should fix bug #180161, bug #144703, and bug #150697. 18 years ago
genkernel.conf enable CONFIG_INSMOD in all arch busy-config files 18 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