Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] Fragen zum Kernel
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Hotzenplotz
n00b
n00b


Joined: 26 Feb 2007
Posts: 27
Location: Schweiz

PostPosted: Mon Jun 11, 2007 5:16 pm    Post subject: [gelöst] Fragen zum Kernel Reply with quote

Also, ich habe mir vor einigen Tagen Gentoo 2007 installiert und bin am Einrichten. Bisher find ichs einfach nur ge.., derart gut läuft das Ding. Nun hab ich mich an die installation des Druckers (HP PSC1510) gemacht und musste dabei auch den Kernel anpassen, heisst den USB Support nachträglich einbinden. Ich bin dabei nach diesem Artikel vorgegangen:
http://www.gentoo.de/doc/de/printing-howto.xml
Zum Schluss wird darin gesagt, man solle nun das Kernelimage nach /boot kopieren. Alles klar, nur, wo ist denn dieses Kernelimage und wie heisst es? Bisher bin ich immer davon ausgegangen, dass das eine Datei mit der Endung .config ist. Die finde ich aber nicht im Verzeichnis /usr/src Auch finde ich in meinem /boot Verzeichnis nichts, was (für mich) nach einer Konfigurationsdatei aussieht. OK, ich bin Ubuntu vorgeschädigt, also bitte verzeit mir solche Fragen. Für eine möglichst "Deppensichere" Antwort bin ich sehr dankbar.

Gruss Hotzenplotz


Last edited by Hotzenplotz on Tue Jun 12, 2007 3:38 am; edited 1 time in total
Back to top
View user's profile Send private message
c_m
Guru
Guru


Joined: 29 Jun 2005
Posts: 358

PostPosted: Mon Jun 11, 2007 5:35 pm    Post subject: Reply with quote

wenn /boot leer ist wirds wohl in ner eigenen Partition liegen => mount /boot
das Kernelimage findest du dann unter /usr/src/linux/arch/i386/boot/bzImage

.config heist die Konfigurationsdatei des Kernels und liegt unter /usr/src/linux

Man beachte: /usr/src/linux ist ein SymLink auf /usr/src/<kernelquellen>/. also z.b. auf /usr/src/linux-2.6.21-suspend2-r5/ (bei mir)

du solltest also zu gut deutsch dein Kernelimage nach /boot kopieren:
cp /usr/src/linux/arch/i386/boot/bzImage /boot/<einbeliebigernamefürdeinenkernel>

Und danach nicht vergessen /boot/grub/menu.lst anzupassen

//EDIT: ok, jetzt kamen wir uns mit meinem Edit in die Quere *grinz@nachposter*
_________________
This must be thursday ...


Last edited by c_m on Mon Jun 11, 2007 5:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
r3tep
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2005
Posts: 108

PostPosted: Mon Jun 11, 2007 5:35 pm    Post subject: Reply with quote

Hallo,

wie Du einen Kernel compilierst und installierstn, müsstest Du doch eigentlich schon im Gentoo-Handbuch gelesen haben, da Du das doch für die Installation brauchst?!

Btw: http://www.gentoo.de/doc/de/handbook/handbook-x86.xml?part=1&chap=7#doc_chap3 sagt:

Code:
cp arch/i386/boot/bzImage /boot/kernelbezeichnung
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Mon Jun 11, 2007 6:02 pm    Post subject: Reply with quote

i386, sofern es denn ein i386-Kernel ist, und kein PPC-Kernel o. ä. -- nur der Vollständigkeit halber ;-)
Back to top
View user's profile Send private message
Hotzenplotz
n00b
n00b


Joined: 26 Feb 2007
Posts: 27
Location: Schweiz

PostPosted: Mon Jun 11, 2007 7:01 pm    Post subject: Reply with quote

Nun ja, ich hab damals den Genkernel benutzt, da der das allerwichtigste schon selber macht und ich praktisch keine Ahnung hab, was ich nehmen soll. Hier hab ich mal den Eintag in meiner menu.lst

title Gentoo
kernel (hd0,1)/boot/kernel-genkernel-x86-2.6.20-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda2 udev
initrd (hd0,1)/boot/initramfs-genkernel-x86-2.6.20-gentoo-r8

Und hier schreibe ich mal auf, was in meinem /boot unter Gentoo drinne ist:
- boot (ein Ordner, welcher auf den selben verweist)
- initramfs-genkernel-x86-2.6.20-gentoo-r2
- kernel-genkernel-x86-2.6.20-gentoo-r8
- System-map-genkernel-x86-2.6.20-gentoo-r8
- .keep

Grub habe ich unter Ubuntu installiert und dort ist auch die menu.lst, welche auf diese Partition verweist.

Nun weiss ich leider nicht, was ich in der menu.lst durch bzimage ersetzen soll, wenn ich selbige Datei ins /boot von Gentoo kopiert habe.

Gruss Marcus
Back to top
View user's profile Send private message
c_m
Guru
Guru


Joined: 29 Jun 2005
Posts: 358

PostPosted: Mon Jun 11, 2007 9:32 pm    Post subject: Reply with quote

kopier einfach den Gentoo-Abschnitt und änder den Kernelnamen
Dann hast auch gleich noch die Backup-Einstellungen, falls der neue Kernel net will :-)

//EDIT: rechtschreibung ^_-
_________________
This must be thursday ...
Back to top
View user's profile Send private message
Hotzenplotz
n00b
n00b


Joined: 26 Feb 2007
Posts: 27
Location: Schweiz

PostPosted: Tue Jun 12, 2007 3:39 am    Post subject: Reply with quote

Herzlichen Dank, nun wird der Drucker erkannt :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum