Replies: 4 comments 6 replies
-
@kserin perhaps you can try with #2269 applied (you might need to build dracut yourself from upstream or at least try to get the patches for the overlay dracut modules). |
Beta Was this translation helpful? Give feedback.
-
I succeed to get NFS mount with this patch : master...kserin:dracut:master . |
Beta Was this translation helpful? Give feedback.
-
With |
Beta Was this translation helpful? Give feedback.
-
@LaszloGombos @aafeijoo-suse |
Beta Was this translation helpful? Give feedback.
-
Hello !
I'm currently trying to boot a machine using PXE and NFS mount.
I've generated a dracut initramfs on my Debian12 using the following command:
dracut --add-drivers overlay --force /tmp/initrd.img 6.1.0-13-amd64
.And the PXE kernel parameters are:
initrd=initrd.img ip=dhcp root=nfs:20.0.1.1:/nfs rd.shell rd.debug
But when I try to boot, I get an initqueue timeout because of the finished/nfsroot.sh script ( https://github.com/dracutdevs/dracut/blob/master/modules.d/95nfs/parse-nfsroot.sh#L124). So I tried to comment the line but the mount does not seem to be done (Logs indicate
Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree
).So I tried to figure out how the NFS mount is done and it seems that
nfsroot.sh
script do this job : https://github.com/dracutdevs/dracut/blob/master/modules.d/95nfs/nfsroot.sh#L17 and it is installed in/sbin
by https://github.com/dracutdevs/dracut/blob/master/modules.d/95nfs/module-setup.sh#L112But I cannot find where
/sbin/nfsroot
is called. I probably miss something ... Can someone explain it to me ? :)Beta Was this translation helpful? Give feedback.
All reactions