genkernel automatically places the new kernel in the /boot directory. However, by default, Gentoo Linux doesn't mount the /boot partition, so genkernel is really writing *underneath* the mount point. That means the kernel (and initrd, etc.) have to be moved by hand *out* of /boot, the boot partition has to be mounted and then the files moved *back*. Wouldn't it be simpler to have genkernel automgically mount /boot at the proper time? Reproducible: Always Steps to Reproduce: 1.Don't mount /boot by hand 2.Run genkernel 3.Profit!! (oops, forgot myself) Actual Results: kernel installed in /boot *directory*, not in /boot *partition*. Expected Results: Mount /boot first.
I really hope this bug gets fixed. This was the default behavior of the old version of genkernel.
unfortunately there's more involved then that for checking. The previous genkernel just arbitrarily tried to call 'mount /boot', which may not be proper necessarily. there will be some automation here in the future, but right now, just remember to mount boot before running genkernel. That makes a lot more sense then running genkernel, moving stuff out of boot, mounting boot, then copying stuff into boot, don't you think?
That's why I called this an enhancement request rather that a bug. Perhaps the most immediate thing that should be changed is a reminder to the user to mount /boot, since the real problem is the way it catches you by surprise the first time you use genkernel. Once you've had to move files around once (ok, maybe twice, sometimes I'm a slow learner) you generally remember to mount first.
Created attachment 26549 [details, diff] add option to mount /boot How about letting the users decide if they want genkernel to mount /boot for them? Here's a brief patch to /etc/genkernel.conf and /usr/bin/genkernel that implement a MOUNTBOOT option (default is "no").
This was implemented in genkernel-3.0.2_rc1.