Public bug reported: I am trying to do a network boot of Ubuntu 22.04 on a Raspberry Pi 4B (RPi4). I had the same problem previously with Ubuntu 20.04.
I can network boot Ubuntu using TFTP if I specify nfsroot as an NFSv3 address. However, I then run into problems with overlayroot not working (see https://askubuntu.com/questions/1401854/why-doesnt-overlayroot- work-properly-with-a-net-booted-nfs-root-on-a-rpi4). I suspect overlayroot only works with NFSv4 (at least, I hope this is a way out of the quandary). However, when I use an NFSv4 address for nfsroot in cmdline.txt, I get "permissions denied" errors. Adding NFSv4 parameters (nfsvers=4, vers=4, rootfstype=nfs4) to cmdline.txt has no apparent effect: indeed, if I put in an NFSv3 address they get ignored completely. I have been working on this problem since April and have received no feedback at all on AskUbuntu (https://askubuntu.com/questions/1421606/rpi4-network-boot- configuration-error-or-bug), SuperUser (https://superuser.com/questions/1716358/how-to-netboot-a-raspberry-pi- with-tftp-and-nfs-on-a-synology-nas) or Launchpad (which I find difficult to navigate). It may not be a bug, in which case I apologise, but it looks like one to me and - without feedback - I have no way of determining whether it is or not. root@q-ubu:~# lsb_release -rd Description: Ubuntu 22.04.1 LTS Release: 22.04 ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-1012-raspi 5.15.0-1012.14 ProcVersionSignature: Ubuntu 5.15.0-1012.14-raspi 5.15.39 Uname: Linux 5.15.0-1012-raspi aarch64 ApportVersion: 2.20.11-0ubuntu82.1 Architecture: arm64 CasperMD5CheckResult: unknown Date: Thu Aug 4 22:34:34 2022 ImageMediaBuild: 20220419 ProcEnviron: SHELL=/bin/bash LANG=C.UTF-8 TERM=xterm-256color LC_CTYPE=C.UTF-8 PATH=(custom, no user) SourcePackage: linux-raspi UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: linux-raspi (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug arm64 arm64-image jammy raspi-image uec-images -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi in Ubuntu. https://bugs.launchpad.net/bugs/1983620 Title: Cannot netboot Raspberry Pi 4B with NFSv4 Status in linux-raspi package in Ubuntu: New Bug description: I am trying to do a network boot of Ubuntu 22.04 on a Raspberry Pi 4B (RPi4). I had the same problem previously with Ubuntu 20.04. I can network boot Ubuntu using TFTP if I specify nfsroot as an NFSv3 address. However, I then run into problems with overlayroot not working (see https://askubuntu.com/questions/1401854/why-doesnt- overlayroot-work-properly-with-a-net-booted-nfs-root-on-a-rpi4). I suspect overlayroot only works with NFSv4 (at least, I hope this is a way out of the quandary). However, when I use an NFSv4 address for nfsroot in cmdline.txt, I get "permissions denied" errors. Adding NFSv4 parameters (nfsvers=4, vers=4, rootfstype=nfs4) to cmdline.txt has no apparent effect: indeed, if I put in an NFSv3 address they get ignored completely. I have been working on this problem since April and have received no feedback at all on AskUbuntu (https://askubuntu.com/questions/1421606/rpi4-network-boot- configuration-error-or-bug), SuperUser (https://superuser.com/questions/1716358/how-to-netboot-a-raspberry- pi-with-tftp-and-nfs-on-a-synology-nas) or Launchpad (which I find difficult to navigate). It may not be a bug, in which case I apologise, but it looks like one to me and - without feedback - I have no way of determining whether it is or not. root@q-ubu:~# lsb_release -rd Description: Ubuntu 22.04.1 LTS Release: 22.04 ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-1012-raspi 5.15.0-1012.14 ProcVersionSignature: Ubuntu 5.15.0-1012.14-raspi 5.15.39 Uname: Linux 5.15.0-1012-raspi aarch64 ApportVersion: 2.20.11-0ubuntu82.1 Architecture: arm64 CasperMD5CheckResult: unknown Date: Thu Aug 4 22:34:34 2022 ImageMediaBuild: 20220419 ProcEnviron: SHELL=/bin/bash LANG=C.UTF-8 TERM=xterm-256color LC_CTYPE=C.UTF-8 PATH=(custom, no user) SourcePackage: linux-raspi UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1983620/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp