You are not logged in.
Hi to all,
here Gab.
I have a little probem.
I run
pacman -Syu font-terminus
.
The font was intalled and i updated the vconsole.conf file
Then i ran pacman to installa other pacakge, i start to install xorg server to enable a gui and i receive a generic "Coulkd not resolve host"
The network was up until 30 minutes ago.
It' strange cause if i try to run
networkmanager
nothing happens.
Sorry but i'm a newbe of Arch, thanks!
Gabriele
EDIT: read the thread network go down cause linux kernel was bad booted. Restore fstab
Last edited by gabtram (2023-04-27 10:11:07)
Offline
if i try to run [nonsense] nothing happens.
Isn't much of a surprise, are you using NetworkManager at all?
ping -c1 8.8.8.8
ping -c1 google.com
ip a
ip r
find /etc/systemd -type l -exec test -f {} \; -print
Online
if i try to run [nonsense] nothing happens.
Isn't much of a surprise, are you using NetworkManager at all?
Thanks for your help. Maybe i didn't explain well. There isn't nonsense.
I installed arch 10 days ago following wiki step by step. When i first install Arch it works immedaitaley after i put the cable in. So honestly i don't go deep to understand how network works and what demon start.
I'm starting with the early steps.
ping -c1 8.8.8.8
Network is unreachable
ping -c1 google.com
Temporary failure in name resolution
ip a
1: lo: <LOOPBACK,UP;LOWER_UP> mtu 65536 qdisc noqueue state Unkonwn group defalut qlen 1000 link/loopack 00:00:00:00:00:00: brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preffered _lft forever
inet6 :: 1/128 scope host
valid_lft forever preffered _lft forever
ip r
nothing
find /etc/systemd -type l -exec test -f {} \; -print
/etc/systemd/user/sockets.target.wants/p11-kit-server.socket
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/network.-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/multi.user.target.wants/NetworkManager.service
/etc/systemd/system/multi.user.target.wants/remote-fs.target
I hope i reported all well. I can't understand what happens after launched pacam -Syu for updates
Thanks so much for your suggestions!
Last edited by gabtram (2023-04-26 23:04:06)
Offline
There's no network device.
Yo forgot to mount the boot partition before updating.
uname -a
pacman -Qs linux
The versions will likely fall apart.
Edit:
There isn't nonsense.
It's actually multilayered nonsense.
There's no "networkmanager" binary and you cannot start /usr/bin/NetworkManager as ordinary user and you're supposed to start/enable the system service anyway.
Last edited by seth (2023-04-26 23:07:07)
Online
There's no network device.
Yo forgot to mount the boot partition before updating.The versions will likely fall apart.
Hi Seth,
thanks for you response, but as i said before, i'm starting to understand now something.
I installed the boot partition and it loads each time i start arch, don't understand why you said i don't mount it before updating.
Anyway this is the output
uname -a
Linux arch***** 6.2.10-arch1 #1 SMP PREEMPT_DYNAMIC date and hour +000 x86_64 GNU/Linux
pacman -Qs linux
local/archlinux keyring
local/base 3-1
local/efibootmgr 18-2
local/filesystem 2023.01.31-1
local/iptables 1:1.89-1
local/keyutils 1.6.3-1
local/kmod 30-3
local/libcap-ng 0.8 3-1
local/linux 6.2.12arch1-1
local/linux-api-headers 6.1 9-1
local/linux-firmware 20230210.bf4115c-1
local/linux-firmware-whence 20230210.bf4115c-1
local/pacman-mirrorlist 20230410-1
local/util-linux 2.38. 1-3
local/util-linux-libs 2.38. 1-3
Edit:
There isn't nonsense.
It's actually multilayered nonsense.
There's no "networkmanager" binary and you cannot start /usr/bin/NetworkManager as ordinary user and you're supposed to start/enable the system service anyway.
Ok thank you for the explanation. But really i'd like to understand something:
I had a working arch linux s.o until yesterday with network manager working.
I launched with root
pacman -Syu terminus-font
thn i set the fotn for the bash. After this i lost my network, but i use arch witouht problem. Now i'm studying the best way to configure arch for music. And i took my time to do better. So please encourage new user
I use ubuntu server and centos for webdeveloping but never fight with deep configuration in a prod or test environment.
Thank you!
Offline
You're booting 6.2.10 but the installed kernel is 6.2.12
cat /proc/cmdline
cat /etc/fstab
lsblk -f
Online
You're booting 6.2.10 but the installed kernel is 6.2.12
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=98....ecc rw loglevel=3 quiet
cat /etc/fstab
/dev/sda3
UUID=something / ext4 rw,realtime 0 1
/dev/sda2
UUID=something none swap defalut 0 0
/dev/sda1
UUID=something / vfat rw,realtime,fmask=0022,dmnask=0022,codepage=437,iocharset=ascii,shgortname=mixed,utf8,errors=remount-ro 0 1
lsblk -f
sda FSAVAIL FSUSE% Mountpoints
sda1 vfat FAT32 UUID
sda2 swap 1 UUID [SWAP]
sda3 ext4 1.0 UUID 440.1G 0% /
Offline
You're booting from a boot partition, but it's not mouted - likely sda1 is misdirected into / instead of /boot.
Please link a screenshot to a picture of the output in doubt, you imprecise interpretation of the data prevents certainty, but you probably want to mount sda1 into /boot and reinstall the kernel.
Online
You're booting from a boot partition, but it's not mouted - likely sda1 is misdirected into / instead of /boot.
Please link a screenshot to a picture of the output in doubt, you imprecise interpretation of the data prevents certainty, but you probably want to mount sda1 into /boot and reinstall the kernel.
Ok i remember.
Boot don't start and i asked help here: https://bbs.archlinux.org/viewtopic.php?id=285009.
After v1del help it booted then proabily after update old configuration was restored.
Last edited by gabtram (2023-04-27 09:25:48)
Offline
You need to fix your fstab so that the last line mounts the FAT partition to /boot instead of /. for the immediate fix, follow the same steps I outlined in the other thread, then fix your fstab.
Online
You need to fix your fstab so that the last line mounts the FAT partition to /boot instead of /. for the immediate fix, follow the same steps I outlined in the other thread, then fix your fstab.
Hi and thanks so much for your patience.
So i rerun the procedure with usb pen and reinstalled kernel.
Now at the lkast line of the /dev/sda1/
UUID=... i will change wth /boot ok?
But to understand what happend after last update? The kernel restored the previuos fstab so i lost my kernel or what?
I'd like to understand how to think and find the right way
I shall not run pacman -Syu?
Last edited by gabtram (2023-04-27 09:58:11)
Offline
Your problem is that your /boot partition was never properly mounted and thus the kernel image when it needs to get updated (when the kernel updates) doesn't land on the proper partition. Your last line needs to read
UUID=something /boot vfat ...
(note the bold part the only thing you need to change is add boot to the /) you absolutely should run pacman -Syu but your /etc/fstab has always been wrong.
Last edited by V1del (2023-04-27 10:45:52)
Online
Ok!!
Thanks, now i understand.
I correct it.
My aim is to create a good music envirnoment in arch and i'm thinking to distruibte an iso of my arch when i will finish my configurations.
Great!
Bye
Offline
i'm thinking to distruibte an iso of my arch when i will finish my configurations.
You may want to get a bit more safe on the basics before you expose others to your efforts.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online