View previous topic :: View next topic |
Author |
Message |
Voodudejnr n00b
Joined: 19 Dec 2004 Posts: 10
|
Posted: Sat Dec 25, 2004 5:01 pm Post subject: Checking the created kernel image name and initrd |
|
|
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 |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Sat Dec 25, 2004 5:57 pm Post subject: |
|
|
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 |
|
|
mbjr Guru
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Sat Dec 25, 2004 8:12 pm Post subject: |
|
|
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:
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sat Dec 25, 2004 8:21 pm Post subject: |
|
|
Tell us wether you have or not a separated partition for /boot, please. |
|
Back to top |
|
|
mbjr Guru
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Tue Dec 28, 2004 11:07 am Post subject: |
|
|
I like these people They ask something then they disappear
Why ask if you don't really want to get an answer? _________________ mb |
|
Back to top |
|
|
|