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
Eric Edgar 3185bee368
Create symlink to init named linuxrc. In preparation for the need to pack the cpio into the kernel
20 years ago
alpha Add CONFIG_ASH_TIMEOUT. 20 years ago
generic Add iseries virtual cdrom auto scanning support 20 years ago
ia64 Add USB Storage support. 20 years ago
parisc Add CONFIG_ASH_TIMEOUT. 20 years ago
parisc64 Add CONFIG_ASH_TIMEOUT. 20 years ago
pkg >> 3.3.1. Fix #100144, #100169, #100583. 20 years ago
ppc Create symlink to init named linuxrc. In preparation for the need to pack the cpio into the kernel 20 years ago
ppc64 Create symlink to init named linuxrc. In preparation for the need to pack the cpio into the kernel 20 years ago
sparc Add CONFIG_ASH_TIMEOUT. 20 years ago
sparc64 Add CONFIG_ASH_TIMEOUT. 20 years ago
um Add CONFIG_ASH_TIMEOUT. 20 years ago
x86 Add an updated x86 kernel config from wolf31o2. 20 years ago
x86_64 Add CONFIG_ASH_TIMEOUT. 20 years ago
xen0 Add CONFIG_ASH_TIMEOUT. 20 years ago
xenU Add CONFIG_ASH_TIMEOUT. 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 Fix bug 95280 in genkernel. ARCH_OVERRIDE in /etc/genkernel.conf should work now 20 years ago
gen_bootloader.sh Create additional cleanup options. --postclear for final cleanup and 2 new genkernel.conf options. Also fixup TEMP dir creation and extraneous %%ARCH%% creation in the cache_dir 20 years ago
gen_bootloader_grub.awk Fix #98944, add GRUB :root_device support and add a more versatile grub.conf updater. 20 years ago
gen_cmdline.sh Create symlink to init named linuxrc. In preparation for the need to pack the cpio into the kernel 20 years ago
gen_compile.sh >> 3.3.3. Fix KERNEL_MAKE_DIRECTIVE_2 if not using --genzimage. 20 years ago
gen_configkernel.sh Fix #97672, #98886, #98893, #98897; fix real_root=/dev/mdX: upgraded busybox to 1.00, porting in my read -t and mdstart patches. 20 years ago
gen_determineargs.sh Finally making the --bladecenter/dobladecenter stuff correct. Thanks plasmaroo for helping me wrap my head around how this works and to remove my dirty hack. 20 years ago
gen_funcs.sh Fix --no-install cleaning the tmpdir bug that plasmaroo reported 20 years ago
gen_initramfs.sh Create symlink to init named linuxrc. In preparation for the need to pack the cpio into the kernel 20 years ago
gen_initrd.sh Finally making the --bladecenter/dobladecenter stuff correct. Thanks plasmaroo for helping me wrap my head around how this works and to remove my dirty hack. 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 kerncache wasnt sending the config to /etc/kernels properly 20 years ago
genkernel Remove unnecessary check for multiple running genkernels. 20 years ago
genkernel.8 >> 3.3.1. Fix #100144, #100169, #100583. 20 years ago
genkernel.conf Create additional cleanup options. --postclear for final cleanup and 2 new genkernel.conf options. Also fixup TEMP dir creation and extraneous %%ARCH%% creation in the cache_dir 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