Hey, so I am trying to install arch for the first time on a secondary device and when I get to downloading the pacman the last two lines are the same: "error: failed to synchronize all databases( invalid url for server)
ERROR: Failed to install packages to new root"
I initially asked ChatGPT for help installing Arch and when I got to this point he said to try using " pacman -c /mnt base linux linux-firmware" which didn't work either. I tried to fix the network in the ways it said and nothing. The installer doesn't detect the driver and when running "ip link" everything is down and I can't get them up. I tried USB tethering too but that doesn't work either. Some help would be appreciated.
#[ SOLVED ] Need help installing Arch
68 messages · Page 1 of 1 (latest)
can you please show lspci -k | grep -iA3 net ?
That will print out all your devices, filter for any with net in the name (case insensitive) and provide 3 lines of context after each match
We're looking for kernel modules and kernel drivers in use lines
For Ethernet controller is: Kernel driver in use: e1000e, Kernel modules: e1000e
And Network Controller: Kernel driver in use: bcma-pci-bridge
I have tried Wi-Fi and ethernet and neither worked
Could you post a pic of the output?
Looks like you're missing the kernel module for this wifi device
that's not usual as the arch iso comes with pretty much everything to make it as compatible as possible
Is it possible that it is because this laptop is pretty old? It was made around 2012 and I am just using it as a "test device"
Possible but it's not ridiculously old
modprobe b43 might do it
that will force the module in, if it exists
Same output
Yes
and modprobe didn't complain?
No
Hmm. Well I think this is where you're at - https://wiki.archlinux.org/title/Broadcom_wireless#b43
You might need to use ethernet to get those drivers installed
I tried using ethernet on the pacman command and that didn't work so will there be any difference?
Ethernet should work fine. 🤔
You have the module and drivers, so all looks good at least from lspci
Well when I run device list in iwctl nothing except the categories appear
iw doesn't manage ethernet, only wireless stuff
Ethernet should just be plug in and go
So I got lost. I plugged in ethernet and ran modprobe b43 again but still nothing new in lspci
tried modprobe b43legacy too and still nothing
Does the pacstrap work on ethernet?
Or ping archlinux.org?
No, that's the thing. When I run ping archlinux.org it says "Temporary failure in name resolution"
That's significant progress!
Means the device works at least
Ping 8.8.8.8 should work
"Network is unreachable"
Hmm I thought that would work
Is there any way to get the newest Wi-Fi driver for this laptop on a USB and try to install it inside the installer?
Sure. You could get the package from another machine, put it on a usb, then pacman -U <path to package>
I'm annoyed on your behalf though. Ethernet should just work 😞
I mean I see this as a learning experience since this is my first time playing with Arch😆
A good data point would be to spin up another distro usb and see if it is the same there
Like mint or Gentoo live USBs
That's exactly what I will do since apparently there are no drivers on the official site
Got some news. I booted Gentoo and it doesn't recognize the ethernet but Wi-Fi works. And when i try to set the time zone or date it requires the root password but I didn't even set one
Different behaviour is a positive
I suppose but what am I supposed to do with the root? How do I deactivate the password or whatever because I can't even acces firefox without the correct time zone
Actually in settings it detected the ethernet but even while connected it says "never used"
What version of the iso did you spin up? The gui one?
The LiveGUI USB and i think alt+tab destroyed the system? I pressed it once and it went black screem. When I press it again it says "This is livecd ...." And under that it askes for "livecd login" but it stays for just a couple of seconds
Alas I've not used the GUI one so I can't provide specific advice. The alt-tab probably switched TTY to one that is not auto-logged into
ctrl alt F1 or another F key will probably get you back to KDE
I suggested trying out the gentoo (or another distro) live USB just to confirm or deny that this stuff worked at all. I don't necessarily recommend continuing with gentoo (unless you really want to, it's a great distro)
Oh well I do want to try vanilla arch so yeah I think I will stick to that. If it does not work at all then yeah maybe then I will stick with Gentoo
Aye. Because it works in another distro that means that continuing to hack at this in Arch may actually produce results
If it didn't work in another distro then 😭
So since it worked in Gentoo the likeliness of it working in Arch bumped up a bit
Blame Broadcom! Pricks!
Could I install the broadcom drivers from Gentoo and then try it in the Arch installer? If yes i firstly need to get back in the KDE becuase all that the ctrl+alt+ F buttons lead to either the root of Gentoo or the livecd that appeared previously
Yeah nevermind since I removed the USB and it ran just on that so I got no boot image and I have only one USB available that I reformatted with Arch already, so no broadcom drivers. Damn this is annoying
And from what you are saying it's a weird error too right?
you can install arch on 90's computers
*if they have working network devices
Hey @viscid trench hope there is no problem pinging you but I managed to get Wi-Fi working, I installed everything grub and everything but when I reboot it just says no bootable image found
When you run grub-mkconfig it should tell you that it has found the kernel and initramfs in its log
If it doesn't then check /boot or wherever your ESP is mounted for the kernel and initramfs
Yeah whatever I will leave it for tomorrow it's already pretty late for me