You are not logged in.
I updated my arch yesterday and since then im not able to boot anymore. After selecting arch from grub menu i get the following message
"Loading Linux linux ...
error: file 'vmlinuz-linux' not found.
Loading initial ramdisk ...
error: you need to load the kernel first.
Press any key to continue"
Same happens when trying to boot with fallback initramfs.
I can only use grub command line and from there i can see my /boot/ is empty but that's probably due to partition not being mounted?
Anything i can do from a grub command line that u guys need i will post the output in screenshots .
Thanks.
Last edited by gokus (2019-11-21 15:40:04)
Offline
Well if you didn't have your /boot mounted when you did the update that's normal and unsurprising. Chroot in from a livedisk with properly mounted partitions and run
pacman -Syu linux
Offline
Well if you didn't have your /boot mounted when you did the update that's normal and unsurprising. Chroot in from a livedisk with properly mounted partitions and run
pacman -Syu linux
Thanks for your fast answer sir.
There is no way for me to get my pc to boot without chrooting in my system? Since i only have one pc at my disposal at the moment and its this one
Offline
You can "arch-chroot" with one system and a boot disk. Boot-up using the boot disk (install cd) and instead of doing a install - chroot, and then run pacman.
https://wiki.archlinux.org/index.php/Change_root
Last edited by EndUserOnly (2019-11-21 11:35:49)
Offline
You can "arch-chroot" with one system and a boot disk. Boot-up using the boot disk (install cd) and instead of doing a install - chroot, and then run pacman.
I mean, I don't have a way of making an arch bootable usb or cd since this is the only pc i have
Offline
You could identify the exact path and boot the image from the actual partition with GRUB, I haven't had much of a need to do that, so you'd have to do some reading on how to access your / and chainload from GRUBs console, on a random googler, this might help
Offline
Solved. I did exactly what V1del said.
Well if you didn't have your /boot mounted when you did the update that's normal and unsurprising. Chroot in from a livedisk with properly mounted partitions and run
pacman -Syu linux
Booted from a live media, (rooted android in my case) mounted partitions with
mount /dev/sda3 /mnt and mount /dev/sda1 /mnt/boot
Arch-chrooted in my system and did
pacman -Syu linux
Unmounted partitions and rebooted.
Thanks everyone, lock o/
*Pro tip: always have arch live cd or usb with u *
Offline
Don't forget to persist that /boot partition in your fstab with a persistent identifier so that you won't have to unnecessarily do this again the next time the kernel updates.
Offline
Just did that, thank you very much for your help sir.
Offline