[2025-01-12 21:36:07] Started with arguments: --backup=http://ftp.altlinux.org/pub/people/klark/deploy/example --deploy --poweroff [2025-01-12 21:36:07] Executing: mktemp -dt -- system-restore-XXXXXXXX.tmp [2025-01-12 21:36:07] Executing: mktemp -qt [2025-01-12 21:36:07] Executing: rm -f -- /root/tmp/tmp.fOrUUyHaZb [2025-01-12 21:36:07] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.fOrUUyHaZb --url http://ftp.altlinux.org/pub/people/klark/deploy/example/sysrest.ini [2025-01-12 21:36:07] /root/tmp/tmp.fOrUUyHaZb contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:08 GMT Content-Type: application/octet-stream Content-Length: 19240 Last-Modified: Sun, 12 Jan 2025 21:15:43 GMT Connection: keep-alive ETag: "678430ff-4b28" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:07] curl status: 0, protocol status: 200 [2025-01-12 21:36:07] Executing: rm -f -- /root/tmp/tmp.fOrUUyHaZb [2025-01-12 21:36:07] Downloading configuration 'sysrest.ini'... [2025-01-12 21:36:07] Using user-defined configuration: 'sysrest.ini'... [2025-01-12 21:36:07] Executing: rm -f -- /root/tmp/system-restore-PHJcRDYQ.tmp/tmp-user.sh [2025-01-12 21:36:07] Executing: mktemp -qt [2025-01-12 21:36:07] Executing: rm -f -- /root/tmp/tmp.dypwrcdlBc [2025-01-12 21:36:07] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.dypwrcdlBc --url http://ftp.altlinux.org/pub/people/klark/deploy/example/hooks.sh [2025-01-12 21:36:07] /root/tmp/tmp.dypwrcdlBc contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:08 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:07] curl status: 0, protocol status: 404 [2025-01-12 21:36:07] unrecoverable http error: 404 [2025-01-12 21:36:07] Executing: rm -f -- /root/tmp/tmp.dypwrcdlBc [2025-01-12 21:36:07] Executing: mktemp -qt [2025-01-12 21:36:07] Executing: rm -f -- /root/tmp/tmp.aPPNJx8s3G [2025-01-12 21:36:07] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.aPPNJx8s3G --url http://ftp.altlinux.org/pub/people/klark/deploy/example/META.tgz [2025-01-12 21:36:07] /root/tmp/tmp.aPPNJx8s3G contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:08 GMT Content-Type: application/x-gzip Content-Length: 1589 Last-Modified: Wed, 04 Dec 2024 17:36:39 GMT Connection: keep-alive ETag: "67509327-635" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:08] curl status: 0, protocol status: 200 [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.aPPNJx8s3G [2025-01-12 21:36:08] Executing: mktemp -qt [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.ZuiHBGjkUx [2025-01-12 21:36:08] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.ZuiHBGjkUx --url http://ftp.altlinux.org/pub/people/klark/deploy/example/root.tgz [2025-01-12 21:36:08] /root/tmp/tmp.ZuiHBGjkUx contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:08 GMT Content-Type: application/x-gzip Content-Length: 496751502 Last-Modified: Wed, 04 Dec 2024 17:36:39 GMT Connection: keep-alive ETag: "67509327-1d9bd38e" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:08] curl status: 0, protocol status: 200 [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.ZuiHBGjkUx [2025-01-12 21:36:08] Executing: mktemp -qt [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.vTDDtpXCt7 [2025-01-12 21:36:08] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.vTDDtpXCt7 --url http://ftp.altlinux.org/pub/people/klark/deploy/example/profiles/CATALOG.lst [2025-01-12 21:36:08] /root/tmp/tmp.vTDDtpXCt7 contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:08 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:08] curl status: 0, protocol status: 404 [2025-01-12 21:36:08] unrecoverable http error: 404 [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.vTDDtpXCt7 [2025-01-12 21:36:08] Entering hook 'profile_not_found'... [2025-01-12 21:36:08] Leaving hook 'profile_not_found'... [2025-01-12 21:36:08] Entering hook 'select_profile'... [2025-01-12 21:36:08] Leaving hook 'select_profile'... [2025-01-12 21:36:08] Entering hook 'check_hardware'... [2025-01-12 21:36:08] Leaving hook 'check_hardware'... [2025-01-12 21:36:08] Executing: mktemp -qt [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.QuVypqr5Yl [2025-01-12 21:36:08] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.QuVypqr5Yl --url http://ftp.altlinux.org/pub/people/klark/deploy/example/home.tgz [2025-01-12 21:36:08] /root/tmp/tmp.QuVypqr5Yl contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:09 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:08] curl status: 0, protocol status: 404 [2025-01-12 21:36:08] unrecoverable http error: 404 [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.QuVypqr5Yl [2025-01-12 21:36:08] Executing: mktemp -qt [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.LjxRAa6paa [2025-01-12 21:36:08] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.LjxRAa6paa --url http://ftp.altlinux.org/pub/people/klark/deploy/example/var.tgz [2025-01-12 21:36:08] /root/tmp/tmp.LjxRAa6paa contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:09 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:08] curl status: 0, protocol status: 404 [2025-01-12 21:36:08] unrecoverable http error: 404 [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.LjxRAa6paa [2025-01-12 21:36:08] Executing: mktemp -qt [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.w4hLHcP7Z4 [2025-01-12 21:36:08] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.w4hLHcP7Z4 --url http://ftp.altlinux.org/pub/people/klark/deploy/example/plain.sh [2025-01-12 21:36:08] /root/tmp/tmp.w4hLHcP7Z4 contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:09 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:08] curl status: 0, protocol status: 404 [2025-01-12 21:36:08] unrecoverable http error: 404 [2025-01-12 21:36:08] Executing: rm -f -- /root/tmp/tmp.w4hLHcP7Z4 [2025-01-12 21:36:08] Checking backup metadata... [2025-01-12 21:36:08] Executing: unpigz -qnc [2025-01-12 21:36:08] Executing: tar -xpf - -C /root/tmp/system-restore-PHJcRDYQ.tmp [2025-01-12 21:36:08] Executing: head -n1 -- /root/tmp/system-restore-PHJcRDYQ.tmp/ARCH [2025-01-12 21:36:08] Executing: uname -m [2025-01-12 21:36:08] Executing: head -n1 -- /root/tmp/system-restore-PHJcRDYQ.tmp/ORGHOST [2025-01-12 21:36:08] Executing: mountpoint -d -- / [2025-01-12 21:36:08] Executing: readlink -fv -- /sys/dev/block/0:24 [2025-01-12 21:36:08] Executing: mountpoint -d -- /image [2025-01-12 21:36:08] Executing: readlink -fv -- /sys/dev/block/11:0 [2025-01-12 21:36:08] Executing: grep -sE ^DEVNAME= /sys/devices/pci0000:00/0000:00:1f.2/ata9/host8/target8:0:0/8:0:0:0/block/sr0/uevent [2025-01-12 21:36:08] Executing: mountpoint -x -- /dev/sr0 [2025-01-12 21:36:08] Executing: readlink -fv -- /sys/dev/block/11:0 [2025-01-12 21:36:08] Entering hook 'filter_drive'... [2025-01-12 21:36:08] Leaving hook 'filter_drive'... [2025-01-12 21:36:08] Entering hook 'filter_drive'... [2025-01-12 21:36:08] Leaving hook 'filter_drive'... [2025-01-12 21:36:08] Executing: udevadm info -- /dev/sda [2025-01-12 21:36:08] Executing: udevadm info -- /dev/sda [2025-01-12 21:36:08] Executing: udevadm info -- /dev/sda [2025-01-12 21:36:08] Executing: udevadm info -- /dev/sdb [2025-01-12 21:36:08] Executing: udevadm info -- /dev/sdb [2025-01-12 21:36:08] Executing: udevadm info -- /dev/sdb [2025-01-12 21:36:08] Executing: eval env LC_ALL=C dialog --backtitle "ALT Linux Deployment System: STICK-v1.0" --title "[ Target drive ]" --help-button --help-label Info --no-cancel --menu "\nSelect the target device to install the system to:" 10 55 2 "/dev/sda" "21.47 GB QEMU HARDDISK QM00013 2.5+" "/dev/sdb" "21.47 GB QEMU HARDDISK QM00015 2.5+" [2025-01-12 21:36:11] Executing: udevadm info -- /dev/sda [2025-01-12 21:36:11] Executing: udevadm info -- /dev/sda [2025-01-12 21:36:11] Executing: udevadm info -- /dev/sda [2025-01-12 21:36:11] Executing: lsblk -d -n -o TRAN -- /dev/sda [2025-01-12 21:36:11] Executing: lsblk -d -n -o ROTA -- /dev/sda [2025-01-12 21:36:11] Entering hook 'auto_swap_size'... [2025-01-12 21:36:11] Executing: sed -n -E s/^MemTotal:\s+//p /proc/meminfo [2025-01-12 21:36:11] Leaving hook 'auto_swap_size'... [2025-01-12 21:36:11] Executing: ip route [2025-01-12 21:36:11] Executing: ip link show dev enp0s4 [2025-01-12 21:36:11] Executing: ip addr show dev enp0s4 [2025-01-12 21:36:11] Executing: hostname animal-123456 [2025-01-12 21:36:11] Executing: lsblk -f [2025-01-12 21:36:11] Initializing disk(s)... [2025-01-12 21:36:12] Executing: ls -r -- /dev/sda?* [2025-01-12 21:36:12] Executing: sfdisk -q -f --no-reread -W always -X dos -- /dev/sda [2025-01-12 21:36:12] Executing: rm -f -- /root/tmp/system-restore-PHJcRDYQ.tmp/disk-layout.dos [2025-01-12 21:36:12] Executing: sed 1d;s/ */ /g [2025-01-12 21:36:12] Executing: env LC_ALL=C sfdisk -q -f -l --color=never -- /dev/sda [2025-01-12 21:36:12] Executing: addpart /dev/sda 1 2048 206847 [2025-01-12 21:36:12] Executing: addpart /dev/sda 2 206848 8595455 [2025-01-12 21:36:12] Executing: addpart /dev/sda 3 * 8595456 [2025-01-12 21:36:12] Executing: addpart /dev/sda 4 29566976 41943039 [2025-01-12 21:36:12] Executing: blockdev --rereadpt /dev/sda [2025-01-12 21:36:12] Executing: udevadm trigger -q -- /dev/sda [2025-01-12 21:36:12] Executing: env LC_ALL=C sfdisk -q -f -l --color=never -- /dev/sda [2025-01-12 21:36:12] Executing: sed 1d;s/ .*//g [2025-01-12 21:36:12] Executing: udevadm settle -t5 [2025-01-12 21:36:12] Executing: sed -n s/^Disklabel type: //p [2025-01-12 21:36:12] Executing: env LC_ALL=C sfdisk -l -- /dev/sda [2025-01-12 21:36:12] Executing: env LC_ALL=C sfdisk -q -l -o Device,Id -- /dev/sda [2025-01-12 21:36:12] Executing: sed -n -E s/ (85| 5)$//p [2025-01-12 21:36:12] Executing: head -n1 [2025-01-12 21:36:12] Executing: ls -r -- /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 [2025-01-12 21:36:12] Executing: wipefs -a -- /dev/sda4 /dev/sda3 /dev/sda2 /dev/sda1 [2025-01-12 21:36:12] Formatting ESP... [2025-01-12 21:36:12] Executing: mkfs.fat -F32 -f2 -n ESP -- /dev/sda1 [2025-01-12 21:36:12] Formatting SWAP... [2025-01-12 21:36:13] Executing: mkswap -L SWAP -- /dev/sda2 [2025-01-12 21:36:13] Executing: blkid -c /dev/null -o value -s UUID -- /dev/sda2 [2025-01-12 21:36:13] Formatting ROOT... [2025-01-12 21:36:13] Executing: mkfs.ext4 -q -j -L ROOT -- /dev/sda3 [2025-01-12 21:36:13] Executing: blkid -c /dev/null -o value -s UUID -- /dev/sda3 [2025-01-12 21:36:13] Formatting DATA... [2025-01-12 21:36:13] Executing: mkfs.ext4 -q -j -L DATA -- /dev/sda4 [2025-01-12 21:36:13] Restoring / (root) partition... [2025-01-12 21:36:13] Executing: mkdir -p -m 0755 -- /mnt/target [2025-01-12 21:36:13] Executing: mount -t ext4 -o relatime -- /dev/sda3 /mnt/target [2025-01-12 21:36:13] Executing: rm -f -- /root/tmp/system-restore-PHJcRDYQ.tmp/ERROR [2025-01-12 21:36:13] Executing: mktemp -qt [2025-01-12 21:36:13] Executing: rm -f -- /root/tmp/tmp.LPz8Tjp1YF [2025-01-12 21:36:13] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.LPz8Tjp1YF --url http://ftp.altlinux.org/pub/people/klark/deploy/example/root.tgz [2025-01-12 21:36:13] /root/tmp/tmp.LPz8Tjp1YF contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:14 GMT Content-Type: application/x-gzip Content-Length: 496751502 Last-Modified: Wed, 04 Dec 2024 17:36:39 GMT Connection: keep-alive ETag: "67509327-1d9bd38e" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:13] curl status: 0, protocol status: 200 [2025-01-12 21:36:13] Executing: rm -f -- /root/tmp/tmp.LPz8Tjp1YF [2025-01-12 21:36:13] root.tgz (496751502 bytes) will be unpacked [2025-01-12 21:36:13] Executing: tar -xpSf - --overwrite -C /mnt/target [2025-01-12 21:36:39] Restoring /boot/efi (ESP) partition... [2025-01-12 21:36:39] Executing: mount -t vfat -o umask=0,quiet,showexec,iocharset=utf8,codepage=866 -- /dev/sda1 /mnt/target/boot/efi [2025-01-12 21:36:39] Executing: mktemp -qt [2025-01-12 21:36:39] Executing: rm -f -- /root/tmp/tmp.ZmCZq428Tz [2025-01-12 21:36:39] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.ZmCZq428Tz --url http://ftp.altlinux.org/pub/people/klark/deploy/example/esp.tgz [2025-01-12 21:36:39] /root/tmp/tmp.ZmCZq428Tz contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:40 GMT Content-Type: application/x-gzip Content-Length: 1294176 Last-Modified: Wed, 04 Dec 2024 17:36:40 GMT Connection: keep-alive ETag: "67509328-13bf60" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:39] curl status: 0, protocol status: 200 [2025-01-12 21:36:39] Executing: rm -f -- /root/tmp/tmp.ZmCZq428Tz [2025-01-12 21:36:39] Executing: rm -f -- /root/tmp/system-restore-PHJcRDYQ.tmp/ERROR [2025-01-12 21:36:39] Executing: mktemp -qt [2025-01-12 21:36:39] Executing: rm -f -- /root/tmp/tmp.KtgeAxgxzU [2025-01-12 21:36:39] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.KtgeAxgxzU --url http://ftp.altlinux.org/pub/people/klark/deploy/example/esp.tgz [2025-01-12 21:36:39] /root/tmp/tmp.KtgeAxgxzU contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:40 GMT Content-Type: application/x-gzip Content-Length: 1294176 Last-Modified: Wed, 04 Dec 2024 17:36:40 GMT Connection: keep-alive ETag: "67509328-13bf60" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:39] curl status: 0, protocol status: 200 [2025-01-12 21:36:39] Executing: rm -f -- /root/tmp/tmp.KtgeAxgxzU [2025-01-12 21:36:39] esp.tgz (1294176 bytes) will be unpacked [2025-01-12 21:36:39] Executing: tar -xpSf - --overwrite -C /mnt/target/boot/efi [2025-01-12 21:36:39] Executing: mkdir -p -m 0755 -- /mnt/target/boot/efi/EFI [2025-01-12 21:36:40] Restoring /home (user data) partition... [2025-01-12 21:36:40] Executing: mkdir -p -m 0700 -- /mnt/target/home [2025-01-12 21:36:40] Executing: mount -t ext4 -o nosuid,relatime -- /dev/sda4 /mnt/target/home [2025-01-12 21:36:40] Executing: mktemp -qt [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.rYlZ4QpUdd [2025-01-12 21:36:40] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.rYlZ4QpUdd --url http://ftp.altlinux.org/pub/people/klark/deploy/example/home.tgz [2025-01-12 21:36:40] /root/tmp/tmp.rYlZ4QpUdd contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:40 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:40] curl status: 0, protocol status: 404 [2025-01-12 21:36:40] unrecoverable http error: 404 [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.rYlZ4QpUdd [2025-01-12 21:36:40] Executing: mktemp -qt [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.pL60c3bviA [2025-01-12 21:36:40] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.pL60c3bviA --url http://ftp.altlinux.org/pub/people/klark/deploy/example/var.tgz [2025-01-12 21:36:40] /root/tmp/tmp.pL60c3bviA contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:40 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:40] curl status: 0, protocol status: 404 [2025-01-12 21:36:40] unrecoverable http error: 404 [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.pL60c3bviA [2025-01-12 21:36:40] Executing: mkdir -p -m 0755 -- /mnt/target/tmp/DEPLOY [2025-01-12 21:36:40] Personification... [2025-01-12 21:36:40] Executing: dbus-uuidgen [2025-01-12 21:36:40] Executing: cp -Lf -- /mnt/target/etc/machine-id /mnt/target/var/lib/dbus/machine-id [2025-01-12 21:36:40] Executing: sed -i s,computername,animal-123456, /mnt/target/etc/sysconfig/network [2025-01-12 21:36:40] Executing: head -n1 -- /root/tmp/system-restore-PHJcRDYQ.tmp/RNDSEED [2025-01-12 21:36:40] Executing: head -c512 -- /dev/urandom [2025-01-12 21:36:40] Executing: chmod -- 0600 /mnt/target/var/lib/systemd/random-seed [2025-01-12 21:36:40] Entering hook 'mkfstab_top'... [2025-01-12 21:36:40] Leaving hook 'mkfstab_top'... [2025-01-12 21:36:40] Entering hook 'mkfstab_entry'... [2025-01-12 21:36:40] Executing: blkid -c /dev/null -o value -s UUID -- /dev/sda3 [2025-01-12 21:36:40] Leaving hook 'mkfstab_entry'... [2025-01-12 21:36:40] Entering hook 'mkfstab_entry'... [2025-01-12 21:36:40] Executing: blkid -c /dev/null -o value -s UUID -- /dev/sda1 [2025-01-12 21:36:40] Leaving hook 'mkfstab_entry'... [2025-01-12 21:36:40] Entering hook 'mkfstab_entry'... [2025-01-12 21:36:40] Executing: blkid -c /dev/null -o value -s UUID -- /dev/sda4 [2025-01-12 21:36:40] Leaving hook 'mkfstab_entry'... [2025-01-12 21:36:40] Entering hook 'mkfstab_entry'... [2025-01-12 21:36:40] Leaving hook 'mkfstab_entry'... [2025-01-12 21:36:40] Entering hook 'mkfstab_bottom'... [2025-01-12 21:36:40] Leaving hook 'mkfstab_bottom'... [2025-01-12 21:36:40] Executing: chmod -- 0644 /mnt/target/etc/fstab [2025-01-12 21:36:40] /mnt/target/etc/fstab contents: ######################################## proc /proc proc nosuid,noexec,gid=proc 0 0 devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620,ptmxmode=0666 0 0 tmpfs /tmp tmpfs nosuid 0 0 UUID=b6b85a4c-3062-43f7-941e-c613329c1b4b / ext4 relatime 1 1 UUID=5CCD-CEC2 /boot/efi vfat umask=0,quiet,showexec,iocharset=utf8,codepage=866 1 2 UUID=2e29601d-1a2d-4e06-bfe3-c0b3622ba9df /home ext4 nosuid,relatime 1 2 UUID=7ff699e2-1a0c-402d-b8c9-cc2425b29170 swap swap defaults 0 0 ######################################## [2025-01-12 21:36:40] Executing: chmod -- 0644 /mnt/target/boot/efi/EFI/altlinux/grub.cfg [2025-01-12 21:36:40] /mnt/target/boot/efi/EFI/altlinux/grub.cfg contents: ######################################## search.fs_uuid b6b85a4c-3062-43f7-941e-c613329c1b4b root set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ######################################## [2025-01-12 21:36:40] Executing: sed -i -E s|^GRUB_CMDLINE_LINUX_DEFAULT=.*$|GRUB_CMDLINE_LINUX_DEFAULT='resume=UUID=7ff699e2-1a0c-402d-b8c9-cc2425b29170 panic=30 quiet loglevel=3 '| /mnt/target/etc/sysconfig/grub2 [2025-01-12 21:36:40] Executing: mountpoint -x -- /dev/sda [2025-01-12 21:36:40] Executing: grep -s S:disk/by-id/ /run/udev/data/b8:0 [2025-01-12 21:36:40] Executing: sed -i -E s|^#?GRUB_AUTOUPDATE_DEVICE=.*$|GRUB_AUTOUPDATE_DEVICE='/dev/disk/by-id/scsi-0ATA_QEMU_HARDDISK_QM00013 '| /mnt/target/etc/sysconfig/grub2 [2025-01-12 21:36:40] Executing: chmod -- 0644 /mnt/target/etc/sysconfig/grub2 [2025-01-12 21:36:40] /mnt/target/etc/sysconfig/grub2 contents: ######################################## # Automaticaly update grub on device(s) # NB: don't put /dev/mdX there but rather '/dev/sda /dev/sdb '! GRUB_AUTOUPDATE_DEVICE='/dev/disk/by-id/scsi-0ATA_QEMU_HARDDISK_QM00013 ' # Use '--force' option for grub-install #GRUB_AUTOUPDATE_FORCE='no' # Automaticaly update config file on kernel install/removal # default: true GRUB_AUTOUPDATE_CFG=true # Automaticaly updated config filename # default: /boot/grub/grub.cfg GRUB_AUTOUPDATE_CFGNAME=/boot/grub/grub.cfg # Kernel for the top-level boot entry # default: /boot/vmlinuz GRUB_TOP_LEVEL=/boot/vmlinuz # How to handle /boot/vmlinuz* symlinks: # 'yes','true' - include in config # 'no','false' - skip in config # 'vmlinuz' - include only /boot/vmlinuz in config # default: yes GRUB_VMLINUZ_SYMLINKS=yes # Whether to add failsafe entries: # 'yes','true' - add for all kernels # 'no','false' - skip for all kernels # 'default' - add failsafe entry only for /boot/vmlinuz # default: default GRUB_VMLINUZ_FAILSAFE=default # Preload specific grub modules #GRUB_PRELOAD_MODULES='' # Set normal timeout GRUB_TIMEOUT=1 # Set hidden timeout (do not show menu) #GRUB_HIDDEN_TIMEOUT=3 # Show timeout counter when hidden #GRUB_HIDDEN_TIMEOUT_QUIET=TRUE GRUB_CMDLINE_LINUX_DEFAULT='resume=UUID=7ff699e2-1a0c-402d-b8c9-cc2425b29170 panic=30 quiet loglevel=3 ' GRUB_CMDLINE_LINUX='failsafe vga=normal' GRUB_TERMINAL_OUTPUT='gfxterm' GRUB_GFXMODE='auto' GRUB_DEFAULT='saved' GRUB_SAVEDEFAULT=true GRUB_BACKGROUND="/etc/bootsplash/themes/current/images/silent-800x600.jpg" # GRUB_WALLPAPER is a deprecated parameter not supported by upstream # It's support in OS ALT is not guaranteed in future releases -- # use GRUB_BACKGROUND instead for branding development GRUB_WALLPAPER="/etc/bootsplash/themes/current/images/silent-800x600.jpg" GRUB_COLOR_NORMAL="black/black" GRUB_COLOR_HIGHLIGHT="white/black" # This is especially important as EFI Boot Manager label GRUB_DISTRIBUTOR="ALT Linux" # This defines /boot/efi/EFI subdir name GRUB_BOOTLOADER_ID="altlinux" ######################################## [2025-01-12 21:36:40] Executing: mv -f -- /mnt/target/etc/net/ifaces/eth0 /mnt/target/etc/net/ifaces/enp0s4 [2025-01-12 21:36:40] /mnt/target/etc/net/ifaces/enp0s4/options contents: ######################################## BOOTPROTO=dhcp TYPE=eth ######################################## [2025-01-12 21:36:40] Executing: mount --bind -- /var/log/system-restore.log /mnt/target/tmp/DEPLOY/system-restore.log [2025-01-12 21:36:40] Executing: mktemp -qt [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.f0KZOzueuL [2025-01-12 21:36:40] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.f0KZOzueuL --url http://ftp.altlinux.org/pub/people/klark/deploy/example/update.tgz [2025-01-12 21:36:40] /root/tmp/tmp.f0KZOzueuL contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:41 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:40] curl status: 0, protocol status: 404 [2025-01-12 21:36:40] unrecoverable http error: 404 [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.f0KZOzueuL [2025-01-12 21:36:40] Executing: mktemp -qt [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.oeKyxprikX [2025-01-12 21:36:40] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.oeKyxprikX --url http://ftp.altlinux.org/pub/people/klark/deploy/example/sysrest.ini [2025-01-12 21:36:40] /root/tmp/tmp.oeKyxprikX contents: ######################################## HTTP/1.1 200 OK Server: nginx Date: Sun, 12 Jan 2025 21:36:41 GMT Content-Type: application/octet-stream Content-Length: 19240 Last-Modified: Sun, 12 Jan 2025 21:15:43 GMT Connection: keep-alive ETag: "678430ff-4b28" Accept-Ranges: bytes ######################################## [2025-01-12 21:36:40] curl status: 0, protocol status: 200 [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.oeKyxprikX [2025-01-12 21:36:40] Executing: cp -Lf -- /root/tmp/tmp.ZvRtEijR6a/sysrest/restore/defaults.sh /mnt/target/tmp/DEPLOY/ [2025-01-12 21:36:40] Executing: cp -Lf -- /root/tmp/tmp.ZvRtEijR6a/sysrest/restore/internal.sh /mnt/target/tmp/DEPLOY/ [2025-01-12 21:36:40] Executing: cp -Lf -- /root/tmp/tmp.ZvRtEijR6a/sysrest/restore/chroot.sh /mnt/target/tmp/DEPLOY/ [2025-01-12 21:36:40] Executing: cp -Lf -- /root/tmp/tmp.ZvRtEijR6a/sysrest/common.sh /mnt/target/tmp/DEPLOY/ [2025-01-12 21:36:40] Executing: cp -Lf -- /root/tmp/tmp.ZvRtEijR6a/sysrest/logger.sh /mnt/target/tmp/DEPLOY/ [2025-01-12 21:36:40] Executing: chmod -- 0755 /mnt/target/tmp/DEPLOY/chroot.sh [2025-01-12 21:36:40] Executing: mktemp -qt [2025-01-12 21:36:40] Executing: rm -f -- /root/tmp/tmp.DREQ9wehtN [2025-01-12 21:36:40] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.DREQ9wehtN --url http://ftp.altlinux.org/pub/people/klark/deploy/example/chroot-pre.sh [2025-01-12 21:36:40] /root/tmp/tmp.DREQ9wehtN contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:41 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:40] curl status: 0, protocol status: 404 [2025-01-12 21:36:40] unrecoverable http error: 404 [2025-01-12 21:36:41] Executing: rm -f -- /root/tmp/tmp.DREQ9wehtN [2025-01-12 21:36:41] Executing: mktemp -qt [2025-01-12 21:36:41] Executing: rm -f -- /root/tmp/tmp.ZER3ik9a2V [2025-01-12 21:36:41] Executing: curl -sI --no-buffer --connect-timeout 5 --max-time 7 --max-redirs 2 --write-out %{http_code} --output /root/tmp/tmp.ZER3ik9a2V --url http://ftp.altlinux.org/pub/people/klark/deploy/example/chroot-post.sh [2025-01-12 21:36:41] /root/tmp/tmp.ZER3ik9a2V contents: ######################################## HTTP/1.1 404 Not Found Server: nginx Date: Sun, 12 Jan 2025 21:36:41 GMT Content-Type: text/html Content-Length: 146 Connection: keep-alive ######################################## [2025-01-12 21:36:41] curl status: 0, protocol status: 404 [2025-01-12 21:36:41] unrecoverable http error: 404 [2025-01-12 21:36:41] Executing: rm -f -- /root/tmp/tmp.ZER3ik9a2V [2025-01-12 21:36:41] /mnt/target/tmp/DEPLOY/chroot.ini contents: ######################################## HAVE_ESP=1 HAVE_BIOS=1 HAVE_PReP= quiet="" verbose="" SYSREST_DEBUG=1 frontend_pipe="" alterator= logfile="/tmp/DEPLOY/system-restore.log" logprio="user.info" progname="system-restore" target="/dev/sda" action="deploy" ######################################## [2025-01-12 21:36:41] Entering hook 'before_chroot'... [2025-01-12 21:36:41] Leaving hook 'before_chroot'... [2025-01-12 21:36:41] Executing: mountpoint -q /sys/firmware/efi/efivars [2025-01-12 21:36:41] Executing: efibootmgr -q -D [2025-01-12 21:36:41] Executing: efibootmgr -q -N Could not delete BootNext: No such file or directory [2025-01-12 21:36:41] Executing: efibootmgr [2025-01-12 21:36:41] Executing: grep -i -E ^Boot[0-9A-F][0-9A-F][0-9A-F][0-9A-F] [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0000 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0001 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0002 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0003 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0004 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0005 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0006 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0007 [2025-01-12 21:36:41] Executing: efibootmgr -q -B -b 0008 [2025-01-12 21:36:41] Executing: efibootmgr -q -O [2025-01-12 21:36:41] Executing: mount --bind -- /dev /mnt/target/dev [2025-01-12 21:36:41] Executing: env -i PATH=/sbin:/usr/sbin:/bin:/usr/bin TERM=linux USER=root LANG=C LC_ALL=C TMPDIR=/tmp/DEPLOY chroot /mnt/target /tmp/DEPLOY/chroot.sh [2025-01-12 21:36:41] Mounting pseudo fs... [2025-01-12 21:36:41] Executing: mount -t proc -- none /proc [2025-01-12 21:36:41] Executing: mount -t sysfs -- none /sys [2025-01-12 21:36:41] Executing: mount -t devpts -- none /dev/pts [2025-01-12 21:36:41] Executing: cd /var/cache/apt/archives/ [2025-01-12 21:36:41] Executing: find . -maxdepth 1 -type f -name *.rpm -printf %f\n [2025-01-12 21:36:41] Executing: cd - [2025-01-12 21:36:41] Binding the installation to the hardware... [2025-01-12 21:36:41] Executing: ls -1 /lib/modules/ [2025-01-12 21:36:41] Executing: make-initrd --kernel=6.6.58-un-def-alt1 [00:00:00] Config file: /etc/initrd.mk [00:00:01] Generating module dependencies on host ... [00:00:09] Used features: add-modules add-udev-rules cleanup compress depmod-image qemu rdshell rootfs system-glibc [00:00:09] Packed modules: 8139cp 8390 9pnet 9pnet_virtio ahci ata_generic ata_piix bluetooth cdrom crypto_engine e100 e1000 e1000e ecdh_generic evdev failover fuse gpio-virtio hid hid-generic i2c-virtio input-leds libahci libata libnvdimm mii nd_virtio ne2k-pci net_failover pata_acpi pcnet32 rfkill rng-core rpmsg_core rpmsg_ns scsi_common scsi_mod sd_mod serio_raw snd snd-pcm snd-timer soundcore sr_mod vdpa virtio virtio-iommu virtio-rng virtio_balloon virtio_blk virtio_bt virtio_console virtio_crypto virtio_dma_buf virtio_input virtio_mem virtio_mmio virtio_net virtio_pci virtio_pci_legacy_dev virtio_pci_modern_dev virtio_pmem virtio_ring virtio_rpmsg_bus virtio_scsi virtio_snd virtio_vdpa virtiofs vmw_vsock_virtio_transport vmw_vsock_virtio_transport_common vp_vdpa vsock [00:00:09] Unpacked size: 30M [00:00:09] Image size: 9.6M [00:00:09] Image is saved as /boot/initrd-6.6.58-un-def-alt1.img [2025-01-12 21:36:50] Installing grub-pc for Legacy/CSM boot mode... [2025-01-12 21:36:50] Executing: grub-install --target=i386-pc --recheck --boot-directory=/boot -- /dev/sda Installing for i386-pc platform. Installation finished. No error reported. [2025-01-12 21:36:51] The grub-efi bootloader for x86_64 is already installed! [2025-01-12 21:36:51] Executing: update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz Found initrd image: /boot/initrd.img Found linux image: /boot/vmlinuz-un-def Found initrd image: /boot/initrd-un-def.img Found linux image: /boot/vmlinuz-6.6.58-un-def-alt1 Found initrd image: /boot/initrd-6.6.58-un-def-alt1.img Adding boot menu entry for UEFI Firmware Settings ... done [2025-01-12 21:36:52] Executing: find /etc/openssh -maxdepth 1 -type f -name ssh_host_*_key.pub -or -name ssh_host_*_key -delete [2025-01-12 21:36:52] Executing: ssh-keygen -A [2025-01-12 21:36:52] Executing: cd / [2025-01-12 21:36:52] Unmounting pseudo fs... [2025-01-12 21:36:52] Executing: umount -- /dev/pts [2025-01-12 21:36:52] Executing: umount -- /sys [2025-01-12 21:36:52] Executing: umount -- /proc [2025-01-12 21:36:52] Executing: umount -- /mnt/target/dev [2025-01-12 21:36:52] Executing: umount -- /mnt/target/tmp/DEPLOY/system-restore.log [2025-01-12 21:36:52] Executing: rm -rf --one-file-system -- /mnt/target/tmp/DEPLOY [2025-01-12 21:36:52] Executing: cp -aRf -- /mnt/target/boot/efi/EFI/altlinux /mnt/target/boot/efi/EFI/BOOT [2025-01-12 21:36:52] Executing: mv -f -- /mnt/target/boot/efi/EFI/BOOT/shimx64.efi /mnt/target/boot/efi/EFI/BOOT/BOOTX64.EFI [2025-01-12 21:36:52] Entering hook 'after_chroot'... [2025-01-12 21:36:52] Leaving hook 'after_chroot'... [2025-01-12 21:36:52] Adding boot record(s) to NVRAM... [2025-01-12 21:36:52] Executing: efibootmgr -q -c -d /dev/sda -t 0 -L UEFI OS -l \EFI\BOOT\BOOTX64.EFI [2025-01-12 21:36:52] Executing: grep -qws -- UEFI OS [2025-01-12 21:36:52] Executing: efibootmgr [2025-01-12 21:36:52] Executing: efibootmgr -q -c -d /dev/sda -t 0 -L altlinux -l \EFI\ALTLINUX\SHIMX64.EFI [2025-01-12 21:36:52] Executing: efibootmgr [2025-01-12 21:36:52] Executing: grep -qws -- altlinux [2025-01-12 21:36:52] Executing: mountpoint -q /tmp [2025-01-12 21:36:52] Executing: chmod -- 0755 /tmp/finish.sh [2025-01-12 21:36:52] Executing: efibootmgr [2025-01-12 21:36:52] Executing: lsblk -f -- /dev/sda [2025-01-12 21:36:52] Executing: sfdisk -l -- /dev/sda