Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Checking the created kernel image name and initrd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Voodudejnr
n00b
n00b


Joined: 19 Dec 2004
Posts: 10

PostPosted: Sat Dec 25, 2004 5:01 pm    Post subject: Checking the created kernel image name and initrd Reply with quote

I typed in

genkernel all

That whent well, It then says to list my initrd and kernel and I typed in:

ls /boot/kernel* /boot/initrd*

And it says on my machine

ls: /boot/kernel*: No such file or directory
ls: /boot/initrd*: No such file or directory
_________________
Computers are like air conditioners, if you open Windows they can't do there job properly.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Sat Dec 25, 2004 5:57 pm    Post subject: Reply with quote

I don't use the genkernel script.

You can't do that inside the script. It has to be done from the command line, the ls-command I mean.
If indeed it can be done from inside the script, is your /boot partition mounted?

You need to know the names of the kernel and initrd image.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Sat Dec 25, 2004 8:12 pm    Post subject: Reply with quote

Genkernel is a useful thing when you've no idea what a kernel is :-) Yeah, and usefull when creating a configuration in your computer, but the final target is another computer with a completely different configuration. :-) So basically there are "times" when I use genkernel.

The way to do genkernel is to have a kernel package already emerged:
Quote:
emerge gentoo-dev-sources

for example, and do a:
Quote:
genkernel all


This will compile your kernel with a configuration set by gentoo and runs almost on every computer. Please remember that genkernel puts the resulted kernel and initrd to /boot, therefore ls /boot is fair enough to get what you need :-) If the compilation does not fail, you SHOULD have the resulted kernel-2.?.?-gentoo-r? and initrd-2.?.?-gentoo-r? files under /boot.

If genkernel all fails, look for errors, since it posts EVERY piece of problem it meets right to your screen. :-)

Also you can give a try to check your initial /etc/fstab configuration. Probably your /boot device does not mount automatically, since that's the recommendation (basically for security reasons) by gentoo (noauto,noatime flags), but you can mount it manually by typing mount /dev/<your_boot_device, hda1 for example> /boot :-)

This might be fair enough :-)
_________________
mb
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sat Dec 25, 2004 8:21 pm    Post subject: Reply with quote

Tell us wether you have or not a separated partition for /boot, please.
Back to top
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Tue Dec 28, 2004 11:07 am    Post subject: Reply with quote

I like these people :-) They ask something then they disappear :-)

Why ask if you don't really want to get an answer? :-D
_________________
mb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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