堪萨斯服务还是不错的 附带一下win的方法

71次阅读

共计 2360 个字符,预计需要花费 6 分钟才能阅读完成。

10 刀的机器 之前没有 Debian 和 pve
今天加上了 Debian10 和 pve6
系统都是自动化安装的

关于 DD win   可以参考一下方法

先使用原来的系统或者救援模式

这里建议使用 NAT.EE 大佬的包
wget -O- http:// 你自己 vps 做的直链 ip/ 系统包 |gunzip -dc |dd of=/dev/sda

之后再次安装救援模式

执行
ntfsfix /dev/sda1
ntfs-3g /dev/sda1 /mnt/windows

之后挂载 sftp  

打开 windows 文件夹,有一个 nat.cmd

编辑 setmode  = on

IP 设置你登陆的 IP
掩码 255.255.255.248
网关 , 你 IP 的 的前一位  如:ip 是 192.168.2.222  网关就是 192.168.2.221

之后保存,reboot 就行了

网友回复:

注册 那么问题来了,去哪里买?

weiai 没有 10 刀的机器

yanaxiao 啥机子

zxxx 看看 15 刀的有没有,应该也加了

天行九歌 选择哪一个?

weiai Debian10 不就可以安装 pve 了,应该也是帮你加了,如果你说 ddwin 的话。可以用 sysrcd 就行,4.3.1

zxxx 我试试,谢谢大佬!

weiai 哪里买

zxxx nat。ee 包可以  其他包大多数都不行。DD 过 N 次其他包都失败。但是 nat.ee 包太过精简。

注册 哪有 pve6 只有 5 啊

注册 ntfsfix /dev/sda1 ntfsfix -b -d /dev/sda1 Mounting volume… Failed to read last sector (31455231): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,    or it was not setup correctly (e.g. by not using mdadm –build …),    or a wrong device is tried to be mounted,    or the partition table is corrupt (partition is smaller than NTFS),    or the NTFS boot sector is corrupt (NTFS size is not valid). FAILED Attempting to correct errors… Failed to read last sector (31455231): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,    or it was not setup correctly (e.g. by not using mdadm –build …),    or a wrong device is tried to be mounted,    or the partition table is corrupt (partition is smaller than NTFS),    or the NTFS boot sector is corrupt (NTFS size is not valid). FAILED Failed to startup volume: Invalid argument Failed to read last sector (31455231): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,    or it was not setup correctly (e.g. by not using mdadm –build …),    or a wrong device is tried to be mounted,    or the partition table is corrupt (partition is smaller than NTFS),    or the NTFS boot sector is corrupt (NTFS size is not valid). Trying the alternate boot sector $MFT LCN (786432) or $MFTMirr LCN (2752383) is greater than the number of clusters (124671). Unrecoverable error Volume is corrupt. You should run chkdsk. 复制代码

OPlin ntfs-3g /dev/sda1 /mnt/windows ntfs-3g /dev/sda1 /mnt/windows Failed to read last sector (31455231): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,    or it was not setup correctly (e.g. by not using mdadm –build …),    or a wrong device is tried to be mounted,    or the partition table is corrupt (partition is smaller than NTFS),    or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount ‘/dev/sda1’: Invalid argument The device ‘/dev/sda1’ doesn’t seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? 复制代码

zxxx 这一步是要先 dd 包跑完之后再做的

zxxx 是的,感谢大佬提醒!

正文完
 0