关于天翼云dd
本帖最后由 ShqBql 于 2024-10-29 20:45 编辑用的https://github.com/bin456789/reinstall
如下写法不对吗?
[*]bash reinstall.sh windows \
[*] --image-name 'Windows 10 Enterprise LTSC 2021' \
[*] --iso 'https://drive.massgrave.dev/zh-cn_windows_10_enterprise_ltsc_2021_x64_dvd_033b7312.iso'复制代码
以下为输出,貌似正常没报错啊。
[*]root@vm:~# bash reinstall.sh windows \
[*] --image-name 'Windows 10 Enterprise LTSC 2021' \
[*] --iso 'https://drive.massgrave.dev/zh-cn_windows_10_enterprise_ltsc_2021_x64_dvd_033b7312.iso'
[*]Password :
[*]Retype password :
[*]http://dash.cloudflare.com/cdn-cgi/trace
[*]% Total % Received % XferdAverage Speed Time Time TimeCurrent
[*] DloadUpload Total Spent LeftSpeed
[*]100 202 0 202 0 0 197 0 --:--:--0:00:01 --:--:-- 197
[*]***** SET FINALOS WINDOWS *****
[*]***** TEST URL *****
[*]https://drive.massgrave.dev/zh-cn_windows_10_enterprise_ltsc_2021_x64_dvd_033b7312.iso
[*]% Total % Received % XferdAverage Speed Time Time TimeCurrent
[*] DloadUpload Total Spent LeftSpeed
[*]100 1024k100 1024k 0 0 509k 00:00:020:00:02 --:--:--509k
[*]File type: iso
[*]***** SET NEXTOS ALPINE 3.20 *****
[*]kvm
[*]VM: true
[*]***** DOWNLOAD VMLNUZ AND INITRD *****
[*]http://mirror.nju.edu.cn/alpine/v3.20/releases/x86_64/netboot/vmlinuz-virt
[*]% Total % Received % XferdAverage Speed Time Time TimeCurrent
[*] DloadUpload Total Spent LeftSpeed
[*]100 10.3M100 10.3M 0 041.2M 0 --:--:-- --:--:-- --:--:-- 41.2M
[*]http://mirror.nju.edu.cn/alpine/v3.20/releases/x86_64/netboot/initramfs-virt
[*]% Total % Received % XferdAverage Speed Time Time TimeCurrent
[*] DloadUpload Total Spent LeftSpeed
[*]100 8640k100 8640k 0 043.0M 0 --:--:-- --:--:-- --:--:-- 43.0M
[*]***** MOD ALPINE INITRD *****
[*]52864 blocks
[*]https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/trans.sh
[*]% Total % Received % XferdAverage Speed Time Time TimeCurrent
[*] DloadUpload Total Spent LeftSpeed
[*]100157k 0157k 0 059947 0 --:--:--0:00:02 --:--:-- 59947
[*]https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/alpine-network.sh
[*]% Total % Received % XferdAverage Speed Time Time TimeCurrent
[*] DloadUpload Total Spent LeftSpeed
[*]100 11317 0 11317 0 017121 0 --:--:-- --:--:-- --:--:-- 17095
[*]***** NETWORK INFO *****
[*]IPv4 MAC: fa:16:3a:78:39:ce
[*]IPv4 Address: 10.0.0.162/24
[*]IPv4 Gateway: 10.0.0.1
[*]---
[*]IPv6 MAC:
[*]IPv6 Address:
[*]IPv6 Gateway:
[*]
[*]27M .
[*]20M .
[*]***** MAIN DISK: VDA *****
[*]cdf8af29
[*]Generating grub configuration file ...
[*]Found linux image: /boot/vmlinuz-5.10.0-26-amd64
[*]Found initrd image: /boot/initrd.img-5.10.0-26-amd64
[*]Warning: os-prober will be executed to detect other bootable partitions.
[*]Its output will be used to detect bootable binaries on them and create new boot entries.
[*]done
[*]***** GRUB *****
[*]/boot/grub/custom.cfg
[*]set timeout_style=menu
[*]set timeout=5
[*]menuentry "reinstall (windows)" --unrestricted {
[*] insmod lvm
[*] insmod all_video
[*] search --no-floppy --file --set=root /reinstall-vmlinuz
[*] linux /reinstall-vmlinuz alpine_repo=http://mirror.nju.edu.cn/alpine/v3.20/main modloop=http://mirror.nju.edu.cn/alpine/v3.20/releases/x86_64/netboot/modloop-virt console=ttyS0,115200n8 console=tty0finalos_distro=windows finalos_image_name='windows 10 enterprise ltsc 2021' finalos_iso='https://drive.massgrave.dev/zh-cn_windows_10_enterprise_ltsc_2021_x64_dvd_033b7312.iso'extra_confhome='https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main' extra_main_disk=cdf9af29
[*] initrd /reinstall-initrd
[*]}
[*]***** INFO *****
[*]windows
[*]Username: administrator
[*]Password: 123@@@
[*]Reboot to start the installation.复制代码
没问题啊。今天DD成功了win2008r2
安装一个小应用不错
fzaas 发表于 2024-10-29 20:04
没问题啊。今天DD成功了win2008r2
安装一个小应用不错
35元的天翼云吗?
你用的哪个脚本?
ShqBql 发表于 2024-10-29 20:07
35元的天翼云吗?
你用的哪个脚本?
就是这个脚本啊。
fzaas 发表于 2024-10-29 20:08
就是这个脚本啊。
我再研究研究。 本帖最后由 fzaas 于 2024-10-29 20:16 编辑
ShqBql 发表于 2024-10-29 20:12
我再研究研究。
用的nat.ee 的系统
https://downsoft.cn/files/os/dd/natee
bash reinstall.sh dd --img https://example.com/xxx.xz
页:
[1]