安装系统总是提示未连接到网络无法继续


安装系统时总是提示这两项无法成功,网络是正常的也可以上网。


按照这个方法操作也不行 RebornOS Installer Fails - Temporary workaround to install

Hi @赎魂者 ,

This happens because the common internet check URLs we use are blocked in your country.

To fix it, it may be helpful to open the Forum in a browser on the ISO to follow the below steps:

Please modify /usr/bin/cnchi-start.sh like below:

sudo gedit /usr/bin/cnchi-start.sh

The file /usr/bin/cnchi-start.sh before modification:

sudo rm /home/rebornos/Downloads/mirrorlist
sudo chmod 644 /etc/pacman.conf
sudo chmod 0777 /usr/share/cnchi/scripts/ckbcomp
sudo -E /usr/bin/python -Wall /usr/share/cnchi/src/cnchi.py -dvz --no-check --packagelist /usr/share/cnchi/data/packages.xml

The file /usr/bin/cnchi-start.sh after modification:

sudo rm /home/rebornos/Downloads/mirrorlist
sudo chmod 644 /etc/pacman.conf
sudo chmod 0777 /usr/share/cnchi/scripts/ckbcomp

if [ "$#" -eq 1 ]; then
    if echo "$1" | grep -q -E '(\b25[0-5]|\b2[0-4][0-9]|\b[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}'; then
        echo "IP address received for checking the internet: $1"
        reversed_ip=$(echo -n "$1." | tac -s'.' | sed 's/.$//')
        sudo sed -i "s/1.1.1.1/$reversed_ip/g" /usr/share/cnchi/src/misc/extra.py
    else
        echo "ERROR: Invalid IP: $1..."
        echo "Please run again with a valid IP address of the form abc.def.ghi.jkl"
        exit 1
    fi
fi

sudo -E /usr/bin/python -Wall /usr/share/cnchi/src/cnchi.py -dvz --no-check --packagelist /usr/share/cnchi/data/packages.xml

Then run:

sudo cnchi-start.sh 127.0.0.1

image
I did exactly what you said and it still doesn’t work.

@赎魂者

Sorry, I was asleep. Could you repeat the same steps as above but instead of 127.0.0.1 use an IP address like 223.6.6.6 that is not blocked in your country?

When you reboot into the ISO, it starts fresh, so you will need to repeat the above steps. However, the trick is to replace 127.0.0.1 with an IP that works in your country. 223.6.6.6 possibly works in China.

I’ve tried this method,but it still doesn’t work. Try again.

Hi @赎魂者 ,

Try

ping 223.6.6.6

on your terminal and see if you get a response. Can you think of any other IP address you could use that works?
How about trying 0.0.0.0 ?

Are you sure there was no error while entering the IP address? If not, can you share the output here?

Thanks,this time it’s ok.
Installation is now in progress.


And,the disk partition could not be edited.

Hi @赎魂者 ,

The version of Cnchi installer and ISO that you have in the picture was recently removed because of the above problem. The older 2021.10.20 version should work (it is currently the only version offered on the website). I am sorry for the inconvenience.

You can get it here:

In English


In Chinese



Look,there is nothing here.
Version RebornOS-2021.10.20 is also.

Can you share the logs please? They are found at: /var/log/cnchi/cnchi.log

