Am 20.08.2013 08:54, schrieb Canek Peláez Valdés:

> Unless you want to learn the ins and outs of using an initramfs (and
> having a lot of fun and failed boots in the process), I highly
> recommend using Dracut. It does everything for you.

I'd dig a short and working howto "systemd and dracut".

My approach in the last weeks/months was a mixed one (which is nearly
always bad):

I ran genkernel to compile kernel and modules ... additionally generated
initramfs with a quick-and-dirty-script hacked by myself (it uses
dracut) ... and then executed grub2-mkconfig to update my grub2-config.

This works so far ... until yesterday when my thinkpad didn't boot
correctly anymore with the gentoo-sources-based kernel/initramfs 3.10.9
(interesting: my desktop worked out fine with the same sources ... the
config might be a bit different).

I found that the genkernel-based grub2-entry (with the initramfs
generated via genkernel) didn't create /dev/shm anymore .. leading to
various things failing.

Another grub2-entry pointing to the dracut-based initramfs works fine. Cool.

So I have to get rid of genkernel, right? At least for now.

Additionally I would really like to understand how to influence the
default entry for grub2 ... letting grub2-mkconfig detect the available
options is one thing ... but do I really have to count down the
available kernels and edit the number?

I would prefer to be able to explicitly select my default kernel by
editing some file and for example choose "3.10.9" somewhere ...

Stefan


Reply via email to