Ubuntu11.10 kvm Fix: failed to find romfile "pxe-rtl8139.bin"

本文介绍了解决在使用QEMU-kvm进行虚拟机启动时遇到的“pxe-rtl8139.bin”文件缺失问题的方法。通过下载特定的pxe网卡固件文件并将其移动到正确的位置,可以有效解决这一错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

how to get pxe-rtl8139.bin ? 
While trying to boot image with network interface card "-net nic" with this command
sudo kvm -m 256 -cdrom ubuntu-11.10-server-amd64.iso -drive file=server.img,if=scsi,index=0 -boot d -net nic -net user -nographic -vnc :0


I faced this error,
Could not initialize KVM, will disable KVM support pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin" 

I installed the QEMU-kvm under Ubuntu 11.10 and I think that this problem appears only for Ubuntu.
and here is the fix

wget -O pxe-ne2k_pci.bin http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/pc-bios/pxe-ne2k_pci.bin?root=qemu
wget -O pxe-rtl8139.bin http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/pc-bios/pxe-rtl8139.bin?root=qemu
wget -O pxe-e1000.bin http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/pc-bios/pxe-e1000.bin?root=qemu
sudo mv pxe*.bin /usr/share/qemu/


2025-03-26 14:10:04.513 ERROR 4128 --- [nio-8889-exec-1] c.f.c.s.exception.BaseExceptionHandler : 服务器异常:[503] during [POST] to [http://lc-home-service-toolkit/toolkit/rpc/sms/verify/code/check] [SmsFeignClient#verifyCodeCheck(SmsVerifyCodeSendReq)]: [Load balancer does not contain an instance for the service lc-home-service-toolkit] feign.FeignException$ServiceUnavailable: [503] during [POST] to [http://lc-home-service-toolkit/toolkit/rpc/sms/verify/code/check] [SmsFeignClient#verifyCodeCheck(SmsVerifyCodeSendReq)]: [Load balancer does not contain an instance for the service lc-home-service-toolkit] at feign.FeignException.serverErrorStatus(FeignException.java:256) ~[feign-core-11.10.jar:na] at feign.FeignException.errorStatus(FeignException.java:197) ~[feign-core-11.10.jar:na] at feign.FeignException.errorStatus(FeignException.java:185) ~[feign-core-11.10.jar:na] at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[feign-core-11.10.jar:na] at feign.AsyncResponseHandler.handleResponse(AsyncResponseHandler.java:98) ~[feign-core-11.10.jar:na] at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:141) ~[feign-core-11.10.jar:na] at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:91) ~[feign-core-11.10.jar:na] at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ~[feign-core-11.10.jar:na] at com.sun.proxy.$Proxy153.verifyCodeCheck(Unknown Source) ~[na:na] at com.greentown.home.service.user.service.impl.AuthServiceImpl.login(AuthServiceImpl.java:69) ~[classes/:na] at com.greentown.home.service.user.service.impl.AuthServiceImpl$$FastClassBySpringCGLIB$$a0a76419.invoke(<generated>) ~[classes/:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.31.jar:5.3.31] at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) ~[spring-aop-5.3.31.jar:5.3.31] at org.springframework.aop.framework.CglibAopProx
03-27
(py27) dwh@PC:~$ import cv2 Command 'import' not found, but can be installed with: sudo apt install graphicsmagick-imagemagick-compat # version 1.4+really1.3.35-1ubuntu0.1, or sudo apt install imagemagick-6.q16 # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 sudo apt install imagemagick-6.q16hdri # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 (py27) dwh@PC:~$ import networkx Command 'import' not found, but can be installed with: sudo apt install graphicsmagick-imagemagick-compat # version 1.4+really1.3.35-1ubuntu0.1, or sudo apt install imagemagick-6.q16 # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 sudo apt install imagemagick-6.q16hdri # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 (py27) dwh@PC:~$ import rospkg Command 'import' not found, but can be installed with: sudo apt install graphicsmagick-imagemagick-compat # version 1.4+really1.3.35-1ubuntu0.1, or sudo apt install imagemagick-6.q16 # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 sudo apt install imagemagick-6.q16hdri # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 (py27) dwh@PC:~$ import rospy Command 'import' not found, but can be installed with: sudo apt install graphicsmagick-imagemagick-compat # version 1.4+really1.3.35-1ubuntu0.1, or sudo apt install imagemagick-6.q16 # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 sudo apt install imagemagick-6.q16hdri # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 (py27) dwh@PC:~$ from simple_pid import PID from: can't read /var/mail/simple_pid (py27) dwh@PC:~$ import transforms3d Command 'import' not found, but can be installed with: sudo apt install graphicsmagick-imagemagick-compat # version 1.4+really1.3.35-1ubuntu0.1, or sudo apt install imagemagick-6.q16 # version 8:6.9.10.23+dfsg-2.1ubuntu11.10 sudo apt install imagemagick-6.q16hdri # version 8:6.9.10.23+dfsg-2.1ubuntu11.10
03-16
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值