Just to give kudos, I would not be able to keep my system tidy without
eclean-kernel.  It takes care of lots of stuff portage does not.

On Fri, Jul 1, 2016 at 10:58 AM, Guilherme Amadio <ama...@gentoo.org> wrote:

> On Thu, Jun 30, 2016 at 02:38:26PM +0200, Michał Górny wrote:
> > So if you have some time, please reply to this thread with
> > a specific /boot layout that you think needs to be handled, with
> > as much helpful information as possible -- including possible
> > distinctive features and pitfalls.
>
> Looks like not too many people are booting kernels like me, so
> I'm going to add my crude setup to the pile :)
>
> I compile most stuff into the kernel (at least enough so I don't
> need to use an initrd/initramfs to mount / or /usr). I do not use a boot
> loader either, I use CONFIG_EFI_STUB=y and compile in the command
> line arguments to avoid trouble. Then, I use efibootmgr to boot the
> kernel at /boot/EFI/Gentoo/bootx64.efi
>
> I usually keep several kernels in the same directory with a version
> suffix (e.g. bootx64-4.6.2.efi, etc) and overwrite the bootx64.efi
> file with whatever kernel I want to boot with cp bootx64{-4.x.x,}.efi
>
> I keep a few older kernels around in case I screw up the configuration
> of a new one (usually video drivers), but for the most part, that's it.
>
> My compiled kernel command line is also pretty simple:
>
> quiet console=tty1 root=/dev/sda4 init=/usr/lib/systemd/systemd
>
> I never really though about writing scripts to manage this, since it's
> quite a simple setup, but having tools to manage it would be nice.
>
> Just think about supporting a simple EFI/UEFI setup, I would say, in
> addition to the more common setups using a boot loader.
>
> Cheers,
> —Guilherme
>
>
>

Reply via email to