staging.inyokaproject.org

Netzwerkboot Raspberry Pi 4 ... Updates laufen nicht durch

Status: Gelöst | Ubuntu-Version: Ubuntu 20.04 (Focal Fossa)
Antworten |

Senifor79

Anmeldungsdatum:
22. Februar 2012

Beiträge: 424

Hallo zusammen,

ich habe einen 2 Raspberry Pis 4. Der erste ist als Server eingerichtet und stellt für den zweiten über tftp und nfs das BS bereit. Das Booting übers Netzwerk funktioniert auch soweit. Jetzt hab ich aber festgestellt, dass die Updates nicht durchlaufen. Ich erhalte folgenden fehler:

Error: missing /boot/firmware, did you forget to mount it?
dpkg: error processing package u-boot-rpi:arm64 (--configure):
 installed u-boot-rpi:arm64 package post-installation script subprocess returned error exit status 1
Setting up linux-firmware (1.187.16) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-1042-raspi
Warning: root device 192.168.1.99:/nfs/raspberry/534f04a8 does not exist
W: Couldn't identify type of root file system for fsck hook
Using DTB: bcm2711-rpi-4-b.dtb
Installing /lib/firmware/5.4.0-1042-raspi/device-tree/broadcom/bcm2711-rpi-4-b.dtb into /boot/dtbs/5.4.0-1042-raspi/./bcm2711-rpi-4-b.dtb
Taking backup of bcm2711-rpi-4-b.dtb.
Installing new bcm2711-rpi-4-b.dtb.
Installing /lib/firmware/5.4.0-1042-raspi/device-tree/broadcom/bcm2711-rpi-4-b.dtb into /boot/dtbs/5.4.0-1042-raspi/./bcm2711-rpi-4-b.dtb
Taking backup of bcm2711-rpi-4-b.dtb.
Installing new bcm2711-rpi-4-b.dtb.
flash-kernel: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-5.4.0-1038-raspi
Warning: root device 192.168.1.99:/nfs/raspberry/534f04a8 does not exist
W: Couldn't identify type of root file system for fsck hook
Using DTB: bcm2711-rpi-4-b.dtb
Installing /lib/firmware/5.4.0-1038-raspi/device-tree/broadcom/bcm2711-rpi-4-b.dtb into /boot/dtbs/5.4.0-1038-raspi/./bcm2711-rpi-4-b.dtb
Taking backup of bcm2711-rpi-4-b.dtb.
Installing new bcm2711-rpi-4-b.dtb.
Ignoring old or unknown version 5.4.0-1038-raspi (latest is 5.4.0-1042-raspi)
update-initramfs: Generating /boot/initrd.img-5.4.0-1028-raspi
cat: /var/tmp/mkinitramfs_aBNwDg/lib/modules/5.4.0-1028-raspi/modules.builtin: No such file or directory
Warning: root device 192.168.1.99:/nfs/raspberry/534f04a8 does not exist
W: Couldn't identify type of root file system for fsck hook
depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_aBNwDg/lib/modules/5.4.0-1028-raspi: No such file or directory
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_aBNwDg/lib/modules/5.4.0-1028-raspi: No such file or directory
Using DTB: bcm2711-rpi-4-b.dtb
Couldn't find DTB bcm2711-rpi-4-b.dtb on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image-5.4.0-1028-raspi /lib/firmware/5.4.0-1028-raspi/device-tree/
Installing  into /boot/dtbs/5.4.0-1028-raspi/./bcm2711-rpi-4-b.dtb
cp: cannot stat '': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-1042-raspi

Meine Exports auf dem Server sieht wie folgt aus:

# /etc/exports: the access control list for filesystems which may be exported
#		to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#
/nfs/raspberry/5579d87f	*(rw,sync,nohide,no_root_squash)
/nfs/raspberry/534f04a8	*(rw,sync,nohide,no_root_squash)
/nfs/raspberry/a10d3c92	*(rw,sync,nohide,no_root_squash)

/srv/tftp/5579d87f	*(rw,sync,nohide,no_root_squash)
/srv/tftp/534f04a8	*(rw,sync,nohide,no_root_squash)
/srv/tftp/a10d3c92	*(rw,sync,nohide,no_root_squash)

Das Verzeichnis /boot/firmware ist auf jeden Fall da und alle Dateien sind vorhanden.

Weiß jemand, was das Problem sein könnte ? Oder wie ich es herausfinden könnte ?

Vielen Dank.

Viele Grüße Senifor

Senifor79

(Themenstarter)

Anmeldungsdatum:
22. Februar 2012

Beiträge: 424

Ich habe die nfs Einträge aus der fstab rausgenommen. Jetzt funktioniert wieder alles ....

Antworten |