Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [liveuser@eos-2020.09.19 ~]$ git clone https://github.com/endeavouros-arm/image-install.git
- Cloning into 'image-install'...
- remote: Enumerating objects: 108, done.
- remote: Counting objects: 100% (108/108), done.
- remote: Compressing objects: 100% (96/96), done.
- remote: Total 108 (delta 36), reused 21 (delta 8), pack-reused 0
- Receiving objects: 100% (108/108), 39.75 KiB | 515.00 KiB/s, done.
- Resolving deltas: 100% (36/36), done.
- [liveuser@eos-2020.09.19 ~]$ cd image-install/
- [liveuser@eos-2020.09.19 image-install]$ ls
- install_image.sh LICENSE README.md
- [liveuser@eos-2020.09.19 image-install]$ sudo su
- [root@archiso image-install]# ls -l
- total 48
- -rwxr-xr-x 1 liveuser users 7519 Sep 19 20:01 install_image.sh
- -rw-r--r-- 1 liveuser users 35149 Sep 19 20:01 LICENSE
- -rw-r--r-- 1 liveuser users 997 Sep 19 20:01 README.md
- [root@archiso image-install]# ./
- .git/ install_image.sh
- [root@archiso image-install]# ./
- .git/ install_image.sh
- [root@archiso image-install]# ./install_image.sh
- Partitioning, & formatting storage device...
- Partitioning storage device /dev/sdc...
- Formatting storage device /dev/sdc...
- If "/dev/sdx contains a ext4 file system Labelled XXXX" or similar appears, Enter: y
- mkfs.fat 4.1 (2017-01-24)
- Creating filesystem with 7725312 4k blocks and 1933312 inodes
- Filesystem UUID: 2db279c6-5c13-418e-bcf0-e1c237c5ae07
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
- 4096000
- Allocating group tables: done
- Writing inode tables: done
- Creating journal (32768 blocks): done
- Writing superblocks and filesystem accounting information: done
- --2020-09-19 20:03:01-- http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
- Resolving os.archlinuxarm.org (os.archlinuxarm.org)... 50.116.36.110
- Connecting to os.archlinuxarm.org (os.archlinuxarm.org)|50.116.36.110|:80... connected.
- HTTP request sent, awaiting response... 302 Found
- Location: http://de3.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz [following]
- --2020-09-19 20:03:01-- http://de3.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
- Resolving de3.mirror.archlinuxarm.org (de3.mirror.archlinuxarm.org)... 137.226.34.46
- Connecting to de3.mirror.archlinuxarm.org (de3.mirror.archlinuxarm.org)|137.226.34.46|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 588727819 (561M) [application/octet-stream]
- Saving to: ‘ArchLinuxARM-rpi-aarch64-latest.tar.gz’
- ArchLinuxARM-rpi-aarch64 100%[==================================>] 561.45M 59.2MB/s in 8.4s
- 2020-09-19 20:03:10 (66.6 MB/s) - ‘ArchLinuxARM-rpi-aarch64-latest.tar.gz’ saved [588727819/588727819]
- Untarring the image...may take a few minutes.
- Syncing partitions...may take a few minutes.
- Almost done! Just a couple of minutes more for the last step.
- End of script!
- Be sure to use a file manager to umount the device before removing the USB SD reader
- The default user is alarm with the password alarm
- The default root password is root
- [root@archiso image-install]# ssh root@192.168.188.30
- The authenticity of host '192.168.188.30 (192.168.188.30)' can't be established.
- ECDSA key fingerprint is SHA256:4wO7O7Tx8W/fTJ6UkWzOBjCAAg7SDryoxtjRY3IO234.
- Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
- Warning: Permanently added '192.168.188.30' (ECDSA) to the list of known hosts.
- root@192.168.188.30's password:
- Permission denied, please try again.
- root@192.168.188.30's password:
- Permission denied, please try again.
- root@192.168.188.30's password:
- [root@archiso image-install]# ssh root@192.168.188.30
- root@192.168.188.30's password:
- Permission denied, please try again.
- root@192.168.188.30's password:
- [root@archiso image-install]# ssh alarm@192.168.188.30
- alarm@192.168.188.30's password:
- [alarm@alarm ~]$ ls
- [alarm@alarm ~]$ passwd -S root
- passwd: You may not view or modify password information for root.
- [alarm@alarm ~]$ passwd -u root
- passwd: Permission denied.
- [alarm@alarm ~]$ sudo passwd -S root
- -bash: sudo: command not found
- [alarm@alarm ~]$ su -
- Password:
- [root@alarm ~]# passwd -S root
- root P 08/09/2020 -1 -1 -1 -1
- [root@alarm ~]# passwd -u root
- passwd: password expiry information changed.
- [root@alarm ~]# ^C
- [root@alarm ~]# exit
- logout
- [alarm@alarm ~]$ exit
- logout
- Connection to 192.168.188.30 closed.
- [root@archiso image-install]# ssh root@192.168.188.30
- root@192.168.188.30's password:
- Permission denied, please try again.
- root@192.168.188.30's password:
- Permission denied, please try again.
- root@192.168.188.30's password:
- [root@archiso image-install]# ssh alarm@192.168.188.30
- alarm@192.168.188.30's password:
- Last login: Sat Sep 19 20:10:50 2020 from 192.168.188.21
- [alarm@alarm ~]$ su -
- Password:
- [root@alarm ~]# nano /etc/pacman.d/mirrorlist
- [root@alarm ~]# pacman-key --init
- gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
- gpg: no ultimately trusted keys found
- gpg: starting migration from earlier GnuPG versions
- gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
- gpg: migration succeeded
- gpg: Generating pacman keyring master key...
- gpg: key 65A480E95B9DA4BB marked as ultimately trusted
- gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
- gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/ABD9CFA7B648CCF30FDD598D65A480E95B9DA4BB.rev'
- gpg: Done
- ==> Updating trust database...
- gpg: marginals needed: 3 completes needed: 1 trust model: pgp
- gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
- [root@alarm ~]# pacman-key --populate archlinuxarm
- ==> Appending keys from archlinuxarm.gpg...
- ==> Locally signing trusted keys in keyring...
- -> Locally signing key 69DD6C8FD314223E14362848BF7EEF7A9C6B5765...
- -> Locally signing key 02922214DE8981D14DC2ACABBC704E86B823CD25...
- -> Locally signing key 9D22B7BB678DC056B1F7723CB55C5315DCD9EE1A...
- ==> Importing owner trust values...
- gpg: setting ownertrust to 4
- gpg: inserting ownertrust of 4
- gpg: setting ownertrust to 4
- ==> Updating trust database...
- gpg: marginals needed: 3 completes needed: 1 trust model: pgp
- gpg: depth: 0 valid: 1 signed: 3 trust: 0-, 0q, 0n, 0m, 0f, 1u
- gpg: depth: 1 valid: 3 signed: 1 trust: 0-, 0q, 0n, 3m, 0f, 0u
- gpg: depth: 2 valid: 1 signed: 0 trust: 1-, 0q, 0n, 0m, 0f, 0u
- [root@alarm ~]# pacman -Syyu
- :: Synchronizing package databases...
- core 195.8 KiB 1632 KiB/s 00:00 [################################] 100%
- extra 2.2 MiB 3.13 MiB/s 00:01 [################################] 100%
- community 4.8 MiB 8.77 MiB/s 00:01 [################################] 100%
- alarm 49.3 KiB 0.00 B/s 00:00 [################################] 100%
- aur 3.6 KiB 0.00 B/s 00:00 [################################] 100%
- :: Starting full system upgrade...
- :: Replace libutil-linux with core/util-linux-libs? [Y/n] Y
- resolving dependencies...
- looking for conflicting packages...
- Packages (48) bash-5.0.018-1 ca-certificates-mozilla-3.56-1 cryptsetup-2.3.4-1 curl-7.72.0-2
- dhcpcd-9.2.0-1 filesystem-2020.08.21-1 gcc-libs-10.2.0-1 gettext-0.21-1
- glib2-2.66.0-1 glibc-2.32-2 gnupg-2.2.23-1 gnutls-3.6.15-1 hwids-20200813.1-1
- iana-etc-20200905-1 iproute2-5.8.0-1 iputils-20200821-1 iw-5.8-1 kbd-2.3.0-2
- kmod-27-2 libcap-2.43-1 libcap-ng-0.7.11-2 libedit-20191231_3.1-2
- libgpg-error-1.39-1 libksba-1.4.0-2 libldap-2.4.52-1 libp11-kit-0.23.21-1
- libpsl-0.21.1-1 libutil-linux-2.36-1 [removal] libxcrypt-4.4.17-1
- linux-aarch64-5.8.9-2 linux-api-headers-5.8-1 linux-firmware-20200817.7a30af1-1
- mkinitcpio-busybox-1.31.1-2 mpfr-4.1.0-1 nano-5.2-1 openresolv-3.11.0-1
- openssh-8.3p1-4 p11-kit-0.23.21-1 pam-1.4.0-3 pambase-20200721.1-2
- raspberrypi-bootloader-20200917-1 shadow-4.8.1-4 sqlite-3.33.0-2 systemd-246.5-1
- systemd-libs-246.5-1 systemd-sysvcompat-246.5-1 util-linux-2.36-4
- util-linux-libs-2.36-4
- Total Download Size: 264.40 MiB
- Total Installed Size: 1044.62 MiB
- Net Upgrade Size: -9.23 MiB
- :: Proceed with installation? [Y/n] Y
- :: Retrieving packages...
- linux-api-headers-5.8-1-any 1027.5 KiB 3.86 MiB/s 00:00 [################################] 100%
- iana-etc-20200905-1-any 371.3 KiB 3.02 MiB/s 00:00 [################################] 100%
- filesystem-2020.08.21-1-aa... 27.9 KiB 1397 KiB/s 00:00 [################################] 100%
- glibc-2.32-2-aarch64 8.6 MiB 3.86 MiB/s 00:02 [################################] 100%
- gcc-libs-10.2.0-1-aarch64 27.7 MiB 40.7 MiB/s 00:01 [################################] 100%
- bash-5.0.018-1-aarch64 1523.3 KiB 6.47 MiB/s 00:00 [################################] 100%
- libcap-2.43-1-aarch64 57.4 KiB 522 KiB/s 00:00 [################################] 100%
- libgpg-error-1.39-1-aarch64 204.6 KiB 2.22 MiB/s 00:00 [################################] 100%
- systemd-libs-246.5-1-aarch64 478.8 KiB 557 KiB/s 00:01 [################################] 100%
- libp11-kit-0.23.21-1-aarch64 358.6 KiB 3.89 MiB/s 00:00 [################################] 100%
- p11-kit-0.23.21-1-aarch64 139.9 KiB 999 KiB/s 00:00 [################################] 100%
- ca-certificates-mozilla-3.... 322.0 KiB 3.93 MiB/s 00:00 [################################] 100%
- util-linux-libs-2.36-4-aarch64 365.1 KiB 3.24 MiB/s 00:00 [################################] 100%
- cryptsetup-2.3.4-1-aarch64 505.9 KiB 3.80 MiB/s 00:00 [################################] 100%
- libpsl-0.21.1-1-aarch64 74.7 KiB 202 KiB/s 00:00 [################################] 100%
- libldap-2.4.52-1-aarch64 277.9 KiB 287 KiB/s 00:01 [################################] 100%
- curl-7.72.0-2-aarch64 1004.2 KiB 7.01 MiB/s 00:00 [################################] 100%
- pambase-20200721.1-2-any 3.2 KiB 0.00 B/s 00:00 [################################] 100%
- libcap-ng-0.7.11-2-aarch64 36.7 KiB 611 KiB/s 00:00 [################################] 100%
- pam-1.4.0-3-aarch64 560.6 KiB 824 KiB/s 00:01 [################################] 100%
- kbd-2.3.0-2-aarch64 1138.9 KiB 8.56 MiB/s 00:00 [################################] 100%
- kmod-27-2-aarch64 100.5 KiB 173 KiB/s 00:01 [################################] 100%
- hwids-20200813.1-1-any 422.3 KiB 1836 KiB/s 00:00 [################################] 100%
- libxcrypt-4.4.17-1-aarch64 86.6 KiB 2.82 MiB/s 00:00 [################################] 100%
- shadow-4.8.1-4-aarch64 1127.3 KiB 8.47 MiB/s 00:00 [################################] 100%
- util-linux-2.36-4-aarch64 2.2 MiB 260 KiB/s 00:09 [################################] 100%
- systemd-246.5-1-aarch64 5.3 MiB 25.4 MiB/s 00:00 [################################] 100%
- dhcpcd-9.2.0-1-aarch64 185.6 KiB 3.02 MiB/s 00:00 [################################] 100%
- glib2-2.66.0-1-aarch64 2.5 MiB 1365 KiB/s 00:02 [################################] 100%
- gettext-0.21-1-aarch64 1942.0 KiB 11.2 MiB/s 00:00 [################################] 100%
- libksba-1.4.0-2-aarch64 123.2 KiB 821 KiB/s 00:00 [################################] 100%
- gnutls-3.6.15-1-aarch64 2.5 MiB 11.5 MiB/s 00:00 [################################] 100%
- sqlite-3.33.0-2-aarch64 1524.2 KiB 9.92 MiB/s 00:00 [################################] 100%
- gnupg-2.2.23-1-aarch64 2.1 MiB 12.6 MiB/s 00:00 [################################] 100%
- iproute2-5.8.0-1-aarch64 890.3 KiB 4.58 MiB/s 00:00 [################################] 100%
- iputils-20200821-1-aarch64 116.8 KiB 11.4 MiB/s 00:00 [################################] 100%
- iw-5.8-1-aarch64 91.5 KiB 2.98 MiB/s 00:00 [################################] 100%
- libedit-20191231_3.1-2-aarch64 98.4 KiB 1640 KiB/s 00:00 [################################] 100%
- linux-firmware-20200817.7a... 119.3 MiB 82.3 MiB/s 00:01 [################################] 100%
- mkinitcpio-busybox-1.31.1-... 238.9 KiB 2.33 MiB/s 00:00 [################################] 100%
- mpfr-4.1.0-1-aarch64 298.0 KiB 4.16 MiB/s 00:00 [################################] 100%
- linux-aarch64-5.8.9-2-aarch64 74.1 MiB 73.4 MiB/s 00:01 [################################] 100%
- nano-5.2-1-aarch64 499.9 KiB 3.25 MiB/s 00:00 [################################] 100%
- openresolv-3.11.0-1-any 22.0 KiB 1099 KiB/s 00:00 [################################] 100%
- openssh-8.3p1-4-aarch64 831.6 KiB 7.38 MiB/s 00:00 [################################] 100%
- systemd-sysvcompat-246.5-1... 5.6 KiB 0.00 B/s 00:00 [################################] 100%
- raspberrypi-bootloader-202... 3.3 MiB 11.5 MiB/s 00:00 [################################] 100%
- (47/47) checking keys in keyring [################################] 100%
- (47/47) checking package integrity [################################] 100%
- (47/47) loading package files [################################] 100%
- (47/47) checking for file conflicts [################################] 100%
- (48/48) checking available disk space [################################] 100%
- :: Processing package changes...
- (1/1) removing libutil-linux [################################] 100%
- ( 1/47) upgrading linux-api-headers [################################] 100%
- ( 2/47) upgrading iana-etc [################################] 100%
- ( 3/47) upgrading filesystem [################################] 100%
- ( 4/47) upgrading glibc [################################] 100%
- Generating locales...
- Generation complete.
- ( 5/47) upgrading gcc-libs [################################] 100%
- ( 6/47) upgrading bash [################################] 100%
- ( 7/47) upgrading libcap [################################] 100%
- ( 8/47) upgrading libgpg-error [################################] 100%
- ( 9/47) upgrading systemd-libs [################################] 100%
- (10/47) upgrading libp11-kit [################################] 100%
- (11/47) upgrading p11-kit [################################] 100%
- (12/47) upgrading ca-certificates-mozilla [################################] 100%
- (13/47) installing util-linux-libs [################################] 100%
- (14/47) upgrading cryptsetup [################################] 100%
- (15/47) upgrading libpsl [################################] 100%
- (16/47) upgrading libldap [################################] 100%
- (17/47) upgrading curl [################################] 100%
- (18/47) upgrading pambase [################################] 100%
- (19/47) upgrading libcap-ng [################################] 100%
- (20/47) upgrading pam [################################] 100%
- (21/47) upgrading kbd [################################] 100%
- (22/47) upgrading kmod [################################] 100%
- (23/47) upgrading hwids [################################] 100%
- (24/47) installing libxcrypt [################################] 100%
- (25/47) upgrading shadow [################################] 100%
- (26/47) upgrading util-linux [################################] 100%
- (27/47) upgrading systemd [################################] 100%
- (28/47) upgrading dhcpcd [################################] 100%
- warning: directory permissions differ on /var/lib/dhcpcd/
- filesystem: 700 package: 755
- (29/47) upgrading glib2 [################################] 100%
- (30/47) upgrading gettext [################################] 100%
- (31/47) upgrading libksba [################################] 100%
- (32/47) upgrading gnutls [################################] 100%
- (33/47) upgrading sqlite [################################] 100%
- (34/47) upgrading gnupg [################################] 100%
- (35/47) upgrading iproute2 [################################] 100%
- (36/47) upgrading iputils [################################] 100%
- (37/47) upgrading iw [################################] 100%
- (38/47) upgrading libedit [################################] 100%
- (39/47) upgrading linux-firmware [################################] 100%
- (40/47) upgrading mkinitcpio-busybox [################################] 100%
- (41/47) upgrading mpfr [################################] 100%
- (42/47) upgrading linux-aarch64 [################################] 100%
- (43/47) upgrading nano [################################] 100%
- (44/47) upgrading openresolv [################################] 100%
- (45/47) upgrading openssh [################################] 100%
- (46/47) upgrading raspberrypi-bootloader [################################] 100%
- (47/47) upgrading systemd-sysvcompat [################################] 100%
- :: Running post-transaction hooks...
- ( 1/14) Creating system user accounts...
- ( 2/14) Updating journal message catalog...
- ( 3/14) Reloading system manager configuration...
- ( 4/14) Updating udev hardware database...
- ( 5/14) Applying kernel sysctl settings...
- Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
- Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
- Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
- Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists).
- Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
- Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
- ( 6/14) Creating temporary files...
- ( 7/14) Reloading device manager configuration...
- ( 8/14) Arming ConditionNeedsUpdate...
- ( 9/14) Rebuilding certificate stores...
- (10/14) Updating module dependencies...
- (11/14) Updating linux-aarch64 module dependencies...
- (12/14) Updating linux-aarch64 initcpios...
- ==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default'
- -> -k 5.8.9-2-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
- ==> Starting build: 5.8.9-2-ARCH
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [autodetect]
- -> Running build hook: [modconf]
- -> Running build hook: [block]
- -> Running build hook: [filesystems]
- -> Running build hook: [keyboard]
- -> Running build hook: [fsck]
- ==> Generating module dependencies
- ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
- ==> Image generation successful
- ==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'fallback'
- -> -k 5.8.9-2-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
- ==> Starting build: 5.8.9-2-ARCH
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [modconf]
- -> Running build hook: [block]
- ==> WARNING: Possibly missing firmware for module: wd719x
- -> Running build hook: [filesystems]
- -> Running build hook: [keyboard]
- -> Running build hook: [fsck]
- ==> Generating module dependencies
- ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
- ==> Image generation successful
- (13/14) Updating linux initcpios...
- ==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default'
- -> -k 5.8.9-2-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
- ==> Starting build: 5.8.9-2-ARCH
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [autodetect]
- -> Running build hook: [modconf]
- -> Running build hook: [block]
- -> Running build hook: [filesystems]
- -> Running build hook: [keyboard]
- -> Running build hook: [fsck]
- ==> Generating module dependencies
- ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
- ==> Image generation successful
- ==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'fallback'
- -> -k 5.8.9-2-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
- ==> Starting build: 5.8.9-2-ARCH
- -> Running build hook: [base]
- -> Running build hook: [udev]
- -> Running build hook: [modconf]
- -> Running build hook: [block]
- ==> WARNING: Possibly missing firmware for module: wd719x
- -> Running build hook: [filesystems]
- -> Running build hook: [keyboard]
- -> Running build hook: [fsck]
- ==> Generating module dependencies
- ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
- ==> Image generation successful
- (14/14) Reloading system bus configuration...
- [root@alarm ~]# reboot
- Connection to 192.168.188.30 closed by remote host.
- Connection to 192.168.188.30 closed.
- [root@archiso image-install]# ssh alarm@192.168.188.30
- ^C
- [root@archiso image-install]# ssh alarm@192.168.188.30
- ssh: connect to host 192.168.188.30 port 22: No route to host
- [root@archiso image-install]# ssh alarm@192.168.188.30
- ssh: connect to host 192.168.188.30 port 22: No route to host
- [root@archiso image-install]# ssh alarm@192.168.188.30
- ssh: connect to host 192.168.188.30 port 22: No route to host
- [root@archiso image-install]# hostname
- archiso
- [root@archiso image-install]#
Add Comment
Please, Sign In to add comment