reinstall icon indicating copy to clipboard operation
reinstall copied to clipboard

飞牛OS安装失败,卡在modloop

Open T-Atlas opened this issue 6 months ago • 9 comments

原来的系统:centos7和ubuntu20都失败 要安装的系统:fnos 遇到的问题:截图或者登录 SSH 获取日志 /reinstall.log

(base) root@cloud22:/home# bash reinstall.sh fnos
***** PROMPT PASSWORD *****
Password [123@@@]: 
Retype password [123@@@]: 
http://www.qualcomm.cn/cdn-cgi/trace
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193    0   193    0     0   4701      0 --:--:-- --:--:-- --:--:--  4825
Location: CN
***** SET FINALOS FNOS *****
Type System Partition Size in GB. Minimal 8 GB. [8]: 64
https://fnnas.com/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1492k    0 1492k    0     0  1235k      0 --:--:--  0:00:01 --:--:-- 1236k
***** TEST URL *****
https://iso.liveupdate.fnnas.com/x86_64/trim/fnos-0.9.11-946.iso
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1024k  100 1024k    0     0  1688k      0 --:--:-- --:--:-- --:--:-- 1686k
File type: iso
***** SET NEXTOS ALPINE 3.22 *****
none
Installing package 'virt-what'...
Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease [128 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease [127 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 Packages [2665 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:6 https://dl.redpanda.com/nzc4ZYQK3WRGd9sy/redpanda/deb/ubuntu jammy InRelease [3535 B]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [980 kB]
Ign:8 https://download.docker.com/linux/ubuntu jammy InRelease
Get:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Translation-en [428 kB]
Get:10 https://dl.redpanda.com/nzc4ZYQK3WRGd9sy/redpanda/deb/ubuntu jammy/main amd64 Packages [103 kB]
Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 Packages [3714 kB]
Get:8 https://download.docker.com/linux/ubuntu jammy InRelease [48.8 kB]
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Translation-en [666 kB]
Fetched 8993 kB in 5s (1767 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  virt-what
0 upgraded, 1 newly installed, 0 to remove and 112 not upgraded.
Need to get 16.0 kB of archives.
After this operation, 50.2 kB of additional disk space will be used.
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 virt-what amd64 1.21-1 [16.0 kB]
Fetched 16.0 kB in 0s (147 kB/s)
                                Selecting previously unselected package virt-what.
(Reading database ... 152363 files and directories currently installed.)
Preparing to unpack .../virt-what_1.21-1_amd64.deb ...
Unpacking virt-what (1.21-1) ...
Setting up virt-what (1.21-1) ...
Processing triggers for man-db (2.10.2-1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 5.15.0-142-generic
NEEDRESTART-KEXP: 5.15.0-142-generic
NEEDRESTART-KSTA: 1
NEEDRESTART-UCSTA: 1
NEEDRESTART-UCCUR: 0xb000040
NEEDRESTART-UCEXP: 0xb000040
VM: false
***** DOWNLOAD VMLNUZ AND INITRD *****
http://mirror.nju.edu.cn/alpine/v3.22/releases/x86_64/netboot/vmlinuz-lts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.5M  100 12.5M    0     0  1921k      0  0:00:06  0:00:06 --:--:-- 1958k
http://mirror.nju.edu.cn/alpine/v3.22/releases/x86_64/netboot/initramfs-lts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25.6M  100 25.6M    0     0  1939k      0  0:00:13  0:00:13 --:--:-- 1958k
***** MOD ALPINE INITRD *****
152439 blocks
https://cnb.cool/bin456789/reinstall/-/git/raw/main/trans.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  230k    0  230k    0     0   670k      0 --:--:-- --:--:-- --:--:--  672k
https://cnb.cool/bin456789/reinstall/-/git/raw/main/initrd-network.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16290    0 16290    0     0  78359      0 --:--:-- --:--:-- --:--:-- 78695
http://mirror.nju.edu.cn/alpine/v3.22/main/x86_64/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1286k    0 1286k    0     0  1647k      0 --:--:-- --:--:-- --:--:-- 1647k
http://mirror.nju.edu.cn/alpine/v3.22/main/x86_64/dhcpcd-10.2.3-r0.apk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  164k  100  164k    0     0   738k      0 --:--:-- --:--:-- --:--:--  741k
***** NETWORK INFO *****
IPv4 MAC: ac:1f:6b:25:03:06
IPv4 Address: 10.x.x.x/24
IPv4 Gateway: 10.x.x.254
---
IPv6 MAC: 
IPv6 Address: 
IPv6 Gateway: 

***** DOWNLOAD GRUB EFI *****
https://mirror.nju.edu.cn/fedora/releases/42/Everything/x86_64/os/EFI/BOOT/grubx64.efi
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3943k  100 3943k    0     0  1792k      0  0:00:02  0:00:02 --:--:-- 1793k
BootNext: 0002
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0007,0008,0003,0001,0004
Boot0000* ubuntu
Boot0001* Hard Drive
Boot0002* reinstall (fnos)
Boot0003* Network Card
Boot0004* UEFI: Built-in EFI Shell
Boot0007* UEFI OS
Boot0008* ubuntu
***** MAIN DISK: SDA *****
F4A0A967-59BB-4A6F-9C74-2C104C4CEC52
***** GRUB *****
/boot/efi/EFI/reinstall/grub.cfg
set timeout_style=menu
set timeout=5
menuentry "reinstall (fnos)" --unrestricted {
    insmod lvm
    insmod all_video
    search --no-floppy --file --set=root /reinstall-vmlinuz
    linux /reinstall-vmlinuz alpine_repo=http://mirror.nju.edu.cn/alpine/v3.22/main modloop=http://mirror.nju.edu.cn/alpine/v3.22/releases/x86_64/netboot/modloop-lts console=ttyS0,115200n8 console=tty0  finalos_distro=fnos finalos_fnos_part_size=64G finalos_iso='https://iso.liveupdate.fnnas.com/x86_64/trim/fnos-0.9.11-946.iso'  extra_confhome='https://cnb.cool/bin456789/reinstall/-/git/raw/main' extra_main_disk=F4A0A967-59BB-4A6F-9C74-2C104C4CEC52
    initrd /reinstall-initrd
}
***** INFO *****
fnos 
Username: root
Password: 123@@@
Special note for FNOS:
Reboot to start the installation.
SSH login is disabled when installation completed.
You need to config the account and password on http://SERVER_IP:5666 as soon as possible.

飞牛 OS 注意事项:
重启后开始安装。
安装完成后不支持 SSH 登录。
你需要尽快在 http://SERVER_IP:5666 配置账号密码。
(base) root@cloud22:/home# reboot

vnc日志

Reinstalling...
To view logs run:
tail -fn+1 /reinstall.log
localhost:~# tail -fn+1 /reinstall.log
***** START TRANS *****
* Failed to verify signature of !
mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
* ERROR: modloop failed to start
* Failed to verify signature of !
mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
* ERROR: modloop failed to start
* Failed to verify signature of !
mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
* ERROR: modloop failed to start
* Failed to verify signature of !
mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
* ERROR: modloop failed to start
* Failed to verify signature of !
mount: mounting /dev/loop0 on /.modloop failed: Invalid argument
* ERROR: modloop failed to start
***** ERROR *****
Failed to start modloop.
Run '/trans.sh' to retry.
Run '/trans.sh alpine' to install Alpine Linux instead.

机器是本地机房里的实体机,系统盘是ssd,数据盘是阵列卡

T-Atlas avatar Jun 24 '25 12:06 T-Atlas

目测镜像源有问题,试下运行前把 reinstall.sh 的 nju 替换成其他

bin456789 avatar Jun 24 '25 12:06 bin456789

目测镜像源有问题,试下运行前把 reinstall.sh 的 nju 替换成其他

Image

我换成华为云后还是这样,感觉是没下完modloop就报错了

T-Atlas avatar Jun 25 '25 05:06 T-Atlas

Image

/trans.sh重试好像也不行

T-Atlas avatar Jun 25 '25 05:06 T-Atlas

手动启动 modloop 服务 再运行 /trans.sh 试下 不行就是没戏

bin456789 avatar Jun 25 '25 05:06 bin456789

手动启动 modloop 服务 再运行 /trans.sh 试下 不行就是没戏

很遗憾还是fail了,

Image Image

感觉就是loop0没有mount上去,不知道是不是因为阵列卡的原因

T-Atlas avatar Jun 25 '25 06:06 T-Atlas

看图 modloop (驱动) 已经挂载了 安装 lsblk 并运行 找不到系统盘表示没有你的驱动

bin456789 avatar Jun 25 '25 06:06 bin456789

看图 modloop (驱动) 已经挂载了 安装 lsblk 并运行 找不到系统盘表示没有你的驱动

那这个样子就是暂时没法了只能去物理机拿iso引导安装了吧?

T-Atlas avatar Jun 25 '25 08:06 T-Atlas

是的

bin456789 avatar Jun 25 '25 08:06 bin456789

是的

好吧,感谢开发者耐心的解答

T-Atlas avatar Jun 25 '25 08:06 T-Atlas