bin456789 / reinstall

一键DD/重装脚本 (One-click reinstall OS on VPS)
GNU General Public License v3.0
1.27k stars 224 forks source link

Ubuntu重装到Windows, 现在是在alpine, 该怎么进一步操作? #5

Closed nonlog closed 11 months ago

nonlog commented 1 year ago

我使用了

bash reinstall.sh windows \
    --iso=https://archive.org/download/tiny-10-NTDEV/tiny10%2023h1%20x64.iso \
    --image-name='Windows 10 Enterprise LTSC 2021'
reboot

现在重启是alpine, 请问下一步怎么做?

bin456789 commented 1 year ago

image-name不对?可以用dism++打开iso看下image-name

bin456789 commented 1 year ago

怕机器失联的话,可以现在安装alpine防止失联 umount -R /os /iso /wim setup-alpine

nonlog commented 1 year ago

image-name不对?可以用dism++打开iso看下image-name

image-name还有要求吗? 😲我随便输的, 这个是tiny10 精简版的镜像

nonlog commented 1 year ago

已经失联了😭 运行了setup-alpine到输密码那里连着敲回车, 断开就连不上了

nonlog commented 1 year ago

请问是要用这个image-name吗? image

bin456789 commented 1 year ago

dism++ 文件,打开映象文件 微信图片_20230705184358

nonlog commented 1 year ago

好的, 感谢

nonlog commented 1 year ago

image 是Windows 10 Enterprise LTSC 2021没有错, 是哪里的问题啊?

bin456789 commented 1 year ago

那就不清楚了,你可以试下原版有没有问题

bin456789 commented 1 year ago

这个镜像是esd格式的,不是官方常用的wim格式 目前脚本不支持,所以出错

KyonCN commented 11 months ago

已经失联了😭 运行了setup-alpine到输密码那里连着敲回车, 断开就连不上了

ubuntu装Ubuntu 重启后变alpine 在同样位置失联了

bin456789 commented 11 months ago

已经失联了😭 运行了setup-alpine到输密码那里连着敲回车, 断开就连不上了

ubuntu装Ubuntu 重启后变alpine 在同样位置失联了

装ubuntu,中间会重启到alpine,然后会再重启安装ubuntu 除非在vnc/web看到出错,或者在alpine里输入tail -f /reinstall.log 看到出错,否则不要在alpine里乱来

KyonCN commented 11 months ago

已经失联了😭 运行了setup-alpine到输密码那里连着敲回车, 断开就连不上了

ubuntu装Ubuntu 重启后变alpine 在同样位置失联了

装ubuntu,中间会重启到alpine,然后会再重启安装ubuntu 除非在vnc/web看到出错,或者在alpine里输入tail -f /reinstall.log 看到出错,否则不要在alpine里乱来

明白了,谢谢大佬

bin456789 commented 9 months ago

@happy201807 下载一份 trans.sh,将 xda=$(ls /dev/ | grep -Ex 'sda|hda|xda|vda|xvda|nvme0n1') 改成 xda=vda 运行 trans.sh

bin456789 commented 9 months ago

@happy201807 是的 方便的话顺便运行下面的命令,告诉我结果 cat /sys/block/sda/ro

happy201807 commented 9 months ago

@happy201807 是的 方便的话顺便运行下面的命令,告诉我结果 cat /sys/block/sda/ro

1

bin456789 commented 9 months ago

@happy201807 脚本昨天更新,修复了这种情况 按正常步骤安装,不用修改

bin456789 commented 9 months ago

@happy201807 日志太短,运行这个看看 tail -50 /reinstall.html

bin456789 commented 9 months ago

@happy201807 emmm,还是不够长 索性输入 cat /reinstall.html 吧 还有 cat /tmp/headers.log

bin456789 commented 9 months ago

@happy201807 已修复,现在应该没问题了

happy201807 commented 9 months ago

@happy201807 已修复,现在应该没问题了

ok

bin456789 commented 8 months ago

@happy201807 是之前那台双硬盘机? 那大概是 sda 被 windows 识别为第一个硬盘,所以安装失败 linux 下运行 lspci -nn 我看下有没有办法处理

bin456789 commented 8 months ago

@happy201807 试下用这个,参数不变 不行也没办法了 curl -O https://raw.githubusercontent.com/bin456789/reinstall/multidisk-win/reinstall.sh

happy201807 commented 8 months ago

@happy201807 试下用这个,参数不变 不行也没办法了 curl -O https://raw.githubusercontent.com/bin456789/reinstall/multidisk-win/reinstall.sh

可以进入安装程序。谢谢了