2022-04-28 14:21:16 [WARNING] Bugsnag disabled. Makes requests raise several exceptions. Need to check what is wrong (cnchi.py:341)
2022-04-28 14:21:16 [DEBUG ] All repositories are present in pacman.conf file (cnchi.py:267)
2022-04-28 14:21:16 [INFO ] Using GTK v3.24.30 (cnchi.py:376)
2022-04-28 14:21:16 [INFO ] Using pyalpm v0.9.2 as interface to libalpm v12.0.2 (cnchi.py:388)
2022-04-28 14:21:16 [WARNING] Not running from ISO (cnchi.py:422)
2022-04-28 14:21:16 [WARNING] User Rebornos exist (cnchi.py:573)
2022-04-28 14:21:16 [INFO ] Cnchi installer version RebornOS Installer Gnome based 2022.04.01 (main_window.py:97)
2022-04-28 14:21:16 [DEBUG ] Cnchi will use ‘/var/cache/pacman/pkg’ as a source for cached xz packages (main_window.py:123)
2022-04-28 14:21:16 [INFO ] Using ‘/usr/share/cnchi/data/packages.xml’ file as package list (main_window.py:212)
2022-04-28 14:21:16 [DEBUG ] Loading ‘welcome’ screen (gtkbasebox.py:60)
2022-04-28 14:21:16 [DEBUG ] Main window minimal size: 827x827 (main_window.py:388)
2022-04-28 14:21:16 [DEBUG ] Main window natural size: 827x827 (main_window.py:389)
2022-04-28 14:21:16 [DEBUG ] Setting main window size to 875x550 (main_window.py:390)
2022-04-28 14:21:18 [DEBUG ] Loading ‘language’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘check’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘location’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘timezone’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Getting your location using GeoIP database (timezone.py:325)
2022-04-28 14:21:18 [DEBUG ] A working network connection has been detected. (geoip.py:64)
2022-04-28 14:21:18 [ERROR ] Cannot find Cities GeoIP database (geoip.py:82)
2022-04-28 14:21:18 [WARNING] Could not detect your timezone using GeoIP database. Let’s use another method. (timezone.py:310)
2022-04-28 14:21:18 [DEBUG ] A working network connection has been detected. (timezone.py:339)
2022-04-28 14:21:18 [DEBUG ] We have connection. Let’s get our timezone (timezone.py:357)
2022-04-28 14:21:18 [DEBUG ] Loading ‘keymap’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘desktop’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘features’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘cache’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘mirrors’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] http://mirror.rackspace.com/archlinux/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] https://mirror.rackspace.com/archlinux/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] http://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] https://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] mirrors.dotsrc.org (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Index of /osdn/storage/g/r/re/rebornos/repo/RebornOS/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Index of /pub/osdn.jp/storage/g/r/re/rebornos/repo/RebornOS (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Index of /osdn/storage/g/r/re/rebornos/repo/RebornOS/ | 北京外国语大学开源软件镜像站 | BFSU Open Source Mirror (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Index of /osdn/storage/g/r/re/rebornos/repo/RebornOS/ (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Index of /pub/sourceforge.jp/storage/g/r/re/rebornos/repo/RebornOS (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Index of /osdn/storage/g/r/re/rebornos/repo/RebornOS (mirrors.py:194)
2022-04-28 14:21:18 [DEBUG ] Loading ‘ask’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [WARNING] modprobe: FATAL: Module zfs not found in directory /lib/modules/5.14.12-arch1-1 (ask.py:92)
2022-04-28 14:21:18 [DEBUG ] Loading ‘automatic’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘advanced’ screen (gtkbasebox.py:60)
2022-04-28 14:21:18 [DEBUG ] Loading ‘zfs’ screen (gtkbasebox.py:60)
2022-04-28 14:21:19 [DEBUG ] Loading ‘user_info’ screen (gtkbasebox.py:60)
2022-04-28 14:21:19 [DEBUG ] Loading ‘summary’ screen (gtkbasebox.py:60)
2022-04-28 14:21:19 [DEBUG ] Loading ‘slides’ screen (gtkbasebox.py:60)
2022-04-28 14:21:19 [ERROR ] Error getting timezone coordinates. An exception of type URLError occured. Arguments:
(gaierror(-2, ‘Name or service not known’),) (timezone.py:375)
2022-04-28 14:21:19 [WARNING] Could not detect your timezone! (timezone.py:320)
2022-04-28 14:21:24 [DEBUG ] language_name: Chinese (Simplified) (language.py:216)
2022-04-28 14:21:24 [DEBUG ] language_code: zh_CN (language.py:219)
2022-04-28 14:21:25 [INFO ] We have Internet connection. (check.py:276)
2022-04-28 14:21:25 [INFO ] We’re connected to a power source. (check.py:277)
2022-04-28 14:21:25 [INFO ] We have enough disk space. (check.py:278)
2022-04-28 14:21:25 [DEBUG ] Getting your country using GeoIP database (location.py:117)
2022-04-28 14:21:25 [DEBUG ] A working network connection has been detected. (geoip.py:64)
2022-04-28 14:21:25 [ERROR ] Cannot find Cities GeoIP database (geoip.py:82)
2022-04-28 14:21:25 [DEBUG ] Unable to get an Id for this installation. Error: (“Invalid URL ‘None’: No schema supplied. Perhaps you meant http://None?”,) (logging_utils.py:107)
2022-04-28 14:21:27 [DEBUG ] Selected location: Chinese (CN), China (location.py:295)
2022-04-28 14:21:27 [DEBUG ] Selected country name: China (location.py:313)
2022-04-28 14:21:27 [DEBUG ] Selected country code: cn (location.py:314)
2022-04-28 14:21:27 [WARNING] Can’t autodetect timezone coordinates (timezone.py:205)
2022-04-28 14:21:29 [INFO ] Location changed to : Asia/Shanghai (timezone.py:116)
2022-04-28 14:21:30 [DEBUG ] timezone human zone: Shanghai (timezone.py:233)
2022-04-28 14:21:30 [DEBUG ] timezone country: CN (timezone.py:234)
2022-04-28 14:21:30 [DEBUG ] timezone zone: Asia/Shanghai (timezone.py:235)
2022-04-28 14:21:30 [DEBUG ] timezone human country: China (timezone.py:236)
2022-04-28 14:21:30 [DEBUG ] timezone comment: Beijing Time (timezone.py:239)
2022-04-28 14:21:30 [DEBUG ] timezone latitude: 31.14 (timezone.py:242)
2022-04-28 14:21:30 [DEBUG ] timezone longitude: 121.28 (timezone.py:245)
2022-04-28 14:21:30 [DEBUG ] Cnchi will setup network time using systemd-timesyncd (timezone.py:279)
2022-04-28 14:21:30 [DEBUG ] Set keyboard to ‘Chinese’ (cn) (keymap.py:304)
2022-04-28 14:21:33 [DEBUG ] Set keyboard to ‘Chinese’ (cn) (keymap.py:304)
2022-04-28 14:21:39 [INFO ] Cnchi will install RebornOS with the ‘cutefish’ desktop (desktop.py:230)
2022-04-28 14:21:53 [DEBUG ] ATA VBOX HARDDISK [25 GB] (/dev/sda) (populate_devices.py:64)
2022-04-28 14:21:53 [WARNING] /dev/sda: unrecognised disk label (populate_devices.py:95)
2022-04-28 14:21:58 [DEBUG ] Cnchi is ranking your mirrors lists… (mirrors.py:405)
2022-04-28 14:21:58 [DEBUG ] Updating both mirrorlists (Arch and Antergos)… (rank_mirrors.py:363)
2022-04-28 14:22:01 [DEBUG ] Filtering and sorting mirrors… (rank_mirrors.py:368)
2022-04-28 14:22:01 [DEBUG ] Starting new HTTP connection (1): www.archlinux.org:80 (connectionpool.py:227)
2022-04-28 14:22:04 [DEBUG ] http://www.archlinux.org:80 “GET /mirrors/status/json/ HTTP/1.1” 301 162 (connectionpool.py:452)
2022-04-28 14:22:04 [DEBUG ] Starting new HTTPS connection (1): www.archlinux.org:443 (connectionpool.py:971)
2022-04-28 14:22:05 [DEBUG ] https://www.archlinux.org:443 “GET /mirrors/status/json/ HTTP/1.1” 301 162 (connectionpool.py:452)
2022-04-28 14:22:05 [DEBUG ] Starting new HTTPS connection (1): archlinux.org:443 (connectionpool.py:971)
2022-04-28 14:22:07 [DEBUG ] https://archlinux.org:443 “GET /mirrors/status/json/ HTTP/1.1” 200 None (connectionpool.py:452)

Could you open gparted and share a screenshot of /dev/sda?

Perhaps it needs manual partitioning…

Try creating two partitions there on the gparted application. The first one should be about 500MB and with the filesystem FAT32 whereas the second one can be as big as you want and have the file system ext4.
Then click on the Apply button or the green check/tick mark.

In the installer, choose manual partitioning and select the first one as the boot partition and the second one as the root partition.