Giter VIP home page Giter VIP logo

genkernel's Introduction

# $Id$

GENERAL CONCEPT:
Genkernel's primary job is to bring up only the basic stuff needed
to mount your (block) device containing the root filesystem so that
we can hand off control to real system as soon as possible.

It's _not_ genkernel's goal to load all available modules, to start
all available devices, to unlock additional volumes, to start network
or do other fancy stuff. So don't forget to set up your normal boot
services so that the real system can finish boot and do all of the
things mentioned above.

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

USAGE:
  See https://wiki.gentoo.org/wiki/Genkernel or
  issue ``genkernel --help''.

PORTING:
  To port to other arches:

  # cd /usr/share/genkernel
  # cp -Rp x86_64 ${myarch}

  Modify what is needed in the /usr/share/genkernel/${myarch}
  directory, as well making a generic kernel-config.

  Check determine_real_args() function in gen_determineargs.sh
  if you need to add anything like support for your architecture's
  GCC triplet or mapping to kernel's arch.

IMPORTANT KERNEL NOTES:
  - You MUST have /dev/pts turned on.
  - To boot genkernel properly, the kernel config must have
    Initial RAM disk support.

BOOTING A KERNEL WITH INITRAMFS:

  GRUB:
    root=	needs to point to your root partition
    vga=	should be the resolution you want your screen. 0x317 is
    		1024x768 - 16bpp and you'll get a pretty splash if
    		configured properly

  GRUB 1.x EXAMPLE ENTRY:
    title Gentoo Linux
    root (hd0,0)
    kernel /vmlinuz-5.4.2-gentoo-x86_64 root=/dev/sda1 vga=0x791
    initrd /initramfs-5.4.2-gentoo-x86_64.img

  EXTLINUX (SYSLINUX) EXAMPLE ENTRY:
    LABEL genkernel-latest
        MENU LABEL Gentoo Linux (latest)
        LINUX /kernel
        INITRD /initramfs
        APPEND dolvm crypt_root=UUID=a8c5be51-bd1b-4446-a430-1d0ed576fa73 root=UUID=a2e5968c-5917-41ef-bf81-edffd54c8abd rootfs=ext4 root_trim=yes dosshd

  NOTE: The example above uses genkernel's --symlink feature and
        initramfs was built with --lvm, --luks and --ssh.

genkernel's People

Contributors

whissi avatar hartwork avatar robbat2 avatar ryao avatar zerochaos- avatar wolf31o2 avatar benkohler avatar thesamesam avatar craig avatar kumba42 avatar vapier avatar gyakovlev avatar sbraz avatar reagentoo avatar tjwasiak avatar schism avatar junghans avatar mattst88 avatar prometheanfire avatar armin76 avatar aidecoe avatar flyingwaffledev avatar danielrobbins avatar jmbsvicetto avatar karlson2k avatar madmartin avatar orbea avatar gktrk avatar lu-zero avatar matoro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.