You are not logged in.
Pages: 1
I try to install Arch Linux KDE on a Lenovo F0CK000LFR with this install script:
fdisk /dev/sda<<<'n
133119
n
968373959
n
976762567
n
1953525134
w'
mkfs.fat /dev/sda1
mkfs.ext4 /dev/sda2 -E root_perms 777
mkswap /dev/sda3
mkfs.ext4 /dev/sda4 -E root_perms 777
mount /dev/sda2 /mnt
mount --mkdir /dev/sda1 /mnt/efi
mkdir /mnt/efi/efi
mkdir /mnt/efi/efi/boot
mkdir /mnt/etc
mkdir /mnt/etc/mkinitcpio.d
echo -e ALL_kver=/boot/vmlinuz-linux'\'nPRESETS=default'\'ndefault_uki=/efi/efi/boot/bootx64.efi>/mnt/etc/mkinitcpio.d/linux.preset
echo HOOKS='('base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems resume fsck')'>/mnt/etc/mkinitcpio.conf
mkdir /mnt/etc/kernel
echo root=/dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T6_WD-WXU1AA6PDZNT-part2 resume=/dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T6_WD-WXU1AA6PDZNT-part3 rw>/mnt/etc/kernel/cmdline
sed -i '92s/#//
93s/#//' /etc/pacman.conf
pacstrap -K /mnt base linux f2fs-tools dosfstools ntfs-3g man-db nano sudo linux-firmware-amdgpu plasma-meta kde-applications-meta
arch-chroot /mnt bash -c "rm /var/cache/pacman/pkg/*
systemctl enable NetworkManager sddm
ln -s /usr/share/zoneinfo/UTC /etc/localtime
hwclock -w
echo -e /dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T6_WD-WXU1AA6PDZNT-part1 /efi'\'n/dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T6_WD-WXU1AA6PDZNT-part3 none swap>/etc/fstab
sed -i 15,17d /usr/lib/tmpfiles.d/var.conf
rm /var/log/wtmp /var/log/btmp /var/log/lastlog
useradd -m a
sed -i '1s/x//
'$'s/x//' /etc/passwd
sed -i '122d
136s/# //' /etc/sudoers
sed -i '92s/#//
93s/#//' /etc/pacman.conf
echo unset HISTFILE>>/etc/bash.bashrc"
but it fails with among other this message:
extra.db failed to download
A photo:
https://drive.google.com/file/d/14sKg5j … 8jnLzGXj09
Last edited by jebez (2025-09-12 23:23:11)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
The errors you are getting with extra.db failed to download and Failure writing output to destination are not really caused by your script but by network or mirror problems. It looks like the live environment cannot download package databases from the mirrors you are using, either because the mirrors are down, slow, or there is a network problem. You should first check that your internet works by running ping -c 3 archlinux.org. For wired connection you can start dhcpcd by dhcpcd and for wifi use iwctl then inside list devices device list scan station <device> scan and connect station <device> connect <SSID.
Another common reason is bad mirrors. Some of the mirrors in your log are failing completely. You can update them with reflector by running reflector --country YOUR_COUNTRY --latest 5 --sort rate --save /etc/pacman.d/mirrorlist and then test them with pacman -Syy. If these download successfully then you can re-run pacstrap with your packages. If it still fails try changing to a different country or a more reliable mirror manually.
Also a note about your script, creating /mnt/etc and editing mkinitcpio and pacman configs manually is unusual and can cause problems. Multi-line arch-chroot commands sometimes break if quotes are wrong, and fdisk scripting with fdisk /dev/sda<<<'n ... w' is risky. It is usually better to simplify the script, make sure network and mirrors work first, and then run pacstrap cleanly. Once network and mirrors are good, the install should succeed.
Offline
https://mirror.osbeck.com/archlinux/ext … 4/extra.db is fine and core and multilib worked.
What kerrnel is this 6.16.{2,3,4} had a major bug in the network stack, https://bbs.archlinux.org/viewtopic.php?id=307847
Offline
Well can you just tell me what to do?
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
Does it work if you boot with linux-lts instead?
Jin, Jîyan, Azadî
Offline
The lts kernels were affected as well, 6.16.1 or 6.16.5 would not be.
If you're running into this there's nothing you "can do" - thus "major bug"
Offline
https://archlinux.org/packages/core/x86_64/linux/ is bugged? Wait the new version? When?
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
6.16.5 would NOT be affected by the known network bug, but wdk what kernel you're currently booting.
Check "uname -a" on your installation attempt.
Offline
Not you read my install script?
pacstrap -K /mnt base linux ... so it's https://archlinux.org/packages/core/x86_64/linux/ .
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
The relevant kernel is the one that *boots*, not the one you're trying and failing to download
Offline
It's the latest archlinux-2025.09.01-x86_64.iso .
uname -r
6.16.4-arch1-1
Should I try https://archlinux.org/releng/netboot/ ? But https://bbs.archlinux.org/viewtopic.php?id=302688 ...
Last edited by jebez (2025-09-12 08:24:56)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
No, you'd try an older image w/ a kernel < 6.16.2 or wait for the october release.
Offline
I booted https://archlinux.org/static/netboot/ipxe-arch.efi , it offers the 3 latest months (july august september), wait october omg...
So what is the latest month, archlinux-2025.*.01-x86_64.iso that would works?
Last edited by jebez (2025-09-12 08:44:43)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
https://gitlab.archlinux.org/archlinux/ … mmits/main
6.16.2 was packaged Aug 20, 2025 so everything before that will not have that but.
Whether it will work, we'll see - the reason for the perceived behavior is so far speculative.
Offline
https://archlinux.org/releng/releases/2025.08.01/
archlinux-2025.08.01-x86_64.iso
same issue.
This Lenovo F0CK000LFR has only 4 GB of RAM, not enough maybe?
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
No, the problem is the network, not your RAM.
Is there a VPN or PiHole or stuff like that involved? Weak WIFI?
Only extra.db fails?
Does https://wiki.archlinux.org/title/Tethering work?
Offline
Only Ethernet.
Yes.
Tethering? By USB? Why?
Internet works, e.g.
ping archlinux.org
Last edited by jebez (2025-09-12 15:03:48)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
ping has a minuscule package size and you're apparently only failing on downloading an 8MB file.
Using your phone as external ethernet device should side-step pot. driver errors, we'll have to check what's wrong w/ your network stack and that will ideally involve uploading the journal after the failure (to the internet…)
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Offline
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
There's no obvious error but that's 6.16.4-arch1-1
Offline
Yes I reput archlinux-2025.09.01-x86_64.iso on the USB key, since same issue with archlinux-2025.08.01-x86_64.iso .
Googling "arch linux requirements" & https://wiki.archlinux.org/title/Main_page , Search "requirements" I not officially found, sure 4 GB of RAM is possible? archlinux-2025.09.01-x86_64.iso weighs 1.4 GiB...
As the install script there's swap on /dev/sda3, I inserted
...
mkswap /dev/sda3
swapon /dev/sda3
...
but still the issue, can the .iso use swap?
Last edited by jebez (2025-09-12 16:18:47)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
It's not your RAM.
From the iso (use the 08.01 one) try to
curl -vL 'https://mirror.osbeck.com/archlinux/extra/os/x86_64/extra.db' > /dev/null 2> /tmp/curl.log # this is gonna take a moment
cat /tmp/curl.log | curl -F 'file=@-' 0x0.st
And: test the behavior w/ a tethering device.
Also I'm not sure whether you've answered to
Is there a VPN or PiHole or stuff like that involved?
Notably VPNs will get you into MTU issues.
Offline
Nevermind I found!
In the install script remove
-E root_perms 777
by instead
...
mount /dev/sda2 /mnt
chmod 777 /mnt
...
-E root_perms 777 seems bugged, should I create a bug report? Also with mkfs.f2fs & mkfs.fat there isn't such option...
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
The root partition should™ be 755 itfp, but that doesn't explain the errors in your OPs picture at all.
Offline
Pages: 1