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 b4f310213e
Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855)
14 years ago
arch Add USB HID modules to modules_load and default kernel-config (for Gentoo bug #270983) 15 years ago
defaults Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855) 14 years ago
doc docs: Document --genzimage 14 years ago
maintenance docmatcher: Ignore --help and --version 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 Apply patch from gentoo bug #266373 for additional options in the netboot busy-config 16 years ago
patches/busybox/1.7.4 Add patch allowing compilation of busybox 1.7.4 with make 3.82 (bug #341943) 14 years ago
.gitattributes Adding Id header and Ident for genkernel.conf 16 years ago
.gitignore Migrate man page to asciidoc, add Makefile, add .gitignore 14 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.10.908 14 years ago
HACKING docs: Mention "git push --tags", add command to copy to the mirror 14 years ago
Makefile Implement "make dist" based on git ls-files 14 years ago
README Adding Id header. 16 years ago
TODO Improve naming of bootflags, added support for: port, target portal, username, password, username_in, password_in, debug 15 years ago
gen_arch.sh Adding Id header. 16 years ago
gen_bootloader.sh Review and fix some -eq and -ne conditionals 14 years ago
gen_cmdline.sh Insert blank line after "Gentoo Linux Genkernel ${GK_V}" in usage 14 years ago
gen_compile.sh Review and fix some -eq and -ne conditionals 14 years ago
gen_configkernel.sh Build iSCSI as module from the kernel, userspace from open-iscsi 15 years ago
gen_determineargs.sh Merge branch 'master' of git://git.wolf31o2.org/projs/genkernel 16 years ago
gen_funcs.sh Fix warning "rm: cannot remove `/var/cache/genkernel/src': Is a directory" (bug #347213) 14 years ago
gen_initramfs.sh Allow configuring the list of busybox applets (bug #326593) 14 years ago
gen_moddeps.sh Adding Id header. 16 years ago
gen_package.sh Review and fix some -eq and -ne conditionals 14 years ago
genkernel Review and fix some -eq and -ne conditionals 14 years ago
genkernel.conf Allow configuring the list of busybox applets (bug #326593) 14 years ago

README

# $Id$


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