zen_desu wrote:shovel wrote:I've tried reinstalling it but I get this messsage when installing gentoo-kernel-bin:
I started by reemerging installkernel with grub and dracut flags.
You can avoid that issue using ugrd
that is to warn you that dracut will read the cmdline from the livecd and will have issues unless you give it some config
I think it would be helpful not just for this user but other users to explain what actually happens here.
dracut probes /proc/cmdline when creating an initramfs and uses those arguments because they may be needed to boot the system. People often want that when running a real system with their own kernel, but inside of a live environment, it's undesirable.
We install a hook that makes installkernel error out rather than assume. ugrd will have its own logic for figuring out when to use the running machine's cmdline which may well not be flawless either.
The real issue here is just that the handbook should make clearer what is happening, why, and how to handle it.
EDIT: There's [bug=971572]bug 971572[/bug] about this now too.