Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mkinitrd
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
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Sun Nov 30, 2003 3:32 pm    Post subject: mkinitrd Reply with quote

Hallo
Ich wollte zum Abschluß der Kernelkompillierund eine initial Ramdisk erstellen. Es komt aber eine Fehlermeldung (hatte ich bei RedHat nicht).
bash-2.05b# mkinitrd /boot/initrd-2.4.20-gentoo-neu-1 2.4.20-gentoo-neu-1
/lib/modules/2.4.20-gentoo-neu-1 is not a directory.
Könnte mir da jemand helfen?
Danke
MfG
Back to top
View user's profile Send private message
lowde
n00b
n00b


Joined: 07 Jul 2003
Posts: 50
Location: Germany

PostPosted: Sun Nov 30, 2003 3:42 pm    Post subject: Reply with quote

hoi,

exestiert der ordner /lib/modules/2.4.20-gentoo-neu-1/ ? oder heißt er nicht vielleicht doch anders? müsste doch eigentlich wie der ordner in /usr/src/ heißen. schau am besten nochmal nach. ^^
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Sun Nov 30, 2003 4:03 pm    Post subject: Reply with quote

Ich habe den Kernel genauso wie unter RedHat kompilliert und da hatte ich diesen Fehler nicht.Kann es sein, das der ordner mit dem Befehl make_modules make modules_install erstellt wird? Ich glaube, das habe ich diesmal u.U. vergessen.Weiß aber nicht mehr so genau.
Danke
Back to top
View user's profile Send private message
lowde
n00b
n00b


Joined: 07 Jul 2003
Posts: 50
Location: Germany

PostPosted: Sun Nov 30, 2003 4:06 pm    Post subject: Reply with quote

jo. der ordner in /lib/modules/ enthält die modules des kernels. also wird er mit make modules und make modules_install erstellt. der ordner wird aber immer mit dem namen benannt wie der ordner in /usr/src/ . darauf solltest du nur noch achten.
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Wed Dec 03, 2003 2:01 pm    Post subject: Reply with quote

der Ordner läßt sich übrigens in Scripts etc. immer ganz einfach finden:
Code:

#!/bin/bash
foo="/lib/modules/`uname -r`"
echo $foo
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