You are not logged in.
Pages: 1
Hello, i been having this issue for a while now
bascially every time i update the system breaks and i get vm-linuz not found or something, and i solve it by booting on a USB and reinstalling the kernel with arch-chroot
but why the system break everytime i update? i want to solve this because its annoying doing this everytime
Offline
Is your boot partition mounted when you do the update?
Online
i guess so? its supposed to be mounted when im using arch right?
Offline
Very little is "supposed" to just happen on Arch. Unless you used archinstall, you'd know whether you have a /boot partition and whether you've added that to your /etc/fstab and whether you really need that.
Common flub people do assuming you've installed things by hand, is to have had the /boot partition mounted during the first kernel installation and not after, or the reverse, and you implicitly "fix" that when you chroot.
So get us some factual data, from the system chrooted or booted like you think is correct
lsblk -f
cat /etc/fstab
mount
ls -lR /boot
file /boot/vmlinuz-linux
pacman -Q linux
Offline
well i used archinstall since i couldn't really install it manually step by step
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 0 100% /var/lib/snapd/snap/bare/5
loop1 0 100% /var/lib/snapd/snap/core20/2015
loop2 0 100% /var/lib/snapd/snap/core20/2105
loop3 0 100% /var/lib/snapd/snap/gnome-3-38-2004/143
loop4 0 100% /var/lib/snapd/snap/gtk-common-themes/1535
loop5 0 100% /var/lib/snapd/snap/snapd/20290
loop6 0 100% /var/lib/snapd/snap/snapd/20671
loop7 0 100% /var/lib/snapd/snap/spotify/70
loop8 0 100% /var/lib/snapd/snap/spotify/74
sda
├─sda1 vfat FAT32 226F-363C
├─sda2
├─sda3 ntfs 3C0487E104879C90
├─sda4 ntfs BE7E8B1A7E8ACB1B
├─sda5 ntfs 62487B38487B09D5
├─sda6 vfat FAT32 AC69-B09C 942M 8% /boot
├─sda7 ext4 1.0 d5e57d75-b504-47ef-98a5-ebfda645d5b3 6.5G 88% /
└─sda8 swap 1 c86bab0d-6c9e-446b-b824-85d047c8ba7c [SWAP]
zram0 [SWAP]
cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda7
UUID=d5e57d75-b504-47ef-98a5-ebfda645d5b3 / ext4 rw,relatime 0 1
# /dev/sda6
UUID=AC69-B09C /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sda8
UUID=c86bab0d-6c9e-446b-b824-85d047c8ba7c none swap defaults 0 0
mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=5976396k,nr_inodes=1494099,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda7 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=7543)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/var/lib/snapd/snaps/bare_5.snap on /var/lib/snapd/snap/bare/5 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_2015.snap on /var/lib/snapd/snap/core20/2015 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/core20_2105.snap on /var/lib/snapd/snap/core20/2105 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_20290.snap on /var/lib/snapd/snap/snapd/20290 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gtk-common-themes_1535.snap on /var/lib/snapd/snap/gtk-common-themes/1535 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/gnome-3-38-2004_143.snap on /var/lib/snapd/snap/gnome-3-38-2004/143 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/snapd_20671.snap on /var/lib/snapd/snap/snapd/20671 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/spotify_70.snap on /var/lib/snapd/snap/spotify/70 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
/var/lib/snapd/snaps/spotify_74.snap on /var/lib/snapd/snap/spotify/74 type squashfs (ro,nodev,relatime,errors=continue,threads=single,x-gdu.hide,x-gvfs-hide)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
/dev/sda6 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1197620k,nr_inodes=299405,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
file /boot/vmlinuz-linux
/boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 6.7.2-arch1-2 (linux@archlinux) #1 SMP PREEMPT_DYNAMIC Wed, 31 Jan 2024 09:22:15 +0000, RO-rootFS, swap_dev 0XC, Normal VGA
pacman -Q linux
linux 6.7.2.arch1-2
Offline
That's from a re-fixed system?
cat /proc/cmdline
Also, cc, 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Offline
yeah thats after fixing the system
Offline
Please log the next time you do an update with a kernel update - I'm curious if mkinitcpio works fine or if you get some errors indicating something's wrong.
Offline
Please also share your /var/log/archinstall/install.log
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Are you using systemd-boot or grub?
However, try boot via USB and then... (here with /mnt. Or select another mount location):
#first, mount your root directory of the installed archlinux of your harddrive sda7:
mount /dev/sda7 /mnt
#second mount your ESP/EFI partition into the mounted archlinux boot folder:
mount /dev/sda6 /mnt/boot
#Now enter arch-chroot:
arch-chroot /mnt
#now try and look if that runs without errors:
mkinitcpio -p linux
#when not running complete, check your grub or systemd-boot configuration (I don't know which bootloader you're using)
#then exit arch-chroot
exit
#shutdown...
poweroff
#...and remove USB-Live Stick
#try normal boot of your PC
Or...are you booting from right source? What's your output of efibootmgr?
Offline
Pages: 1