爱快安装

使用腾讯云主机vps来搭建爱快软路由。下载引导的工具memdisk来引导iso光盘镜像。用此方法,也可以安装其他的光盘镜像。

通过引导,加载其他的镜像,并启动。

参考文章地址:腾讯云vps安装爱快路由系统

安装脚本

保存为run.sh

使用命令: sh run.sh <版本>

#!/bin/bash

# 指定版本,则直接下载,否则,直接使用仓库的 软件包
image=$1
if [ -z "$1" ];then
    image=iKuai8_x64_3.5.12_Build202201211053.iso
else
    wget https://www.ikuai8.com/download.php?n=/3.x/iso/$image
    wget https://www.kernel.org/pub/linux/utils/boot/syslinux/6.xx/syslinux-6.03.tar.xz
fi


tar Jxvf syslinux-6.03.tar.xz

cp syslinux-6.03/bios/memdisk/memdisk  /

sed 's#GRUB_TIMEOUT=.*$#GRUB_TIMEOUT=30#'  /etc/default/grub

update-grub

echo '请使用 reboot命令重启'
echo '然后在vnc界面 使用c 编辑引导,代码如下'

echo "

insmod memdisk
linux16 /memdisk iso
initrd16 $PWD/$image
boot
"

启动相关的知识:https://forum.ubuntu.org.cn/viewtopic.php?t=490036

DD纯净版Centos、Debian、Ubuntu到搬瓦工VPS http://mlldxe.cn/archives/654

# Ubuntu 18.04 64位:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 18.04 -v 64 -a