maartenlambrecht,
This command copies your kernel binary to /boot, where grub expects to find it. Your error says the file cannot be found
To get a kernel binary (the bzImage) you must first have run the commands
Code: Select all
cd /usr/src/linux
make menuconfig (and set the options you want)
make
This last command compile the kernel.
However, notice that
Code: Select all
cp arch/x86_64/boot/bzImage /boot/kernel-2.6.19-gentoo-r5
the source path name does not start with a /
That means its relative to the directory you happen to be in. Normally that would be /usr/src/linux. If you have stopped and come back it need not be, so the command will fail.
code]cp /usr/src/linux/arch/x86_64/boot/bzImage /boot/kernel-2.6.19-gentoo-r5[/code]Will work from anywhere. Notice the /usr/src/linux on the front of the source file name.