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
Sebastian Pipping d78b12f5b5
Bump version to 3.4.35
13 years ago
arch Make sure that cbc.ko and aes*.ko needed for cbc-essiv:sha256 (=default) disk encryption are included with the initramfs (bug #416973) 13 years ago
defaults Merge branch 'bug-418463' 13 years ago
doc Untar keymaps 13 years ago
maintenance Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423) 14 years ago
modules Added the modules directory, which will be used to store the built-in modules and also for external entities to add their own modules and hooks. 17 years ago
netboot Support for glibc-2.14 systems 13 years ago
patches Support busybox 1.20.1 (bug #419511) 13 years ago
.gitattributes Adding Id header and Ident for genkernel.conf 16 years ago
.gitignore Extend .gitignore so echangelog ignores release tarballs 13 years ago
AUTHORS Merge branch 'master' of git://git.wolf31o2.org/projs/genkernel 16 years ago
BUGS Adding Id header. 16 years ago
ChangeLog Bump version to 3.4.35 13 years ago
HACKING Be more explicit in developer docs 13 years ago
Makefile Makefile: Have version bumps trigger re-creation of man page 14 years ago
README Fix README to list dependency introduced by 1079122ea0 13 years ago
TODO Multipath has been done for a while now. 13 years ago
gen_arch.sh trivial: cleanup code, drop whitespaces and some more cruft 14 years ago
gen_bootloader.sh Make --bootloader=grub2 set debug instead of single in grub.cfg 13 years ago
gen_cmdline.sh device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467 is wrong for the device-mapper update. 13 years ago
gen_compile.sh Use blkid from system's util-linux rather than compiling e2fsprogs ourselves 13 years ago
gen_configkernel.sh trivial: cleanup code, drop whitespaces and some more cruft 14 years ago
gen_determineargs.sh device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467 is wrong for the device-mapper update. 13 years ago
gen_funcs.sh Fix an e2fsprogs compilation leftover (bug #417095) 13 years ago
gen_initramfs.sh Use blkid from system's util-linux rather than compiling e2fsprogs ourselves 13 years ago
gen_moddeps.sh trivial: cleanup code, drop whitespaces and some more cruft 14 years ago
gen_package.sh trivial: cleanup code, drop whitespaces and some more cruft 14 years ago
genkernel Bump version to 3.4.35 13 years ago
genkernel.conf Use blkid from system's util-linux rather than compiling e2fsprogs ourselves 13 years ago

README

# $Id$


DEPENDENCIES:
- GCC and binutils
- GNU Bash
- PaX Utilities

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.
"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 splash 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