找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4110|回复: 12

[openwrt(x86)] OpenWRT as qemu host直接运行苹果MAC系统

[复制链接]
发表于 2020-3-5 09:54 | 显示全部楼层 |阅读模式
本帖最后由 sqmm 于 2020-3-7 10:42 编辑

我最近在OpenWRT上直接运行MAC OS,觉得跑跑编译还行。需要用到我之前编译的带有VNC的Qemu 4.2, 见我之前发的帖子。
https://www.right.com.cn/forum/thread-2500534-1-1.html


注意
玩软路由千万别中毒,我现在主力电脑(3代i5)的处理器顶不过我的路由器(8代i7)。
在我家的50m电信通上,上网速度跟那种10块钱一个的垃圾路由是一样的。



两个VM一起运行,用novnc连接。

基于这个帖子,我使用了它的配置https://github.com/foxlet/macOS-Simple-KVM/blob/master/README.md

我的运行参数是:
OVMF="./"
qemu-system-x86_64 -enable-kvm -m 8G -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\
          -machine q35 -smp 4,cores=2 \
          -drive if=pflash,format=raw,readonly,file=$OVMF/OVMF_CODE.fd \
          -drive if=pflash,format=raw,file=$OVMF/OVMF_VARS-1024x768.fd \
          -smbios type=2 \
\
          -usb -device usb-kbd -device usb-tablet \
          -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
\
          -device ich9-intel-hda -device hda-duplex \
          -device ich9-ahci,id=sata \
\
          -drive id=Clover,if=none,snapshot=on,format=qcow2,file=./'Catalina/CloverNG.qcow2' \
          -device ide-hd,bus=sata.2,drive=Clover \
\
          -drive id=InstallMedia,if=none,file=/dev/sdc,format=raw \
          -device ide-hd,bus=sata.3,drive=InstallMedia \
\
          -netdev bridge,br=br-lan,id=br0 \
          -device vmxnet3,mac=52:54:00:c9:18:27,netdev=br0 \
          -monitor stdio \
          -vnc :0







本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-3-5 09:59 | 显示全部楼层
又走火入魔一个,拖走吧……

点评

好像是的。  发表于 2020-3-5 10:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 10:29 | 显示全部楼层
我觉得还可以抢救一下

点评

100块钱包邮解愁对吗?  详情 回复 发表于 2020-3-5 10:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-5 10:30 | 显示全部楼层
tangn 发表于 2020-3-5 10:29
我觉得还可以抢救一下

100块钱包邮解愁对吗?

点评

楼主好久没有更新技术贴了,能否再研究一下在openwrt x86系统qemu环境下安装NAS系统,比如DSM黑群晖,有大神把黑群晖的安装IPK文件都做出来了, ***s://github.com/ykxVK8yL5L/luci-app-synology  发表于 2022-3-29 11:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 11:10 | 显示全部楼层
桌面级平台有5代酷睿你主力机是笔记本

点评

刚才看了看,3代  详情 回复 发表于 2020-3-5 11:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-5 11:18 | 显示全部楼层
twistfate 发表于 2020-3-5 11:10
桌面级平台有5代酷睿你主力机是笔记本

刚才看了看,3代
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 12:15 | 显示全部楼层
老兄可太强了。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 17:15 | 显示全部楼层
看看能不能弄个luci添加操作界面 ,可以用这个WEB的VNC直接操作系统https://github.com/novnc/noVNC
https://github.com/novnc/websockify

点评

试了一下,确实挺方便的。现在越来越觉得pve不怎么样了。  发表于 2020-3-7 10:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-3-29 11:16 | 显示全部楼层
楼主好久没有更新技术贴了,能否再研究一下在openwrt x86系统qemu环境下安装NAS系统,比如DSM黑群晖,有大神把黑群晖的安装IPK文件都做出来了,
https://github.com/ykxVK8yL5L/luci-app-synology
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-4-12 15:07 | 显示全部楼层
j1900可以搞吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 01:43

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表