#[ SOLVED ] Need help installing Arch

68 messages · Page 1 of 1 (latest)

west wing
#

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.

viscid trench
#

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

west wing
#

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

viscid trench
#

Could you post a pic of the output?

west wing
viscid trench
#

Looks like you're missing the kernel module for this wifi device thonk that's not usual as the arch iso comes with pretty much everything to make it as compatible as possible

west wing
#

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"

viscid trench
#

Possible but it's not ridiculously old

#

modprobe b43 might do it

#

that will force the module in, if it exists

west wing
#

Same output

viscid trench
#

output from where?

#

lspci?

west wing
#

Yes

viscid trench
#

and modprobe didn't complain?

west wing
#

No

viscid trench
#

You might need to use ethernet to get those drivers installed

west wing
#

I tried using ethernet on the pacman command and that didn't work so will there be any difference?

viscid trench
#

Ethernet should work fine. 🤔

#

You have the module and drivers, so all looks good at least from lspci

west wing
#

Well when I run device list in iwctl nothing except the categories appear

viscid trench
#

iw doesn't manage ethernet, only wireless stuff

#

Ethernet should just be plug in and go

west wing
#

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

viscid trench
west wing
#

No, that's the thing. When I run ping archlinux.org it says "Temporary failure in name resolution"

viscid trench
#

That's significant progress!

#

Means the device works at least

#

Ping 8.8.8.8 should work

west wing
#

"Network is unreachable"

viscid trench
#

Hmm I thought that would work

west wing
#

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?

viscid trench
#

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 😞

west wing
#

I mean I see this as a learning experience since this is my first time playing with Arch😆

viscid trench
#

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

west wing
#

That's exactly what I will do since apparently there are no drivers on the official site

west wing
#

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

viscid trench
#

Different behaviour is a positive

west wing
#

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"

viscid trench
#

What version of the iso did you spin up? The gui one?

west wing
#

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

viscid trench
#

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)

west wing
#

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

viscid trench
#

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 😭

west wing
#

So since it worked in Gentoo the likeliness of it working in Arch bumped up a bit

viscid trench
#

Blame Broadcom! Pricks!

west wing
#

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

west wing
#

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?

queen flame
viscid trench
#

*if they have working network devices

west wing
#

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

viscid trench
#

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

west wing
#

Yeah whatever I will leave it for tomorrow it's already pretty late for me