View previous topic :: View next topic |
Author |
Message |
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sat Aug 05, 2006 8:13 am Post subject: Probleme bei der kernel konfiguration |
|
|
Hallo @all!
Ich habe das Problem das ich im kernel nicht weiss was ich bei meinem Rechner für Optionen einstellen muss.
Mein System
Abit AN8 mit nforce4
120 GB HD am IDE Kanal
1024 Mb Ram
Nvidia 6600 GT
Creative Audigy 1
Logitech MX1000
Mircosoft Office Keyboard
Danke im Voraus für eure Hilfe.
ModellbahnerTT |
|
Back to top |
|
|
Edward Nigma n00b
Joined: 05 Jul 2006 Posts: 24 Location: /LE
|
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sat Aug 05, 2006 8:45 am Post subject: |
|
|
Die seite werde ich gleich mal komplett durcharbeiten.
Danke für deine Hilfe.
ModellbahnerTT |
|
Back to top |
|
|
schmutzfinger Veteran
Joined: 26 Oct 2003 Posts: 1287 Location: Dresden/Germany
|
Posted: Sat Aug 05, 2006 9:43 am Post subject: |
|
|
Wenn du noch keine Ahnung hast was wichtig ist und erstmal einen kernel haben willst der läuft, dann nimm dir den kernel von der liveCD oder von nem knoppix. Tunen kannst du den später immernoch. |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sat Aug 05, 2006 9:52 am Post subject: |
|
|
@schmutzfinger Was muss ich den eingeben damit ich die Optionen der liveCD zu bekommen?
ModellbahnerTT |
|
Back to top |
|
|
schmutzfinger Veteran
Joined: 26 Oct 2003 Posts: 1287 Location: Dresden/Germany
|
Posted: Sat Aug 05, 2006 10:32 am Post subject: |
|
|
Hab grad keine da aber ich gehe mal davon aus das auf der liveCD mit 2.6er Kernel die config in /proc/config.gz liegt. Dann besorgst du dir genau die Sourcen und baust den kernel auf deinem Rechner. Die Sourcen sind hoffentlich auf der CD mit drauf, zumindest wäre das vernünftig . Also /usr/src/linux-x.x nach /mnt/deingentoo/usr/src/linux-x.x kopieren. Und dann /proc/config.gz auspacken und nach /mnt/deingentoo/usr/src/linux-x.x/.config kopieren.
Code: |
mount /mnt/deingentoo
cp -r /usr/src/linux-x.x /mnt/deingentoo/usr/src/
cd /mnt/deingentoo/usr/src
ln -s linux-x.x linux
zcat /proc/config.gz > /mnt/deingentoo/usr/src/linux/.config
|
|
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sun Aug 06, 2006 4:24 pm Post subject: |
|
|
Hallo schmutzfinger!
Dein Tipp hat leider nicht geklappt. Der Tipp von Edward Nigma hat mich leider nicht zum Ziel gebracht. Kennt jemand eine Seite oder ein Programme mit dem ich mir eine gute .config Datei erstellen lassen kann. Hat vielleicht jemand solch eine Datei für mich?
ModellbahnerTT
PS: Folgende Fehlermeldung bekomme ich beim booten
Code: | VFS: cannot open root device "hda 8" or unknown-block(0,0)
Please append a correct "root-" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block(0,0) |
|
|
Back to top |
|
|
Finswimmer Bodhisattva
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Sun Aug 06, 2006 4:34 pm Post subject: |
|
|
Das sieht aber eher nach einer falschen Einstellung in grub/lilo aus.
Poste die bitte mal.
Tobi |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sun Aug 06, 2006 5:00 pm Post subject: |
|
|
Meine grub.conf sieht wie folgt aus:
Code: | default 0
timeout 30
title=Gentoo
root (hd0,2)
kernel /boot/kernel root=/dev/hda8
|
Genauso steht es im Gentoo Handbuch.
Zur Info hda3 ist meine /boot
hda7 ist meine swap
und hda8 meine root Partion
ModellbahnerTT |
|
Back to top |
|
|
Appleonkel n00b
Joined: 24 Jan 2006 Posts: 10 Location: Germany/Cologne
|
Posted: Sun Aug 06, 2006 5:13 pm Post subject: |
|
|
Dein Filesystem ist fest einkompiliert? Die Treiber für dein Festplatte sind auch fest?
Appleonkel |
|
Back to top |
|
|
STiGMaTa_ch Veteran
Joined: 28 Dec 2004 Posts: 1686 Location: Rüti ZH / Schweiz
|
Posted: Sun Aug 06, 2006 5:41 pm Post subject: Re: Probleme bei der kernel konfiguration |
|
|
ModellbahnerTT wrote: | Ich habe das Problem das ich im kernel nicht weiss was ich bei meinem Rechner für Optionen einstellen muss. |
Dann benutz doch einfach genkernel. Im Handbuch wird beschrieben wie du den nutzen kannst.
Lieber Gruss
STiGMaTa _________________ Ich bin Schuldknappe. Das bedeutet ich bin immer an allem Schuld. Und das nicht zu knapp! | Der alltägliche Familienwahnsinn auf meinem BLOG |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sun Aug 06, 2006 5:42 pm Post subject: |
|
|
Ich habe alles was mit ext2 und ext3 zu tun hat eingebunden und meine /boot hat ext2 und meine root ext3. Wie kann ich erkennen welche Treiber ich für meine Festplatte brauche? Es kann sein das er mit drin ist weil er ja bootet und während des bootens mit der Fehlermeldung stehen bleibt.
Genkernel geht nicht weil er mir dann sagt das er keine Regel finden kann? Mit genkernel habe ich es ja auch versucht.
ModellbahnerTT |
|
Back to top |
|
|
Appleonkel n00b
Joined: 24 Jan 2006 Posts: 10 Location: Germany/Cologne
|
Posted: Sun Aug 06, 2006 5:56 pm Post subject: |
|
|
Quote: | CONFIG_BLK_DEV_IDEDISK:
This will include enhanced support for MFM/RLL/IDE hard disks. If
you have a MFM/RLL/IDE disk, and there is no special reason to use
the old hard disk driver instead, say Y. If you have an SCSI-only
system, you can say N here.
To compile this driver as a module, choose M here: the
module will be called ide-disk.
Do not compile this driver as a module if your root file system
(the one containing the directory /) is located on the IDE disk.
If unsure, say Y. |
Zu finden unter Device Drivers ---> ATA/ATAPI/MFM/RLL support ---> <*> Include IDE/ATA-2 DISK support
Appleonkel |
|
Back to top |
|
|
Finswimmer Bodhisattva
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Sun Aug 06, 2006 5:57 pm Post subject: |
|
|
Sicher, dass hda8 richtig ist? Erscheint mir als eine relativ hohe Nummer.
tobi |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sun Aug 06, 2006 6:04 pm Post subject: |
|
|
@Appleonkel Genau den habe ich mit reingenommen.
@Finswimmer Ja ich bin mir sicher da ich noch sehr viele Windowspartionen habe.
ModellbahnerTT |
|
Back to top |
|
|
Appleonkel n00b
Joined: 24 Jan 2006 Posts: 10 Location: Germany/Cologne
|
Posted: Sun Aug 06, 2006 6:07 pm Post subject: |
|
|
Kannst du deine .config mal Posten damit man sieht was drin ist und was nicht |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sun Aug 06, 2006 6:11 pm Post subject: |
|
|
Wie komme ich jetzt noch an die .config bzw. wo wird die.config gespeichert? Kann ich auch die vom jetzt verwendeten Ubuntu-Kernel verwenden?
ModellbahnerTT |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5232
|
Posted: Sun Aug 06, 2006 6:13 pm Post subject: |
|
|
die .config liegt im source verzeichnes des kernel unter /usr/src/linux-<version> _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
Appleonkel n00b
Joined: 24 Jan 2006 Posts: 10 Location: Germany/Cologne
|
Posted: Sun Aug 06, 2006 6:16 pm Post subject: |
|
|
die .config liegt in deinem Kernel-Source-Tree meist /usr/src/linux/.config
Ubuntu unterstützt leider kein /proc/config.gz support , deswegen weiss ich nicht wie man die .config kopieren könnte. |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Sun Aug 06, 2006 7:56 pm Post subject: |
|
|
Dann habe ich ein Problem da ich nur ein Linux System installieren kann, weil meine Festplatte so klein ist Gibt es noch weitere Möglichkeiten das Problem zu beheben? Ansonsten muss ich halt von der Ubuntu partion noch etwas abziehen.
ModellbahnerTT |
|
Back to top |
|
|
Appleonkel n00b
Joined: 24 Jan 2006 Posts: 10 Location: Germany/Cologne
|
Posted: Mon Aug 07, 2006 7:20 pm Post subject: |
|
|
Bei Ubuntu liegt die Kernel-Config in /boot/. Die kannst du auch einfach kopieren und nehmen. Das Problem dabei ist Ubuntu hat einen modularen Kernel, die Filesysteme und alles andere werden als Modul eingebunden.
Appleonkel |
|
Back to top |
|
|
ModellbahnerTT n00b
Joined: 04 Aug 2006 Posts: 38 Location: Jena
|
Posted: Mon Aug 07, 2006 9:51 pm Post subject: |
|
|
Danke für eure Hilfe! Werde es morgen nochmal mit Genkernel versuchen und hoffen das es klappt sonst melde ich mich nochmal hier
Gute Nacht und bis Morgen
ModellbahnerTT |
|
Back to top |
|
|
|