侧边栏壁纸
博主头像
土拨鼠说Halo 博主等级

行动起来,活在当下

  • 累计撰写 42 篇文章
  • 累计创建 3 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

[转载]莫老师的PVE搭建教程

土拨鼠
2025-02-15 / 0 评论 / 0 点赞 / 1 阅读 / 0 字

视频介绍 利用PVE虚拟机,安装Windows和Linux系统,并优化配置 (youtube.com)

EP155 - 利用PVE虚拟机,安装黑群晖和黑苹果,All In One运行5个系统(AIO打造第三集)

● DSM7.21引导(来自@GXNAS):https://pan.quark.cn/s/f29ca7a66bc2

● GXNAS博客:https://wp.gxnas.com/11849.html

● DSM7.21官方固件:https://pan.quark.cn/s/d90407800171

● img2kvm脚本:https://pan.quark.cn/s/634c129636d4

● MobaXterm(官网):https://mobaxterm.mobatek.net

● 虚拟机专用MacOS系统镜像:https://pan.quark.cn/s/9e7ed6d26d09

● KVM-OpenCore引导:https://pan.quark.cn/s/5f26761f4850

○ 以下为需要敲的代码

#给img2kvm权限

chmod +x img2kvm

#执行磁盘格式转换(注意替换虚拟机ID)

./img2kvm DS918_7.21-69057.img 103 vm-103-disk-1

#在PVE Shell中编辑Opencore引导文件(注意替换虚拟机ID)

nano /etc/pve/qemu-server/104.conf

#Intel CPU添加这段到Opencore引导文件头部

args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on

#AMD CPU添加这段到Opencore引导文件头部

args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on

#修改ide0这行的media=cdrom为

cache=unsafe

#修改ide2这行的media=cdrom为

cache=unsafe

#启动OpenCore引导后输入

fs0:

#编辑OpenCore引导路径

System\Library\CoreServices\Boot.efi

EP154 - 利用PVE虚拟机,安装Windows和Linux系统,并优化配置(AIO打造第二集)

● Windows镜像(MSDN):https://visualstudio.microsoft.com/zh-hans/msdn-platforms

● Windows镜像(仓储站):https://hellowindows.cn

● Win10LTSC镜像:https://pan.quark.cn/s/dac57b63096e

● VirtIO驱动镜像:https://pan.quark.cn/s/fd419d8611bd

● Ubuntu(官网):https://cn.ubuntu.com/download

● Ubuntu20.4镜像:https://pan.quark.cn/s/c1bba37ab249

● MobaXterm(官网):https://mobaxterm.mobatek.net

● pve_source脚本:https://wwp.lanzoul.com/ivHta1ngmo6d (密码:i1ws)

○ 以下为需要敲的代码

#解压pve_source脚本

tar zxvf pve_source.tar.gz

#运行pve_source脚本

./pve_source

EP153 - 利用PVE虚拟机,来打造属于自己的All In One系统吧!(AIO打造第一集)

● Proxmox VE虚拟机(官网):https://pve.proxmox.com

● Proxmox VE虚拟机(安装镜像):https://pan.quark.cn/s/f62df17918a3

● img2kvm脚本:https://pan.quark.cn/s/634c129636d4

● BalenaEtcher(官网):https://etcher.balena.io/

● BalenaEtcher:https://pan.quark.cn/s/dd0eb5dac656

● MobaXterm(官网):https://mobaxterm.mobatek.net

● OpenWRT(安装镜像):https://pan.quark.cn/s/63cda803abeb

○ 以下为需要敲的代码

#给img2kvm权限

chmod +x img2kvm

#执行磁盘格式转换

./img2kvm openwrt-23.05.img 100 vm-100-disk-1

#编辑OpenWRT的IP地址

vi /etc/config/network
0

评论区