Couple points of confusion here, bear in mind that I am kind of a noob, but
install the install scripts
I’m assuming it’s this one (mind the couple failed attempts at copy-pasting)
[manjaro@manjaro ~]$ sudo pacman -S arch-install-scripts
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
error: target not found: arch-install-scripts
[manjaro@manjaro ~]$ sudo pacman -Sy^Crch-install-scripts
[manjaro@manjaro ~]$ ^C
[manjaro@manjaro ~]$ ^C
[manjaro@manjaro ~]$ ^C
[manjaro@manjaro ~]$ sudo pacman -Sy arch-install-scripts
:: Synchronizing package databases...
core 166.3 KiB 51.5 KiB/s 00:03 [######################] 100%
extra 1861.3 KiB 293 KiB/s 00:06 [######################] 100%
community 7.1 MiB 1184 KiB/s 00:06 [######################] 100%
multilib 174.3 KiB 524 KiB/s 00:00 [######################] 100%
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...
Packages (4) base-3-2 archlinux-keyring-20220713-2 manjaro-keyring-20220514-2
manjaro-system-20220727-1
Total Download Size: 1.64 MiB
Total Installed Size: 2.24 MiB
Net Upgrade Size: 0.70 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
archlinux-keyrin... 1101.0 KiB 418 KiB/s 00:03 [######################] 100%
manjaro-keyring-... 548.8 KiB 582 KiB/s 00:01 [######################] 100%
manjaro-system-2... 18.1 KiB 4.26 KiB/s 00:04 [######################] 100%
base-3-2-any 14.0 KiB 4.43 KiB/s 00:03 [######################] 100%
Total (4/4) 1681.8 KiB 127 KiB/s 00:13 [######################] 100%
(4/4) checking keys in keyring [######################] 100%
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
(4/4) checking available disk space [######################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap because system is booted in Live CD mode...
:: Processing package changes...
(1/4) upgrading manjaro-keyring [######################] 100%
==> Appending keys from manjaro.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 1 keys.
==> Importing owner trust values...
==> Updating trust database...
gpg: next trustdb check due at 2022-08-09
(2/4) upgrading archlinux-keyring [######################] 100%
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 1 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 2 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 22 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 22 signed: 93 trust: 0-, 0q, 0n, 22m, 0f, 0u
gpg: depth: 2 valid: 70 signed: 30 trust: 70-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-08-09
==> Updating trust database...
gpg: next trustdb check due at 2022-08-09
(3/4) installing base [######################] 100%
Optional dependencies for base
linux: bare metal support [installed]
(4/4) upgrading manjaro-system [######################] 100%
==> Checking for 'os-prober' setup ...
We will reenable 'os-prober' for you ...
/usr/bin/grub-probe: error: failed to get canonical path of `overlay'.
==> Checking if graphic drivers need an update ...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
resolving dependencies...
looking for conflicting packages...
Packages (1) arch-install-scripts-25-2
Total Download Size: 0.01 MiB
Total Installed Size: 0.05 MiB
:: Proceed with installation? [Y/n] ^C
Interrupt signal received
[manjaro@manjaro ~]$ sudo pacman -Sy arch-install-scripts
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) arch-install-scripts-25-2
Total Download Size: 0.01 MiB
Total Installed Size: 0.05 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
arch-install-scr... 15.3 KiB 25.4 KiB/s 00:01 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing arch-install-scripts [######################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[manjaro@manjaro ~]$
mount your system and reinstall the glibc
The guide there also says to mount manjaro partitions, but I was under the impression it was already mounted when I booted from the live usb?
[manjaro@manjaro ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0
7:0 0 129.5M 1 loop /run/miso/sfs/livefs
loop1
7:1 0 692M 1 loop /run/miso/sfs/mhwdfs
loop2
7:2 0 1.7G 1 loop /run/miso/sfs/desktopfs
loop3
7:3 0 636.6M 1 loop /run/miso/sfs/rootfs
sda 8:0 0 931.5G 0 disk
└─sda1
8:1 0 931.5G 0 part /run/media/manjaro/67f3ecf5-6ada-41e5-955d-62f4c47b6bd6
sdb 8:16 1 7.4G 0 disk /run/miso/bootmnt
├─sdb1
│ 8:17 1 3.2G 0 part
└─sdb2
8:18 1 4M 0 part
[manjaro@manjaro ~]$ mount -l -t ext4
/dev/sda1 on /run/media/manjaro/67f3ecf5-6ada-41e5-955d-62f4c47b6bd6 type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
Am I doing it wrong? After doing the previous step, do I just proceed to
pacstrap -i /mnt glibc lib32-glibc
or am I missing some steps here? Sorry if this sounds stupid, but I don’t want to mess up any order of operation here, especially when I hardly understand what I’m doing.