On Fri, February 16, 2018 3:22 pm, 'awokd' via qubes-users wrote:
> On Fri, February 16, 2018 3:13 pm, [email protected] wrote:
>
>> sexta-feira, 16 de Fevereiro de 2018 às 15:02:54 UTC, awokd escreveu:
>
>
>>> dracut -f /boot/efi/EFI/qubes/initramfs-$(uname -r).img $(uname -r)
>>>
>>> works for a generic version at least. Will go with that unless
>>> there's a better suggestion.
>>
>> Don't forget that the original doc had the host only option -H.
>>
>
> I am intentionally forgetting that. :) Per the man page:
>
>
> "If you want to create lighter, smaller initramfs images, you may want to
>  specify the --hostonly or -H option. Using this option, the resulting
> image will contain only those dracut modules, kernel modules and
> filesystems, which are needed to boot this specific machine. This has the
>  drawback, that you can’t put the disk on another controller or machine,
> and that you can’t switch to another root filesystem, without recreating
> the initramfs image. The usage of the --hostonly option is only for
> experts and you will have to keep the broken pieces. At least keep a copy
>  of a general purpose image (and corresponding kernel) as a fallback to
> rescue your system."
>
> For a generic recommendation, the tradeoffs don't seem worth saving a few
>  bytes. I figure if someone really needs those bytes they can add the -H
> themselves.

Submitted https://github.com/QubesOS/qubes-doc/pull/592 ; thank you both.

And if I'm missing some other reason that dracut -H should be included,
please let me know! Might make sense to remove it from the GRUB section as
well.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/96345a81acea560a2ecff143b1941f38.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.

Reply via email to