Re: Attempt to fai-setup for Bookworm fails -?
On Fri, 2024-01-05 at 11:14:43 +0100, Thomas Lange wrote: > > On Fri, 5 Jan 2024 10:55:57 +0100, Steffen Grunewald > > said: > > dracut: dracut module 'network' depends on 'systemd-networkd', which > can't be installed > > ... > You need the dracut module network-legay, not network (which needs systemd) > which is hardocded in fai-make-nfsroot. Hm... > > Of course, I've got to do this on a Bullseye machine. What am I doing > wrong? > > Which version of FAI do you have on this bullseye machine? 5.10.X? > Or a FAI 6.x version? I've been using FAI for more than ten years now, and I *always* forget to bootstrap the server side. This is kind of a chicken-and-egg scenario... > I guess you need to use the newer version of fai-make-nfsroot (from > bookworm) on the bullseye machine. > I do not remember correctly if it's possible to use the bookworm > packages of FAI on a bullseye host system to create a bookworm > nfsroot. But I would guess it's possible. I upgraded all installed fai-* packages from 5.10.3 to 6.0.5 (I had to resolve a dependency on zstd while doing so), and the original config worked. Now I'm going to apply my personal changes (a few RAID CLIs, etc), but there's a new hope now! Thanks, Steffen
Re: Attempt to fai-setup for Bookworm fails -?
> On Fri, 5 Jan 2024 10:55:57 +0100, Steffen Grunewald > said: > Using the files in /etc/fai that come with fai-server_6.0.5, I end up with this: > ... > update-initramfs: deferring update (trigger activated) > Processing triggers for dracut (059-4) ... > dracut: Generating /boot/initrd.img-6.1.0-17-amd64 > dracut: dracut module 'network' depends on 'systemd-networkd', which can't be installed > dracut: dracut module 'ifcfg' depends on 'network', which can't be installed > dracut: dracut module 'livenet' depends on 'network', which can't be installed > dracut: dracut module 'nfs' depends on 'network', which can't be installed > dracut: dracut module 'nvmf' depends on 'network', which can't be installed > dracut: dracut module 'ifcfg' cannot be found or installed. > dpkg: error processing package dracut (--configure): > installed dracut package post-installation script subprocess returned error exit status 1 > Errors were encountered while processing: > dracut > ... You need the dracut module network-legay, not network (which needs systemd) which is hardocded in fai-make-nfsroot. > Of course, I've got to do this on a Bullseye machine. What am I doing wrong? Which version of FAI do you have on this bullseye machine? 5.10.X? Or a FAI 6.x version? I guess you need to use the newer version of fai-make-nfsroot (from bookworm) on the bullseye machine. Maybe it's just related to https://bugs.debian.org/1010906 but I did more changes to this script for newer dracut versions. I do not remember correctly if it's possible to use the bookworm packages of FAI on a bullseye host system to create a bookworm nfsroot. But I would guess it's possible. -- regards Thomas
Attempt to fai-setup for Bookworm fails -?
Good morning (and Happy New Year to everyone using the same calendar scheme) - I'm a bit late to the Bookworm party, but need to set up FAI for the next fresh installation/upgrade. Using the files in /etc/fai that come with fai-server_6.0.5, I end up with this: ... update-initramfs: deferring update (trigger activated) Processing triggers for dracut (059-4) ... dracut: Generating /boot/initrd.img-6.1.0-17-amd64 dracut: dracut module 'network' depends on 'systemd-networkd', which can't be installed dracut: dracut module 'ifcfg' depends on 'network', which can't be installed dracut: dracut module 'livenet' depends on 'network', which can't be installed dracut: dracut module 'nfs' depends on 'network', which can't be installed dracut: dracut module 'nvmf' depends on 'network', which can't be installed dracut: dracut module 'ifcfg' cannot be found or installed. dpkg: error processing package dracut (--configure): installed dracut package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: dracut ... Of course, I've got to do this on a Bullseye machine. What am I doing wrong? Thanks, Steffen -- Steffen Grunewald, Cluster Administrator Max Planck Institute for Gravitational Physics (Albert Einstein Institute) Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany ~~~ Fon: +49-331-567 7274 Mail: steffen.grunewald(at)aei.mpg.de ~~~