centos7 error #110

Closed
opened 2025-01-17 14:28:34 +01:00 by 1265578519 · 5 comments
1265578519 commented 2025-01-17 14:28:34 +01:00 (Migrated from github.com)
Hetzner Online GmbH - installimage

  Your server will be installed now, this will take some minutes
             You can abort at any time with CTRL+C ...

         :  Reading configuration                           done 
         :  Loading image file variables                    done 
         :  Loading centos specific functions               done 
   1/15  :  Deleting partitions                             done 
   2/15  :  Test partition size                             done 
   3/15  :  Creating partitions and /etc/fstab              done 
   4/15  :  Formatting partitions
         :    formatting /dev/sda1 with ext4                done 
   5/15  :  Mounting partitions                             done 
   6/15  :  Sync time via ntp                               done 
         :  Importing public key for image validation       done 
   7/15  :  Validating image before starting extraction     warn 
         :  No detached signature file found!
   8/15  :  Extracting image (local)                        done 
   9/15  :  Setting up network config                       done 
  10/15  :  Executing additional commands
         :    Setting hostname                              done 
         :    Generating new SSH keys                       done 
         :    Generating ramdisk                            done 
         :    Generating ntp config                         done 
  11/15  :  Setting up miscellaneous files                  done 
  12/15  :  Configuring authentication
         :    Setting root password                         done 
                                                            done 
         :    Enabling SSH root login with password         done 
  13/15  :  Installing bootloader grub                     failed

         An error occured while installing the new system!
          See the debug file /root/debug.txt for details.

Please check our wiki for a description of the error:

https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage/

If your problem is not described there, try booting into a fresh
rescue system and restart the installation. If the installation
fails again, please contact our support via Hetzner Robot, providing
the IP address of the server and a copy of the debug file.

  https://robot.hetzner.com/

root@rescue ~ # cat /root/debug.txt

