[arch-dev-public] Mkinitcpio replacement with Dracut

Doug Newgard scimmia at archlinux.org
Tue May 21 17:08:37 UTC 2019


On Tue, 21 May 2019 13:51:43 -0300
Giancarlo Razzolini via arch-dev-public <arch-dev-public at archlinux.org> wrote:

> Em maio 21, 2019 2:24 Ike Devolder via arch-dev-public escreveu:
> > 
> > Without looking at dracut yet, I have a few questions:
> > - Is there a description how to move from mkinitcpio to dracut?  
> 
> No, not yet. But it is as simple as running dracut -H -f /boot/initramfs-linux.img, for
> trying it out. I'll work later this week on a wiki page, but the good thing is, it has
> plenty documentation available.
> 
> 
> > - Does dracut support what mkinitcpio has? all the hooks and stuff  
> 
> It does support even more than we do currently. It can boot from pretty much anything,
> including NFS and NBD.
> 
> > - did you already add pacman hooks for dracut as we need for mkinitcpio,
> > or is that not needed?
> >  
> 
> We will certainly need a hook to trigger the rebuild, but I didn't add it as a part of
> the dracut package yet, because I need to write them, but I want first to see if dracut
> is a good fit for Arch or not.

A hook would be good, but might need to be in the kernel packages like the
current hooks are. Kernel versions are hard-coded in the hook. It would also
be nice to rename the initramfs so that we've got both available, I just put
-dracut in it for testing this.

> 
> > When I have some time to spare I certainly will try it out.
> >   
> 
> Please do. And make sure you have your fallback image working when you do.
> 
> Regards,
> Giancarlo Razzolini


More information about the arch-dev-public mailing list