You are not logged in.
The 23/06/2024 I upgrade all my programs using
sudo pacman -Syu.
Next I rebooted my system, but then my Arch didn't boot correctly and it showed the next: https://imgur.com/a/VWT815g
Then I followed the next steps to troubleshoot my problem:
Boot from a live USB.
Run the following commands:
mount /dev/nvme0n1p8 /mnt
mount /dev/nvme0n1p9 /mnt/home
arch-chroot /mnt
sudo pacman -Syu
exit
umount -R /mntThen I took out the USB, and reboot but the problem still persisted.
I've also tried multiple times to boot again from the live USB, and try some commands, but the problem still persists.
For instance, I also tried the next commands:
sudo pacman -S linux
sudo mkinitcpio -P
sudo pacman -ScI also inspect my pacman.log, and I see that the day 23/06/2024 when I updated all my programs, some error occur with the mkinitcpio when building the initramfs img because wasn't space left on the tmp folder.
I check that I have enough space with
df -hI also run without success
sudo rm -rf /tmp/*I provide my pacman log on the next github gist: https://gist.github.com/MiguelDonado/bc … 2c06d7b5b6.
Yesterday, 02/07/2024 I tried again to boot from the live USB, and run again
pacman -Syu and the kernel was updated and the initramfs was apparently succesfully build, but the problem still persists.
I provide my journal log since the day that it doesnt boot on the next github gist: https://gist.github.com/MiguelDonado/90 … 2c839637b7
I found another thread that seems to have the same issue and its marked as solved, but I dont believe to see the solution to my case.https://bbs.archlinux.org/viewtopic.php?id=247012.
Last edited by MiguelDonado (2024-07-04 21:19:35)
Offline
Jun 23 07:00:16 lenovo systemd[1]: Mounted /boot.Looks like you have a separate boot partition that wasn't mounted in the chroot when you tried to repair things.
Please post the output of lsblk -f from the live usb before chrooting .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Error can't run '/etc/init.d/rcS'
Is this artix? Arch hasn't used rc.d in over a decade.
Online
This is the output of the lsblk-f: https://imgur.com/a/5LChVqS
My Arch Linux is splitted on 3 partitions:
/dev/nvme0n1p8 for the root
/dev/nvme0n1p9 for the home
/dev/nvme0n1p10 for the swap
Regarding the answer of Seth: Yes this is Arch.
Offline
Nothing's mounted there - did you mount /dev/nvme0n1p1 into /mnt/boot before attempting to fix the system?
Online
Sorry, I didn't understand correctly when I've to run the lsblk -f.
Now i run it after mounting the other parts.
loadkeys es
mount /dev/nvme0n1p8 /mnt
mount /dev/nvme0n1p9 /mnt/homeHere is the output: https://imgur.com/a/ldJok7D
When I installed my Arch Linux I already had the /dev/nvme0n1p1 partition, so I suppose this partition was from Windows.
Offline
That's not relevant
Jun 23 07:00:15 lenovo kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=759c4cb5-2a19-4588-ab75-1c64f00758c1 rw loglevel=3 quietYou're booting from a dedicated partition, the journal shows a /boot partition is mounted (check your fstab) that's most likely nvme0n1p1 and if you forgot to mount that when fixing the system offline, the kernel/initramfs went into the wrong location.
Online
Thank you so much.
After I check the fstab I see that I had to mount also the nvme0n1p1 as you said on /mnt/boot.
And then I run again
sudo pacman -Syu
sudo pacman -S linuxand it works.
Appreciate your help man.
Offline