Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
On Thu, Sep 15, 2011 at 4:40 PM, Joost Roeleveld <span dir="ltr"><<a href="mailto:joost@...">joost@...</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br></div>It is my understanding all the options need to be specified every time dracut<br>
is run to create an initramfs. If this becomes mandatory, will this be added<br>
to the "make" script of the kernel-sources and as such, make this more<br>
specific?<br></blockquote><div><br></div><div>There are no plans to make dracut mandatory, unless you're putting root on lvm or luks or something, and a good initramfs is already needed for that.</div><div><br></div>
<div>I think /etc/dracut.conf already has just about anything you'd want to be persistent across runs.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Another issue arrises where some of the tools are updated that are also in the<br>
initramfs. Will we then still need to remember to also update the initramfs if<br>
these are needed?<br>
<br></blockquote><div><br></div><div>Potentially - if the tools in the initramfs won't work. That seems unlikely though - on-disk formats don't really change much and all stuff like mdadm and lvm tools do is find stuff and pass it along to the kernel which does the real work. If you migrate your root from raid1 to raid17 and the old initramfs doesn't understand raid17 then you'll have a problem. I imagine that if you migrate to raid17, however, you'd have put some thought into this.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
My server currently uses mdadm raid1 for /, /boot and swap and raid1+lvm for<br>
the rest. This works without the need of an initramfs.<br>
<br>
Will this still work? Or will I need to be using dracut instead?<br><br></blockquote><div><br></div><div>I suspect that if /usr is on raid1+lvm that you might need dracut. I'm not 100% sure on that, since in theory the initramfs can find all it needs on root in this case. However, the goal was to keep it simple. I'd defer to somebody actually involved with the simple image.</div>
</div><br><div>Rich</div>
|
|