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
Joshua Jackson b0e53a5283
Merge branch 'master' of git+ssh://git@git.wolf31o2.org/var/gitroot/projs/genkernel
16 years ago
arch Add support for multiple possible kernel binary paths for gentoo bug #255085 16 years ago
defaults remove allow_root 16 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 Enable CONFIG_MKSWAP for netboot busybox 16 years ago
patches/busybox/1.7.4 Replace debug patch with simple patch to add trivial support for -i option to mount/umount 16 years ago
AUTHORS Fixing a typo in the AUTHORS file and fixing the Copyright date in the ChangeLog. 16 years ago
BUGS Adding a BUGS file, where we can list bugs that we have found in genkernel that need to be resolved. 16 years ago
ChangeLog Add support for multiple possible kernel binary paths for gentoo bug #255085 16 years ago
HACKING Adding a note about contacting me to HACKING. 16 years ago
README Removing bootsplash support since it hasn't been in a kernel we've supported for years now, causes confusion amongst users, and really wasn't being used and caused issues with 2.6/initrd creation in some corner cases. 18 years ago
TODO Added more verbosity to the auto-detection section. 16 years ago
gen_arch.sh Add case for arm* in get_official_arch() 16 years ago
gen_bootloader.sh Modify grep regex to account for additional suffixes on old kernel names 16 years ago
gen_cmdline.sh multipath additions 16 years ago
gen_compile.sh Add support for multiple possible kernel binary paths for gentoo bug #255085 16 years ago
gen_configkernel.sh Actually setting permissions. It helps if one remembers to 'git add' before doing their commit. 16 years ago
gen_determineargs.sh Add --busybox-config= commandline option 16 years ago
gen_funcs.sh Add support for multiple possible kernel binary paths for gentoo bug #255085 16 years ago
gen_initramfs.sh Actually setting permissions. It helps if one remembers to 'git add' before doing their commit. 16 years ago
gen_moddeps.sh Actually setting permissions. It helps if one remembers to 'git add' before doing their commit. 16 years ago
gen_package.sh Add support for multiple possible kernel binary paths for gentoo bug #255085 16 years ago
genkernel Initial commit for re-adding support for --bootloader=grub 16 years ago
genkernel.8 Fix typo in man page, butt -> but 17 years ago
genkernel.conf Add commented out DISKLABEL=yes option for gentoo bug #229847 16 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.
"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