public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andreas Klein <gugelhuepf@googlemail.com>
To: gentoo-user-de@lists.gentoo.org
Subject: [gentoo-user-de] Re: kernel mit genkernel neubauen?
Date: Sat, 03 Oct 2009 15:47:28 +0200	[thread overview]
Message-ID: <1254577648.6066.27.camel@big-server.localdomain> (raw)
In-Reply-To: <4AC732FF.7080601@tn-x.de>

Am Samstag, den 03.10.2009, 13:18 +0200 schrieb Thomas Niemeier:
> Thomas Bruns schrieb:
> > Hallo NG, (schnipp)
> > 
> > Nun möchte ich aber meine ganzen alten Kerneleinstellungen behalten und
> > zusätzlich neue machen, wie macht man sowas am Besten?

> > Thomas
> > 
>  (schnapp)
> > 

Hi Geeks,

hier noch meine relativ ähnliche Variante zu der von Thomas Niemeier,
bzw. vom Gentoo Hanbuch, aber wie ich finde noch einfacherer und
übersichtlicher:

1.) Erst wie auch dort beschrieben mit # eselect kernel set x auf den
symlink auf die neuen kernelquellen setzten

2.) Dann mit # zcat /proc/config.gz > /usr/src/linux/config vom aktuell
laufenden kernel (falls entsprechend konfiguriert) ins nun aktuelle
kernelquellenverzeichnis kopieren.

3.) genkernel --kernel-config=/usr/src/linux/config --xconfig
--bootloader=grub all (alles im xterminal auf'm Desktop starten)

- Das schöne hierbei ist folgendes: falls x schon läuft ist xconfig viel
übersichtlicher und besser zu steuern als menuconfig, ohne x kann
xconfig natürlich durch menuconfig ersetzt werden.
- als pfad und Dateinamen könnte mann natürlich auch die letzte
kernelconfig sonstwoher anziehen, falls das zcat /proc/config.gz > nicht
funktioniert.
- aufpassen, beide male die gleiche Schreibweise verwenden bei config,
entweder mit oder ohne punkt davor!
- der --bootloader=grub trägt gleich alles korrekt in die grub.conf an
erster stelle ein, vorausgesetzt die boot partition ist gemountet, und
die alle notwendigen dateien werden von genkernel ja eh schon nach boot
kopiert.

Danach ggf wie im Handbuch beschrieben die externen module neu bauen -
in meinem Fall reicht da schon ein simples emerge nvidia-drivers,
und alles wird gut!

Gruß, Andy.




  reply	other threads:[~2009-10-03 13:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-03  9:50 [gentoo-user-de] kernel mit genkernel neubauen? Thomas Bruns
2009-10-03 10:08 ` Roland Huehn
2009-10-03 11:18 ` Thomas Niemeier
2009-10-03 13:47   ` Andreas Klein [this message]
2009-10-03 13:27 ` Dirk Heinrichs
2009-10-03 14:09 ` [closed]Re: " Thomas Bruns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1254577648.6066.27.camel@big-server.localdomain \
    --to=gugelhuepf@googlemail.com \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox