您尚未登录。

#1 2018-01-07 18:56:14

oneonek
会员
注册时间: 2016-02-05
帖子: 4

[已解决]用Vps2arch 转换VPS的问题

(因为使用了32位系统的问题,导致vps2arch脚本无法进行)感谢 dalao


搬瓦工的KVM 512m 10G VPS


如下
-

root@host ~]# bash vps2arch
--2018-01-07 05:34:36--  https://www.archlinux.org/mirrorlist/?c … _version=4
Resolving www.archlinux.org... 138.201.81.199, 2a01:4f8:172:1d86::1
Connecting to www.archlinux.org|138.201.81.199|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24570 (24K) [text/plain]
Saving to: “STDOUT”

100%[==================>] 24,570      --.-K/s   in 0.002s

2018-01-07 05:34:37 (13.7 MB/s) - written to stdout [24570/24570]

--2018-01-07 05:34:37--  https://archlinux.surlyjake.com/archlin … a1sums.txt
Resolving archlinux.surlyjake.com... 192.161.179.127, 2607:fcd0:106:3209::c824:304
Connecting to archlinux.surlyjake.com|192.161.179.127|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://server60.nspops.com/~foobarco/is … a1sums.txt [following]
--2018-01-07 05:34:37--  http://server60.nspops.com/~foobarco/is … a1sums.txt
Resolving server60.nspops.com... 69.12.87.130
Connecting to server60.nspops.com|69.12.87.130|:80... connected.
HTTP request sent, awaiting response... 509 Bandwidth Limit Exceeded
2018-01-07 05:34:37 ERROR 509: Bandwidth Limit Exceeded.

--2018-01-07 05:34:37--  http://mirrors.evowise.com/archlinux/is … a1sums.txt
Resolving mirrors.evowise.com... 104.19.137.75, 104.19.138.75, 104.19.139.75, ...
Connecting to mirrors.evowise.com|104.19.137.75|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: “STDOUT”

    [ <=>               ] 161         --.-K/s   in 0s

2018-01-07 05:34:37 (21.7 MB/s) - written to stdout [161]

[root@host ~]#

然后找到 加参数 -m,,如下
------------------------------------------------------------------------------------------------

[root@host ~]# ./vps2arch -m http://mirrors.163.com/archlinux -b syslinux
-2018-01-06 22:59:47-  http://mirrors.163.com/archlinux/iso/la … a1sums.txt
Resolving mirrors.163.com... 59.111.0.251
Connecting to mirrors.163.com|59.111.0.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 161 [text/plain]
Saving to: “STDOUT”

100%[===============================================================================================>] 161         --.-K/s   in 0s

2018-01-06 22:59:48 (18.7 MB/s) - written to stdout [161/161]

--------------------------------------------------------------------------------------------------------

最近编辑记录 oneonek (2018-01-08 09:43:04)

离线

#2 2018-01-07 21:17:17

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: [已解决]用Vps2arch 转换VPS的问题

问题在哪里?

离线

#3 2018-01-07 21:49:07

oneonek
会员
注册时间: 2016-02-05
帖子: 4

Re: [已解决]用Vps2arch 转换VPS的问题

依云 说:

问题在哪里?

不知道,到那里就退出了,也没有提示转换完成,

用Vps2arch这个脚本,将VPS上的Debian转为Arch ,重启应该是Arch才对,,但,不起作用

离线

#4 2018-01-07 22:40:38

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: [已解决]用Vps2arch 转换VPS的问题

跑完之后,echo $? 看看是多少?

uname -m 的输出是?

离线

#5 2018-01-08 00:55:35

oneonek
会员
注册时间: 2016-02-05
帖子: 4

Re: [已解决]用Vps2arch 转换VPS的问题

依云 说:

跑完之后,echo $? 看看是多少?

uname -m 的输出是?



[root@debian:~]
$ echo $?
1
[root@debian:~]
$ uname -m
i686
[root@debian:~]
$


实体机的VM Debian 跑那个脚本输出的信息和VPS上不一样,,VPS上,应该是不成功吧,,因为所有的之前下载的文件都还存在着

离线

#6 2018-01-08 09:00:20

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: [已解决]用Vps2arch 转换VPS的问题

果然。你的 vps 是32位的,Arch 已经不支持了。

离线

#7 2018-01-08 09:41:34

oneonek
会员
注册时间: 2016-02-05
帖子: 4

Re: [已解决]用Vps2arch 转换VPS的问题

依云 说:

果然。你的 vps 是32位的,Arch 已经不支持了。


dalao神人也,,,,果然是32位的问题,重装个64位的系统就能继续的下去了,,感谢!!

蛤蛤,,耍机去~~

离线

页脚