logo NodeSeekbeta

略施巧计,飞跃 Hetzner 重装 AlpineLinux Ubuntu Windows 险阻

1234
  • @nazz #20 秋水的镜像支持的版本全,BIOS UEFI都有,而且有稳定的dd服务器连接,声誉好,所以用-windows参数dd安装的Windows,选用的都是来自他做的镜像,而且用-windows dd时的中介系统是alpineLinux,方便dd完重启到Windows之前,埋入一个自动配置静态ip和自动扩盘的脚本,重启后在vnc里登陆到桌面,这个脚本就能完成所需工作。如果担心Win10进程占用大,可以选择其他发行版,如-windows 2022,或者是用bash InstallNET.sh -dd '其他镜像源' ,用debian做中介系统dd,但缺点是只能纯dd,不支持自动配置静态ipv4和自动扩盘

  • @leitbogioro #21 嗯嗯,感谢回复

  • @leitbogioro #19 发布于8/21/2023, 7:00:48 PM
    @Not-Oles #15 Hello Sir, what about these days? Did script have some bugs?

    Chinese from Google Translate:

    不,先生! 没有错误。 您想要功能请求吗? 😃 NetBSD、OpenBSD 和 FreeBSD。😃
    No sir! No bugs. Do you want a feature request? 😃 NetBSD, OpenBSD, and FreeBSD. 😃

    我在凤凰城有一个额外的 Oracle Cloud VPS。 你想让我测试什么吗? 可以是任何东西。 不一定是 BSD。 😃
    I have an extra Oracle Cloud VPS in Phoenix. Do you want me to test anything? Can be anything. Doesn't have to be BSD. 😃

    [opc@instance-20220614-1523 ~]$ uname -r
    5.4.17-2136.321.4.1.el8uek.aarch64
    [opc@instance-20220614-1523 ~]$ nproc
    2
    [opc@instance-20220614-1523 ~]$ free -h
                  total        used        free      shared  buff/cache   available
    Mem:           10Gi       1.7Gi       4.1Gi       594Mi       5.0Gi       6.9Gi
    Swap:         4.0Gi       8.0Mi       4.0Gi
    [opc@instance-20220614-1523 ~]$  df -h .
    Filesystem                  Size  Used Avail Use% Mounted on
    /dev/mapper/ocivolume-root   39G   26G   14G  66% /
    [opc@instance-20220614-1523 ~]$ 
    

    Hetzner FSN 还拥有一台额外的裸机服务器。
    There also is an extra bare metal server at Hetzner FSN.

    我们可以在该服务器上测试任何内容。
    We could test anything on this server.

    Rescue System up since 2023-08-08 19:21 +02:00
    
    Last login: Wed Aug 16 22:01:45 2023 from 187.189.238.1
    Hardware data:
    
       CPU1: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (Cores 16)
       Memory:  128744 MB
       Disk /dev/nvme0n1: 1024 GB (=> 953 GiB) doesn't contain a valid partition table
       Disk /dev/nvme1n1: 1024 GB (=> 953 GiB) doesn't contain a valid partition table
       Total capacity 1907 GiB with 2 Disks
    
    Network data:
       eth0  LINK: yes
             MAC:  redacted
             IP:   redacted
             IPv6:  redacted
             Intel(R) PRO/1000 Network Driver
    
    root@rescue ~ # cat /proc/cpuinfo | grep model | head -n 2
    model           : 158
    model name      : Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    root@rescue ~ # 
    
  • @Not-Oles #23 Not at all, thanks Sir. I registered a Hetzner VAT free account recently so that I can test my script on the Hetzner at any time. I also have a various accounts of Oracle to make sure all reinstallations can be executed smoothly on a numbers of arm64 and amd64 architecture machines.

    I also did a lot of works to make sure the releases which are supported by script can be installed on the irregular IPv4 environment such as:

    1. Public IPv4 address with a private IPv4 gateway such as 56..78.90.42 with 172.31.1.1;
    2. Public IPv4 address with a public IPv4 gateway and they are different from A class such as 56.78.90.214 and 42.65.91.1;
    3. IPv4 address and IPv4 gateway in same A and B or with C class such as 56.78.90.214 and 56.78.90.1 but subnet is too narrow to meet up with valid values to fulfill the requirements for Debian Kali AlpineLinux installer.

    I did some soft hacks to make sure the releases of above can be installed on these complex network enviroments.

  • @leitbogioro #24

    听起来很棒! 保持了出色的工作!
    Sounds great! Keep up the excellent work!

  • @leitbogioro #18 大佬可否提供一下centos9的脚本呢,以为GCP DD的时候,是需要写入内网ip和掩码的

  • @jojotu #26 脚本能装CentOS 9 stream,运行时添加-centos 9参数就行了

  • @jojotu #26 如果需要强制对网络进行静态配置,再添加--network "static"参数即可

  • @leitbogioro #27 多谢多谢,已经在gcp 测试成功

  • @jojotu #29 嗯,gcp奇怪的一点是,虽然读取原系统中的网络配置是动态的,但重装时必须指定静态才能安装成功,不知道原因为何

1234

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

📈用户数目📈

目前论坛共有15787位seeker

🎉欢迎新用户🎉