When executing the command
netplan apply to apply the configured ip, an error is reported:
blk_update_request: I/O error, dev fd0, sector 0
This error is reported because linux has loaded the
floppy floppy drive. My virtual machine does not have a floppy drive, and the floppy drive is loaded when the system starts.
Solved by turning off the floppy drive module
# sudo lsmod | grep -i floppy # sudo rmmod floppy # echo "blacklist floppy" | sudo tee /etc/modprobe.d/blacklist-floppy.conf # update-initramfs -u -k all # reboot
Restart and confirm that the floppy module is not enabled.
# lsmod | grep -i floppy