[14:23:52] # starting installimage
[14:23:52] -------------------------------------
[14:23:53] :   Hardware data:
[14:23:53] :   CPU1: Intel Xeon Processor (Skylake, IBRS, no TSX) (Cores 2)
[14:23:53] :   Memory:  3840 MB
[14:23:53] :   Disk /dev/sda: 40 GB (=> 38 GiB) doesn't contain a valid partition table
[14:23:53] :   Total capacity 38 GiB with 1 Disk
[14:23:53] -------------------------------------
[14:23:53] # make clean config
[14:23:53] # SYSTYPE: vServer
[14:23:53] # SYSMFC:  Hetzner
[14:23:53] running swapoff -a
[14:23:54] running dmsetup remove_all
[14:23:54] # stopping rescue system systemd-resolved
[14:23:54] # updating /etc/resolv.conf
[14:23:54] :   renamed '/etc/resolv.conf' -> '/etc/resolv.conf.bak'
[14:23:54] :   --- /etc/resolv.conf.bak	2025-01-17 14:22:57.984000000 +0100
[14:23:54] :   +++ /etc/resolv.conf	2025-01-17 14:23:54.723469604 +0100
[14:23:54] :   @@ -1,23 +1,4 @@
[14:23:54] :   -# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
[14:23:54] :   -# Do not edit.
[14:23:54] :   -#
[14:23:54] :   -# This file might be symlinked as /etc/resolv.conf. If you're looking at
[14:23:54] :   -# /etc/resolv.conf and seeing this text, you have followed the symlink.
[14:23:54] :   -#
[14:23:54] :   -# This is a dynamic resolv.conf file for connecting local clients to the
[14:23:54] :   -# internal DNS stub resolver of systemd-resolved. This file lists all
[14:23:54] :   -# configured search domains.
[14:23:54] :   -#
[14:23:54] :   -# Run "resolvectl status" to see details about the uplink DNS servers
[14:23:54] :   -# currently in use.
[14:23:54] :   -#
[14:23:54] :   -# Third party programs should typically not access this file directly, but only
[14:23:54] :   -# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
[14:23:54] :   -# different way, replace this symlink by a static file or a different symlink.
[14:23:54] :   -#
[14:23:54] :   -# See man:systemd-resolved.service(8) for details about the supported modes of
[14:23:54] :   -# operation for /etc/resolv.conf.
[14:23:54] :   -
[14:23:54] :   -nameserver 127.0.0.53
[14:23:54] :   -options edns0 trust-ad
[14:23:54] :   -search .
[14:23:54] :   +nameserver 185.12.64.1
[14:23:54] :   +nameserver 2a01:4ff:ff00::add:2
[14:23:54] :   +nameserver 185.12.64.2
[14:23:54] :   +nameserver 2a01:4ff:ff00::add:1
[14:23:54] # updating /run/systemd/resolve/stub-resolv.conf
[14:23:54] :   --- /run/systemd/resolve/stub-resolv.conf.bak	2025-01-17 14:23:54.759469604 +0100
[14:23:54] :   +++ /run/systemd/resolve/stub-resolv.conf	2025-01-17 14:23:54.763469604 +0100
[14:23:54] :   @@ -1,23 +1,4 @@
[14:23:54] :   -# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
[14:23:54] :   -# Do not edit.
[14:23:54] :   -#
[14:23:54] :   -# This file might be symlinked as /etc/resolv.conf. If you're looking at
[14:23:54] :   -# /etc/resolv.conf and seeing this text, you have followed the symlink.
[14:23:54] :   -#
[14:23:54] :   -# This is a dynamic resolv.conf file for connecting local clients to the
[14:23:54] :   -# internal DNS stub resolver of systemd-resolved. This file lists all
[14:23:54] :   -# configured search domains.
[14:23:54] :   -#
[14:23:54] :   -# Run "resolvectl status" to see details about the uplink DNS servers
[14:23:54] :   -# currently in use.
[14:23:54] :   -#
[14:23:54] :   -# Third party programs should typically not access this file directly, but only
[14:23:54] :   -# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
[14:23:54] :   -# different way, replace this symlink by a static file or a different symlink.
[14:23:54] :   -#
[14:23:54] :   -# See man:systemd-resolved.service(8) for details about the supported modes of
[14:23:54] :   -# operation for /etc/resolv.conf.
[14:23:54] :   -
[14:23:54] :   -nameserver 127.0.0.53
[14:23:54] :   -options edns0 trust-ad
[14:23:54] :   -search .
[14:23:54] :   +nameserver 185.12.64.1
[14:23:54] :   +nameserver 2a01:4ff:ff00::add:2
[14:23:54] :   +nameserver 185.12.64.2
[14:23:54] :   +nameserver 2a01:4ff:ff00::add:1
[14:23:54] # executing setupfile
[14:23:54] # SYSTYPE: vServer
[14:23:54] # SYSMFC:  Hetzner
[14:23:54] # checking if the script is disabled
[14:23:54] # starting menu...
[14:24:03] Image info:
[14:24:03] :   DISTRIB ID:               centos
[14:24:03] :   DISTRIB RELEASE/CODENAME: 79
[14:24:03] # chosen image: [ CentOS-79-64-minimal ]
[14:24:03] # copy & create config...
[14:24:06] # starting mcedit...
[14:24:06] Image info:
[14:24:06] :   DISTRIB ID:               centos
[14:24:06] :   DISTRIB RELEASE/CODENAME: 79
[14:24:19] # validating vars...
[14:24:19] :   / : all
[14:24:20] Image info:
[14:24:20] :   DISTRIB ID:               centos
[14:24:20] :   DISTRIB RELEASE/CODENAME: 79
[14:24:20] :   Size of the first hdd is: 40961572864
[14:24:20] :   check_dos_partitions
[14:24:20] WARNING: The image you have chosen is no longer supported by us as it has reached the end of its life. Updates and security patches are either no longer available or not applied by us anymore. There is no guarantee that the installation will work! 
[14:24:22] # asking for confirmation...
[14:24:23] # Confirmation for drive /dev/sda accepted
[14:24:23] # executing installfile...
[14:24:24] # SYSTYPE: vServer
[14:24:24] # SYSMFC:  Hetzner
[14:24:24] :   / : all
[14:24:24] :   check_dos_partitions
[14:24:24] Image info:
[14:24:24] :   DISTRIB ID:               centos
[14:24:24] :   DISTRIB RELEASE/CODENAME: 79
[14:24:24] # load centos specific functions...
[14:24:24] # Deleting partitions
[14:24:24] running swapoff -a
[14:24:24] running dmsetup remove_all
[14:24:24] # Deleting partitions on /dev/sda
[14:24:26] :   Creating new GPT entries in memory.
[14:24:26] :   GPT data structures destroyed! You may now partition the disk using fdisk or
[14:24:26] :   other utilities.
[14:24:27] # Test partition size
[14:24:27] :   check_dos_partitions
[14:24:27] # Creating partitions and /etc/fstab
[14:24:27] # Creating partitions on /dev/sda
[14:24:27] :   deactivate all dm-devices with dmraid and dmsetup
[14:24:27] :   no raid disks
[14:24:27] :   
[14:24:27] :   /dev/sda:
[14:24:27] :   re-reading partition table
[14:24:27] :   create partition: parted -s /dev/sda mkpart primary ext3 2048s 80001023s
[14:24:27] :   reread partition table after 5 seconds
[14:24:32] :   deactivate all dm-devices with dmraid and dmsetup
[14:24:32] :   no raid disks
[14:24:39] # formatting  /dev/sda1  with  ext4
[14:24:40] # Mounting partitions
[14:24:40] # Sync time via ntp
[14:24:40] :   Using standard Hetzner Online GmbH pubkey: /root/.oldroot/nfs/install/gpg/public-key.asc
[14:24:40] :   Using standard Hetzner Online GmbH pubkey: /root/.oldroot/nfs/install/gpg/public-key-2018.asc
[14:24:40] :   Using standard Hetzner Online GmbH pubkey: /root/.oldroot/nfs/install/gpg/public-key-2023.asc
[14:24:41] :   gpg: key 9E03E2BEB8F0F463: public key "Hetzner Online AG, RZ-Softwareentwicklung (Signing Key 2013) <info@hetzner.de>" imported
[14:24:41] :   gpg: Total number processed: 1
[14:24:41] :   gpg:               imported: 1
[14:24:41] :   gpg: key 7030DBE4387333B3: public key "Hetzner Online GmbH image signing key <info@hetzner.com>" imported
[14:24:41] :   gpg: Total number processed: 1
[14:24:41] :   gpg:               imported: 1
[14:24:41] :   gpg: key 5D6C6CC99D52C310: public key "info@hetzner.com" imported
[14:24:41] :   gpg: key B97D95710D4B657E: public key "Hetzner Online GmbH (image signing key) <info@hetzner.com>" imported
[14:24:41] :   gpg: Total number processed: 2
[14:24:41] :   gpg:               imported: 2
[14:24:41] # Validating image before starting extraction
[14:24:41] # Extracting image (local)
[14:24:55] # verify that systemd-nspawn works
[14:24:57] # Setting up network config
[14:24:57] # setup network config
[14:24:57] # setup /etc/sysconfig/network
[14:24:57] # setup /etc/sysconfig/network-scripts
[14:24:57] # setting up /etc/sysconfig/network-scripts/ifcfg-eth0
[14:24:57] :   configuring dhcpv4 for eth0
[14:24:57] :   configuring ipv6 addr 2a01:4f8:c0c:eb33::2/64 for eth0
[14:24:57] :   configuring ipv6 gateway fe80::1 for eth0
[14:24:57] mtab is already a symlink
[14:24:57] # Setting hostname
[14:24:57] # chroot: hostname CentOS-79-64-minimal
[14:24:58] # set new hostname 'CentOS-79-64-minimal' in /installimage.E0o9G/hdd/etc/hostname
[14:24:58] # set new hostname 'CentOS-79-64-minimal' in /installimage.E0o9G/hdd/etc/sysconfig/network
[14:24:58] # Generating new SSH keys
[14:24:58] skipping rsa1 key gen
[14:24:58] skipping dsa key gen
[14:24:58] # chroot: ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' >/dev/null
[14:24:58] # chroot: ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N '' >/dev/null
[14:24:58] # chroot: ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N '' >/dev/null
[14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub -E md5 > /tmp/rsa 2> /dev/null
[14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub -E sha256 > /tmp/rsa.sha256 2> /dev/null
[14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key.pub -E md5 > /tmp/ecdsa 2> /dev/null
[14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key.pub -E sha256 > /tmp/ecdsa.sha256 2> /dev/null
[14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub -E md5 > /tmp/ed25519 2> /dev/null
[14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub -E sha256 > /tmp/ed25519.sha256 2> /dev/null
[14:24:59] # Generating ramdisk
[14:24:59] # chroot: dracut -f --kver 3.10.0-1160.108.1.el7.x86_64
[14:26:12] # Generating ntp config
[14:26:12] no ntp config found, ignoring
[14:26:12] # Setting up miscellaneous files
[14:26:12] :   --- /dev/null	2025-01-17 14:24:35.344551728 +0100
[14:26:12] :   +++ /installimage.E0o9G/hdd/etc/resolv.conf	2025-01-17 14:26:12.151404269 +0100
[14:26:12] :   @@ -0,0 +1,6 @@
[14:26:12] :   +### Hetzner Online GmbH installimage
[14:26:12] :   +# nameserver config
[14:26:12] :   +nameserver 185.12.64.1
[14:26:12] :   +nameserver 2a01:4ff:ff00::add:2
[14:26:12] :   +nameserver 185.12.64.2
[14:26:12] :   +nameserver 2a01:4ff:ff00::add:1
[14:26:13] # set SSH PermitRootLogin
[14:26:13] :   --- /installimage.E0o9G/hdd/etc/ssh/sshd_config	2017-09-19 09:14:33.325438420 +0200
[14:26:13] :   +++ /installimage.E0o9G/sshd_config	2025-01-17 14:26:13.651430983 +0100
[14:26:13] :   @@ -35,7 +35,7 @@
[14:26:13] :   # Authentication:
[14:26:13] :   
[14:26:13] :   #LoginGraceTime 2m
[14:26:13] :   -#PermitRootLogin yes
[14:26:13] :   +PermitRootLogin yes
[14:26:13] :   #StrictModes yes
[14:26:13] :   #MaxAuthTries 6
[14:26:13] :   #MaxSessions 10
[14:26:13] # Installing bootloader grub
[14:26:13] # Generating config for grub
[14:26:13] # device map:
[14:26:13] :   (hd0) /dev/sda
[14:26:13] # chroot: grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline 2>&1
[14:26:13] :   Unrecognized option `--update-bls-cmdline'
[14:26:13] :   Usage: grub2-mkconfig [OPTION]
[14:26:13] :   Generate a grub config file
[14:26:13] :   
[14:26:13] :   -o, --output=FILE       output generated config to FILE [default=stdout]
[14:26:13] :   -h, --help              print this message and exit
[14:26:13] :   -v, --version           print the version information and exit
[14:26:13] :   
[14:26:13] :   Report bugs to <bug-grub@gnu.org>.
[14:26:13] # change all device names to uuid (e.g. for ide/pata transition)
[14:26:13] => FAILED
[14:26:14] # report installation
[14:26:14] :   installation report uuid: null
[14:26:14] cleaning up
root@rescue ~ #
``` Hetzner Online GmbH - installimage Your server will be installed now, this will take some minutes You can abort at any time with CTRL+C ... : Reading configuration done : Loading image file variables done : Loading centos specific functions done 1/15 : Deleting partitions done 2/15 : Test partition size done 3/15 : Creating partitions and /etc/fstab done 4/15 : Formatting partitions : formatting /dev/sda1 with ext4 done 5/15 : Mounting partitions done 6/15 : Sync time via ntp done : Importing public key for image validation done 7/15 : Validating image before starting extraction warn : No detached signature file found! 8/15 : Extracting image (local) done 9/15 : Setting up network config done 10/15 : Executing additional commands : Setting hostname done : Generating new SSH keys done : Generating ramdisk done : Generating ntp config done 11/15 : Setting up miscellaneous files done 12/15 : Configuring authentication : Setting root password done done : Enabling SSH root login with password done 13/15 : Installing bootloader grub failed An error occured while installing the new system! See the debug file /root/debug.txt for details. Please check our wiki for a description of the error: https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage/ If your problem is not described there, try booting into a fresh rescue system and restart the installation. If the installation fails again, please contact our support via Hetzner Robot, providing the IP address of the server and a copy of the debug file. https://robot.hetzner.com/ root@rescue ~ # cat /root/debug.txt [14:23:52] # starting installimage [14:23:52] ------------------------------------- [14:23:53] : Hardware data: [14:23:53] : CPU1: Intel Xeon Processor (Skylake, IBRS, no TSX) (Cores 2) [14:23:53] : Memory: 3840 MB [14:23:53] : Disk /dev/sda: 40 GB (=> 38 GiB) doesn't contain a valid partition table [14:23:53] : Total capacity 38 GiB with 1 Disk [14:23:53] ------------------------------------- [14:23:53] # make clean config [14:23:53] # SYSTYPE: vServer [14:23:53] # SYSMFC: Hetzner [14:23:53] running swapoff -a [14:23:54] running dmsetup remove_all [14:23:54] # stopping rescue system systemd-resolved [14:23:54] # updating /etc/resolv.conf [14:23:54] : renamed '/etc/resolv.conf' -> '/etc/resolv.conf.bak' [14:23:54] : --- /etc/resolv.conf.bak 2025-01-17 14:22:57.984000000 +0100 [14:23:54] : +++ /etc/resolv.conf 2025-01-17 14:23:54.723469604 +0100 [14:23:54] : @@ -1,23 +1,4 @@ [14:23:54] : -# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). [14:23:54] : -# Do not edit. [14:23:54] : -# [14:23:54] : -# This file might be symlinked as /etc/resolv.conf. If you're looking at [14:23:54] : -# /etc/resolv.conf and seeing this text, you have followed the symlink. [14:23:54] : -# [14:23:54] : -# This is a dynamic resolv.conf file for connecting local clients to the [14:23:54] : -# internal DNS stub resolver of systemd-resolved. This file lists all [14:23:54] : -# configured search domains. [14:23:54] : -# [14:23:54] : -# Run "resolvectl status" to see details about the uplink DNS servers [14:23:54] : -# currently in use. [14:23:54] : -# [14:23:54] : -# Third party programs should typically not access this file directly, but only [14:23:54] : -# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a [14:23:54] : -# different way, replace this symlink by a static file or a different symlink. [14:23:54] : -# [14:23:54] : -# See man:systemd-resolved.service(8) for details about the supported modes of [14:23:54] : -# operation for /etc/resolv.conf. [14:23:54] : - [14:23:54] : -nameserver 127.0.0.53 [14:23:54] : -options edns0 trust-ad [14:23:54] : -search . [14:23:54] : +nameserver 185.12.64.1 [14:23:54] : +nameserver 2a01:4ff:ff00::add:2 [14:23:54] : +nameserver 185.12.64.2 [14:23:54] : +nameserver 2a01:4ff:ff00::add:1 [14:23:54] # updating /run/systemd/resolve/stub-resolv.conf [14:23:54] : --- /run/systemd/resolve/stub-resolv.conf.bak 2025-01-17 14:23:54.759469604 +0100 [14:23:54] : +++ /run/systemd/resolve/stub-resolv.conf 2025-01-17 14:23:54.763469604 +0100 [14:23:54] : @@ -1,23 +1,4 @@ [14:23:54] : -# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). [14:23:54] : -# Do not edit. [14:23:54] : -# [14:23:54] : -# This file might be symlinked as /etc/resolv.conf. If you're looking at [14:23:54] : -# /etc/resolv.conf and seeing this text, you have followed the symlink. [14:23:54] : -# [14:23:54] : -# This is a dynamic resolv.conf file for connecting local clients to the [14:23:54] : -# internal DNS stub resolver of systemd-resolved. This file lists all [14:23:54] : -# configured search domains. [14:23:54] : -# [14:23:54] : -# Run "resolvectl status" to see details about the uplink DNS servers [14:23:54] : -# currently in use. [14:23:54] : -# [14:23:54] : -# Third party programs should typically not access this file directly, but only [14:23:54] : -# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a [14:23:54] : -# different way, replace this symlink by a static file or a different symlink. [14:23:54] : -# [14:23:54] : -# See man:systemd-resolved.service(8) for details about the supported modes of [14:23:54] : -# operation for /etc/resolv.conf. [14:23:54] : - [14:23:54] : -nameserver 127.0.0.53 [14:23:54] : -options edns0 trust-ad [14:23:54] : -search . [14:23:54] : +nameserver 185.12.64.1 [14:23:54] : +nameserver 2a01:4ff:ff00::add:2 [14:23:54] : +nameserver 185.12.64.2 [14:23:54] : +nameserver 2a01:4ff:ff00::add:1 [14:23:54] # executing setupfile [14:23:54] # SYSTYPE: vServer [14:23:54] # SYSMFC: Hetzner [14:23:54] # checking if the script is disabled [14:23:54] # starting menu... [14:24:03] Image info: [14:24:03] : DISTRIB ID: centos [14:24:03] : DISTRIB RELEASE/CODENAME: 79 [14:24:03] # chosen image: [ CentOS-79-64-minimal ] [14:24:03] # copy & create config... [14:24:06] # starting mcedit... [14:24:06] Image info: [14:24:06] : DISTRIB ID: centos [14:24:06] : DISTRIB RELEASE/CODENAME: 79 [14:24:19] # validating vars... [14:24:19] : / : all [14:24:20] Image info: [14:24:20] : DISTRIB ID: centos [14:24:20] : DISTRIB RELEASE/CODENAME: 79 [14:24:20] : Size of the first hdd is: 40961572864 [14:24:20] : check_dos_partitions [14:24:20] WARNING: The image you have chosen is no longer supported by us as it has reached the end of its life. Updates and security patches are either no longer available or not applied by us anymore. There is no guarantee that the installation will work! [14:24:22] # asking for confirmation... [14:24:23] # Confirmation for drive /dev/sda accepted [14:24:23] # executing installfile... [14:24:24] # SYSTYPE: vServer [14:24:24] # SYSMFC: Hetzner [14:24:24] : / : all [14:24:24] : check_dos_partitions [14:24:24] Image info: [14:24:24] : DISTRIB ID: centos [14:24:24] : DISTRIB RELEASE/CODENAME: 79 [14:24:24] # load centos specific functions... [14:24:24] # Deleting partitions [14:24:24] running swapoff -a [14:24:24] running dmsetup remove_all [14:24:24] # Deleting partitions on /dev/sda [14:24:26] : Creating new GPT entries in memory. [14:24:26] : GPT data structures destroyed! You may now partition the disk using fdisk or [14:24:26] : other utilities. [14:24:27] # Test partition size [14:24:27] : check_dos_partitions [14:24:27] # Creating partitions and /etc/fstab [14:24:27] # Creating partitions on /dev/sda [14:24:27] : deactivate all dm-devices with dmraid and dmsetup [14:24:27] : no raid disks [14:24:27] : [14:24:27] : /dev/sda: [14:24:27] : re-reading partition table [14:24:27] : create partition: parted -s /dev/sda mkpart primary ext3 2048s 80001023s [14:24:27] : reread partition table after 5 seconds [14:24:32] : deactivate all dm-devices with dmraid and dmsetup [14:24:32] : no raid disks [14:24:39] # formatting /dev/sda1 with ext4 [14:24:40] # Mounting partitions [14:24:40] # Sync time via ntp [14:24:40] : Using standard Hetzner Online GmbH pubkey: /root/.oldroot/nfs/install/gpg/public-key.asc [14:24:40] : Using standard Hetzner Online GmbH pubkey: /root/.oldroot/nfs/install/gpg/public-key-2018.asc [14:24:40] : Using standard Hetzner Online GmbH pubkey: /root/.oldroot/nfs/install/gpg/public-key-2023.asc [14:24:41] : gpg: key 9E03E2BEB8F0F463: public key "Hetzner Online AG, RZ-Softwareentwicklung (Signing Key 2013) <info@hetzner.de>" imported [14:24:41] : gpg: Total number processed: 1 [14:24:41] : gpg: imported: 1 [14:24:41] : gpg: key 7030DBE4387333B3: public key "Hetzner Online GmbH image signing key <info@hetzner.com>" imported [14:24:41] : gpg: Total number processed: 1 [14:24:41] : gpg: imported: 1 [14:24:41] : gpg: key 5D6C6CC99D52C310: public key "info@hetzner.com" imported [14:24:41] : gpg: key B97D95710D4B657E: public key "Hetzner Online GmbH (image signing key) <info@hetzner.com>" imported [14:24:41] : gpg: Total number processed: 2 [14:24:41] : gpg: imported: 2 [14:24:41] # Validating image before starting extraction [14:24:41] # Extracting image (local) [14:24:55] # verify that systemd-nspawn works [14:24:57] # Setting up network config [14:24:57] # setup network config [14:24:57] # setup /etc/sysconfig/network [14:24:57] # setup /etc/sysconfig/network-scripts [14:24:57] # setting up /etc/sysconfig/network-scripts/ifcfg-eth0 [14:24:57] : configuring dhcpv4 for eth0 [14:24:57] : configuring ipv6 addr 2a01:4f8:c0c:eb33::2/64 for eth0 [14:24:57] : configuring ipv6 gateway fe80::1 for eth0 [14:24:57] mtab is already a symlink [14:24:57] # Setting hostname [14:24:57] # chroot: hostname CentOS-79-64-minimal [14:24:58] # set new hostname 'CentOS-79-64-minimal' in /installimage.E0o9G/hdd/etc/hostname [14:24:58] # set new hostname 'CentOS-79-64-minimal' in /installimage.E0o9G/hdd/etc/sysconfig/network [14:24:58] # Generating new SSH keys [14:24:58] skipping rsa1 key gen [14:24:58] skipping dsa key gen [14:24:58] # chroot: ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' >/dev/null [14:24:58] # chroot: ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N '' >/dev/null [14:24:58] # chroot: ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N '' >/dev/null [14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub -E md5 > /tmp/rsa 2> /dev/null [14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub -E sha256 > /tmp/rsa.sha256 2> /dev/null [14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key.pub -E md5 > /tmp/ecdsa 2> /dev/null [14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key.pub -E sha256 > /tmp/ecdsa.sha256 2> /dev/null [14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub -E md5 > /tmp/ed25519 2> /dev/null [14:24:58] # chroot: ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub -E sha256 > /tmp/ed25519.sha256 2> /dev/null [14:24:59] # Generating ramdisk [14:24:59] # chroot: dracut -f --kver 3.10.0-1160.108.1.el7.x86_64 [14:26:12] # Generating ntp config [14:26:12] no ntp config found, ignoring [14:26:12] # Setting up miscellaneous files [14:26:12] : --- /dev/null 2025-01-17 14:24:35.344551728 +0100 [14:26:12] : +++ /installimage.E0o9G/hdd/etc/resolv.conf 2025-01-17 14:26:12.151404269 +0100 [14:26:12] : @@ -0,0 +1,6 @@ [14:26:12] : +### Hetzner Online GmbH installimage [14:26:12] : +# nameserver config [14:26:12] : +nameserver 185.12.64.1 [14:26:12] : +nameserver 2a01:4ff:ff00::add:2 [14:26:12] : +nameserver 185.12.64.2 [14:26:12] : +nameserver 2a01:4ff:ff00::add:1 [14:26:13] # set SSH PermitRootLogin [14:26:13] : --- /installimage.E0o9G/hdd/etc/ssh/sshd_config 2017-09-19 09:14:33.325438420 +0200 [14:26:13] : +++ /installimage.E0o9G/sshd_config 2025-01-17 14:26:13.651430983 +0100 [14:26:13] : @@ -35,7 +35,7 @@ [14:26:13] : # Authentication: [14:26:13] : [14:26:13] : #LoginGraceTime 2m [14:26:13] : -#PermitRootLogin yes [14:26:13] : +PermitRootLogin yes [14:26:13] : #StrictModes yes [14:26:13] : #MaxAuthTries 6 [14:26:13] : #MaxSessions 10 [14:26:13] # Installing bootloader grub [14:26:13] # Generating config for grub [14:26:13] # device map: [14:26:13] : (hd0) /dev/sda [14:26:13] # chroot: grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline 2>&1 [14:26:13] : Unrecognized option `--update-bls-cmdline' [14:26:13] : Usage: grub2-mkconfig [OPTION] [14:26:13] : Generate a grub config file [14:26:13] : [14:26:13] : -o, --output=FILE output generated config to FILE [default=stdout] [14:26:13] : -h, --help print this message and exit [14:26:13] : -v, --version print the version information and exit [14:26:13] : [14:26:13] : Report bugs to <bug-grub@gnu.org>. [14:26:13] # change all device names to uuid (e.g. for ide/pata transition) [14:26:13] => FAILED [14:26:14] # report installation [14:26:14] : installation report uuid: null [14:26:14] cleaning up root@rescue ~ # ```
1265578519 commented 2025-01-17 14:30:28 +01:00 (Migrated from github.com)

https://github.com/hetzneronline/installimage/issues/103
2024年8月还能安装的,现在安装后开不了机,提示找不到硬盘引导文件

https://github.com/hetzneronline/installimage/issues/103 2024年8月还能安装的,现在安装后开不了机,提示找不到硬盘引导文件
1265578519 commented 2025-01-17 14:33:29 +01:00 (Migrated from github.com)

是不是这个提交引起的bug?
hetzneronline/installimage@a50e395f39

是不是这个提交引起的bug? https://github.com/hetzneronline/installimage/commit/a50e395f391cf0c0f6764f39c7f66d11f5ace85e
asciiprod commented 2025-01-17 14:33:56 +01:00 (Migrated from github.com)

CentOS 7 is end of life and no longer supported by installimage.

CentOS 7 is end of life and no longer supported by installimage.
1265578519 commented 2025-01-17 14:35:03 +01:00 (Migrated from github.com)

CentOS 7 is end of life and no longer supported by installimage.

????????????你是不是有问题

> CentOS 7 is end of life and no longer supported by installimage. ????????????你是不是有问题
1265578519 commented 2025-01-17 14:51:35 +01:00 (Migrated from github.com)

旧版仓库还原bug代码
hetzneronline/installimage@851d99a757

installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip

wget https://github.com/user-attachments/files/18455222/installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip
unzip installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip
cd installimage-851d99a7574397a814e7d02f78a2aa41142d238c
./installimage

测试了下,,,可能要加个软链接,提示找不到镜像文件

run 'installimage -h' to get help for command line arguments.
starting interactive mode ...

find: ‘./../images/’: No such file or directory
find: ‘./../images/’: No such file or directory
find: ‘./../images/’: No such file or directory
/tmp/install.vars: line 187: ./functions.sh: No such file or directory
/tmp/install.vars: line 190: ./*.functions.sh: No such file or directory

ERROR: Cant find files
root@rescue ~/installimage-851d99a7574397a814e7d02f78a2aa41142d238c #

旧版仓库还原bug代码 https://github.com/hetzneronline/installimage/tree/851d99a7574397a814e7d02f78a2aa41142d238c [installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip](https://github.com/user-attachments/files/18455222/installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip) ``` wget https://github.com/user-attachments/files/18455222/installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip unzip installimage-851d99a7574397a814e7d02f78a2aa41142d238c.zip cd installimage-851d99a7574397a814e7d02f78a2aa41142d238c ./installimage ``` 测试了下,,,可能要加个软链接,提示找不到镜像文件 run 'installimage -h' to get help for command line arguments. starting interactive mode ... find: ‘./../images/’: No such file or directory find: ‘./../images/’: No such file or directory find: ‘./../images/’: No such file or directory /tmp/install.vars: line 187: ./functions.sh: No such file or directory /tmp/install.vars: line 190: ./*.functions.sh: No such file or directory ERROR: Cant find files root@rescue ~/installimage-851d99a7574397a814e7d02f78a2aa41142d238c #
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DiamantTh/installimage#110
No description provided.