#[SOLVED] Unable to chroot into Arch installation in order to fix GRUB

57 messages · Page 1 of 1 (latest)

half sphinx
#

When I booted my Arch system I booted into grub>, I managed to get out of there by using; set pager=1 set root=(hd0,1) linux /vmlinuz-linux-zen initrd /initramfs-linux-zen.img boot

However it booted into the emergency shell.

So I figured the best way to fix it is to fix grub from a live install (EOS). I mounted my flash drive to /mnt and /mnt/boot, which seems to have worked based on the lsblk output. However I get hit with a

mount: /mnt/proc: mount point does not exist.
dmesg(1) may have more information after failed mount system call.
==> ERROR: failed to setup chroot /mnt

I am newb so I am a bit lost in the dark, so I'd appreciate some help with what I should do (I don't even know how to fix GRUB once I chroot into it). Thx

prime solar
#

you mounted your usb to /mnt?

#

you gotta mount your existing arch installation

#

not the one from your usb

gleaming summit
#

How?

eager tree
eager tree
#

Yeah you want to mount the drive you have Arch on, not the USB

half sphinx
#

so I do the same command but instead of using sda1 I do nvme0n1p1?

gleaming summit
#

Ohh

#

Maybe try mounting 1p2

half sphinx
gleaming summit
half sphinx
gleaming summit
#

Ohh

#

Hmm

#

/mint/@ should work then

half sphinx
half sphinx
half sphinx
gleaming summit
half sphinx
#

I meant like

#

that's the normal system

#

not the EFI

eager tree
#

also make sure you unmount the other partitions first using umount [partition]

half sphinx
#

So what commands should I use?

eager tree
#

First run umount -R /mnt to ensure everything is unmounted

#

And then, assuming you're using BTRFS subvolumes, run mount /dev/nvme0n1p2 -o subvol=@ /mnt to mount the root subvolume

half sphinx
half sphinx
#

anyone?

eager tree
half sphinx
eager tree
#

Not sure what you mean by that, but yes they're mounted now

half sphinx
eager tree
#

No, you haven't done anything to fix GRUB yet

half sphinx
#

oh

eager tree
#

First let's ensure your system is up to date with a pacman -Syu

half sphinx
eager tree
#

Could you temporarily disable time shift?

half sphinx
#

I mean, idk how, I wanted to get rid of it for a while but didn't bother to do it ;-; But I can do it now ig

eager tree
#

It might not be necessary to update though, if you don't want to deal with it right now

half sphinx
#

I got rid of it already so

eager tree
#

Alright, then do an update and we can get to fixing GRUB

half sphinx
#

yep, done it, all up to date

eager tree
#

You'll want to run grub-mkconfig -o /boot/grub/grub.cfg to regenerate the GRUB config

half sphinx
#

done

#

the output if it matters

eager tree
#

Seems good, you can try exiting out of chroot and rebooting now

half sphinx
#

alright

#

OMGG yess

#

Ty ty ty

eager tree
#

Good to hear

#

.n solved

carmine reefBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you