You are not logged in.
Hello, recently I killed my arch Linux on accident, somehow. On startup it tells me its un successful mounting /boot, but my issue is different right now.
Im trying to reinstall the linux kernel in the live installatuon media with
pacman -S linux
, but it's giving me this error:
(by the way, I mounted and chrooted into the drive im having the problem on.)
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
I'd love to post a full log but I have zero clue on how to obtain it, and God knows I wont type it all on my phone here. Any help is appreciated!
Edit: tried yay aur, same problem
Last edited by mrowkiuq (2022-12-01 18:24:43)
Offline
Tell us how you chrooted into.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Also, do you have an internet connection *before* you chroot?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Context matters too. Perhaps you received some / all of those messages at some point in the process, but most of those are messages that would definitely not be generated by pacman.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Tell us how you chrooted into.
fdisk -l
(find the partition with my root on it, for some reason I decided to have seperare partitions for my /home and /, so I choose the root one, /dev/nvme0n1p2)
mount /dev/nvme0n1p2 /mnt
arch-chroot /mnt
Is there a problem with this?
Offline
Also, do you have an internet connection *before* you chroot?
Most likely. I am running on ethernet. I also tried the speed test package in chroot, as I have it installed and it shows I have internet.
Offline
If you "have internet" then you can post full logs without having to type them out. Please do so.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If you "have internet" then you can post full logs without having to type them out. Please do so.
I'm sorry, how would i do that?
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
d.ALT wrote:Tell us how you chrooted into.
fdisk -l
(find the partition with my root on it, for some reason I decided to have seperare partitions for my /home and /, so I choose the root one, /dev/nvme0n1p2)
mount /dev/nvme0n1p2 /mnt
arch-chroot /mntIs there a problem with this?
Nope.
But what if you DON'T chroot into and rather directly use ArchISO's Pacman?
###test connection:###
ping 185.222.222.222
###mount your ROOT partition into /mnt###
###mount your HOME partition into /mnt/home###
# pacstrap -DK /mnt base linux linux-firmware
\\\
###IF successful, then go with:###
# arch-chroot /mnt
(chroot)# pacman -Syu
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
d.ALT wrote:Tell us how you chrooted into.
fdisk -l
(find the partition with my root on it, for some reason I decided to have seperare partitions for my /home and /, so I choose the root one, /dev/nvme0n1p2)
mount /dev/nvme0n1p2 /mnt
arch-chroot /mntIs there a problem with this?
Yes. You mentioned that it's erroring out mounting /boot, so why aren't you mounting that here? Do you also have a separate /var partition? That could explain the error. Mount ALL of the partitions that are part of your system.
Offline
Will try, also will post a log of the pacman in a few minutes for Trilby.
Offline
https://hst.sh/ofugitiruv.yaml - pacman -S linux output
Offline
mrowkiuq wrote:d.ALT wrote:Tell us how you chrooted into.
fdisk -l
(find the partition with my root on it, for some reason I decided to have seperare partitions for my /home and /, so I choose the root one, /dev/nvme0n1p2)
mount /dev/nvme0n1p2 /mnt
arch-chroot /mntIs there a problem with this?
Nope.
But what if you DON'T chroot into and rather directly use ArchISO's Pacman?
###test connection:### ping 185.222.222.222 ###mount your ROOT partition into /mnt### ###mount your HOME partition into /mnt/home### # pacstrap -DK /mnt base linux linux-firmware \\\ ###IF successful, then go with:### # arch-chroot /mnt (chroot)# pacman -Syu
the ping succeeded. the command you suggested didn't though. pacstrap doesn't recognise the -D parameter
Offline
Trilby wrote:https://hst.sh/ofugitiruv.yaml - pacman -S linux output
So the error isn't from pacman, it's from package-kit. Ignore it
Offline