Gentoo | Kernel Images plötzlich nicht mehr in /boot, sondern in / ?
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
So did you remember to mount it before copying your new kernel(s) there? If not you are placing them in a directory '/boot' which actually lives on the '/' partition, hence why grub cannot find them if it is looking for the images on a boot partition.
if /boot isn't mounted, the directory /boot exists, but it's empty.
So I think I did it the right way, did I?
That is as it should be, yes. So the problem is with your grub config.
Your entries should look like:
kernel /vmlinuz-2.6.20-ck1 root=/dev/hda2
The "root (hd0,0)" line tells grub to look for kernels relative to the first partition of the first HDD. If you did _not_ have a separate '/boot' partition, and '/' was the first partition then you would use:
kernel /boot/vmlinuz-2.6.20-ck1 root=/dev/hda1
so I have to change all grub.conf entries from /boot/<kernelimage> to /<kernelimage> ?
If your kernels are in /boot on a separate partition, yes.
I didn't change the partitions or sth. else in partitioning and so on. How is it possible that this path changes?
I am not sure what you think has changed. Again, "root (hd0,0)" tells grub to look for kernels relative to the first partition of the the first HDD (ie: your '/boot' partition). When grub is running nothing is mounted, so "/boot/whatever" is not a valid path, as there is no "/boot", only the files located on (hd0,0) (/dev/hda1).