You are not logged in.
I updated my install about a week ago and got this error message, I checked the journal and it told me something about the partition being in vfat, I can no longer log into the emergency shell because it appears that my keyboard has stopped working, I also posted something on the arch subreddit and got the response to check my fstab but no follow up, so my fstab is at https://paste.c-net.org/GenocideTopeka
Offline
I think your problem is the same as this thread so follow the advice given there (chroot in with the /boot partition correctly mounted and reinstall the kernel).
Your /etc/fstab does have a line for the /boot partition though so I'm not sure why you've encountered this. Is the (filesystem) UUID for /dev/sda1 correct?
Last edited by Head_on_a_Stick (2023-01-17 06:45:12)
Jin, Jîyan, Azadî
Offline
Just to be clear I need to mount my /dev/sda2 to /mnt/boot and then do what?
Offline
Which guide did you follow when installing Arch?
You need to mount your root partiiton under /mnt then mount your /boot partition under /mnt/boot then use
# arch-chroot /mntThen update the kernel from there.
And please be sure to answer all questions. You might end up linked in the "Grrr" thread otherwise...
Jin, Jîyan, Azadî
Offline
I’m getting a new error once I’ve mounted /dev/sda1 to /mnt /dev/sda2 to /mnt/boot and /dev/sda3 to /mnt/home
The output of pacstrap -DK base linux linux-firmware
Is at
https://paste.c-net.org/RhetoricForgets
Edit: the UUID’s match and I used the arch-install scripts to install
Last edited by Lebellelenous (2023-01-17 07:39:56)
Offline
my fstab is at https://paste.c-net.org/GenocideTopeka
# /dev/sda2
UUID=b2d57fe6-b4eb-4b64-99c0-cbacee83a0d3 / ext4 rw,relatime 0 1
# /dev/sda1
UUID=369F-2AA9 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sda3
UUID=46cd394e-0218-4289-86e6-6345c068c23a /home ext4 rw,relatime 0 2I’m getting a new error once I’ve mounted /dev/sda1 to /mnt /dev/sda2 to /mnt/boot and /dev/sda3 to /mnt/home
Please, be aware of what you're doing with your partition(s) and where you are mounting 'em!!!
<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
I think it was a typo but I unmounted and remounted the partitions and ran
pacstrap /mnt base linux linux-firmware
I got it to boot however it said that job control was turned off and I can’t type into the terminal it spits me out into
Edit: while checking the files in the instillation media it gave me the error while chrooting of bin/bash not available and there is no /bin file on /dev/sda2
Edit 2: ls of /mnt: https://paste.c-net.org/HappenHearings
Edit 3: I fucked up my system didn’t I?
Last edited by Lebellelenous (2023-01-17 08:18:25)
Offline
double-check: sanity of your USB pen and verifiy the Installation Medium
please also consider running a manual fsck onto your sda1 and sda2 and sda3
If everything's fine, then boot the ArchLinux ISO
mount partitions (ROOT ---> /mnt, BOOT ---> /mnt/boot, HOME ---> /mnt/home) and do NOT chroot
# pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syutell us what's happening (post here errors - if any - from the above command)
<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
/bin is supposed to be a symlink to /usr/bin
Before running "pacman … -Syu", please check
sudo LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'There're multiple damaged files in a previous output, but most seem to relate to Qt6 - so maybe we should check how bad it currently is.
Edit: there's also
-rw-r--r-- 1 root root 11198656 Jan 17 07:40 vmlinuz-linuxso most likely at some point this morning you cross-mounted the root and boot partition and installed the kernel.
Last edited by seth (2023-01-17 13:27:03)
Offline
Before running "pacman … -Syu", please check
sudo LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'
Mmm... This is done because Pacman will not "auto-correct" problematic files while -Syu action? Re-instalaltion is needed here?
<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
This is primarily done to get an idea about what might have happened, but yes: simply updating will not fix broken packages that are up-to-date.
Also there may be damages to the database.
Offline
double-check: sanity of your USB pen and verifiy the Installation Medium
please also consider running a manual fsck onto your sda1 and sda2 and sda3
If everything's fine, then boot the ArchLinux ISO
mount partitions (ROOT ---> /mnt, BOOT ---> /mnt/boot, HOME ---> /mnt/home) and do NOT chroot
# pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syutell us what's happening (post here errors - if any - from the above command)
The output is: https://paste.c-net.org/PromotedWatchings
Should I just tell pacman to ignore libcaps?
Edit 1: I have a separate home partition so I’m okay with reinstalling Arch as long as I am able to use that home partition with the new install (this makes sense logically in my head and I can’t think of a reason why it wouldn’t work, even if I have to not use the scripts to install)
Last edited by Lebellelenous (2023-01-17 20:46:04)
Offline
There's no such file here
sudo LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'
Offline
That link is for the other command, and for the one that you quoted all i get is no such file or directory errors (it’s still running, when it finishes I’ll edit this and add the link)
Updated link: https://paste.c-net.org/PromotedWatching
Edit 1: the output of the command you listed: https://paste.c-net.org/VineyardSnowing
Last edited by Lebellelenous (2023-01-17 20:05:02)
Offline
The paste still only includes
:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: installing libpcap (1.10.3-1) breaks dependency 'libpcap=1.10.2' required by lib32-libpcapwhich isn't nearly the output of a system update.
idk how you copy & paste stuff there, but
sudo LC_ALL=C pacman --root /mnt -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/pacman_qkk.log
cat /tmp/pacman_qkk.log | curl -F 'file=@-' 0x0.stEdit: though from a brief look on the stdout, there's probably not a single intact package on the system.
https://wiki.archlinux.org/title/Pacman … l_packages
Any idea what happened there?
You might want to start w/ https://wiki.archlinux.org/title/SMART
smartctl -a /dev/sdaLast edited by seth (2023-01-17 20:08:59)
Offline
After running the command listed in your previous reply, http://0x0.st/ohKD.txt is the output
Edit: the one before last
Last edited by Lebellelenous (2023-01-17 20:13:30)
Offline
"st" - also this looks like you cut the output short.
Doesn't matter, there's almost nothing left of your installation.
See my previous post and ESPECIALLY asses the sanity of the drive before you continue to use it.
In doubt post the smartctl output.
Offline
Assess sanity? This drive is barely a year old, I didn’t think that an ssd could deteriorate that quickly
Offline
Unless you know what could have caused this we better look…
Other causes would be over-aggressive trimming strategies or other issues w/ the filesystem (though less likely w/ ext4)
But something *has* happened and it shredded most files on at least that partition.
Offline
The output of smartctl -a /dev/sda is at https://paste.c-net.org/FreightSealed
Edit: It appears that all data on the /home partition (/dev/sda3) is good and intact
Last edited by Lebellelenous (2023-01-17 20:21:34)
Offline
Doesn't look concerning.
Do you have any idea what could have caused the massive data loss on the root partition?
Power cut?
The necessary step however would be https://wiki.archlinux.org/title/Pacman … l_packages
Offline
I do live in a developing neighborhood and the power goes out from time to time, but not recently
Edit: it’s okay to run the command from the link provided as is?
Last edited by Lebellelenous (2023-01-17 20:31:00)
Offline
The necessary step however would be https://wiki.archlinux.org/title/Pacman … l_packages
I can run
pacman -Qqn | pacman -S - as is?
Last edited by Lebellelenous (2023-01-17 20:46:52)
Offline
No, since you'll likely be doing this from the install iso, you'll have to use
pacman --root /mnt -Qqn | pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -S -Offline
Alright, I feel like we’re getting closer I’m now getting an error about dependencies
Error: https://paste.c-net.org/SlammedGoodbye
Edit: I’m going to try to have pacman ignore those packages and retry
Edit 2: it appears as of 3:14 PM UTC 6 that it is going to download and install all of the missing packages
Last edited by Lebellelenous (2023-01-17 21:14:48)
Offline