#[Solved] After upgrade, can't boot (panik)

21 messages · Page 1 of 1 (latest)

raw socket
#

I did a full system upgrade, and now grub is bitching about error: file boot/vmlinuz-linux not found

I suspect this could be of two reasons

One, power got cut mid upgrade, i got all tbe packafes installed but i dont think hooks ran or anything

This was my first update since the grub fiasco, so i ran grub-install. I remember having problems with grub-install, trying to figure out what i did

#

I think my EFI partition wasn't mounted? So I mounted it?

#

I forget where I did that

#

God I knew what I was doing was a bad idea

#

I'm like currently panicking

#

I don't have a bootable arch USB, I could make one but I would prefer to avoid it

#

There must be some way to fix this?

#

I do have gparted live

#

On hand

#

LOL

#

If that could be used

#

Could I just use chroot (not arch-chroot from gparted and then pacman install Linux?

solemn flower
#

I think you can chroot, I don't know off hand how to handle the procs. It sounds like you want to reinstall your kernels. When you said you ran grub install please specify the full command along with if arch was installed in bios mode or UEFI mode, and if you are currently going into an environment using bios or UEFI.

raw socket
#

Solution:

  1. Boot into gparted, arch or any other live OS
  2. Find your arch part
  3. Mount it: sudo mount /dev/<partition> /mnt
    If you don't have the arch-chroot command, there is some setup to make it a "full enough" chroot
    4. Make it work with pacman bash cd /mnt sudo mount -t proc /proc proc sudo mount -R /sys sys && sudo mount --make-rslave sys sudo mount -R /dev dev && sudo mount --make-rslave dev sudo mount -R /run run && sudo mount --make-rslave run 5. chroot in chroot .
    If you do have arch chroot
    4. arch-chroot in arch-chroot /mnt
    5/6. Reinstall linux with pacman: pacman -S linux
    6/7. Reboot
grim thicket
# raw socket Solution: 1. Boot into gparted, arch or any other live OS 2. Find your arch part...

(just tips)

full enough
this is more than full
in fact it does all that arch-chroot does, bar the resolv.conf, which you probably have if youve used internet on your system (including from chroot)
bear in mind that chroot . will use the login shell of the liveiso; if the system doesnt have that then it will not work
also you can combine all of the last one into one command: chroot /mnt pacman -S linux (or arch-chroot)

#

(one more tip to make it shorter) also you probably dont need dev and run for just pacman

#

dont forget to mark as solved in the title

raven bloomBOT
#

you just got $\\LaTeX$’d received a thank you cookie!

grim thicket
#

oh and one more thing

raw socket
#

[Solved] After upgrade, can't boot (panik)