#[Solved] accidentally removed bootloader
92 messages · Page 1 of 1 (latest)
wel are you here?
first chroot into your system
im assumming you mean through a live USB?
yah
okay, hold on, i'll be a couple mins while i reboot
i hope you didnt destroy your boot partition
once you get in live iso
fdisk -l to make sure the boot partition still there
This is the info I got... And I'm not seeing /boot in there...
Hi, better yet boot into a GUI live usb like Endeavour or something like that and inspect your boot partition, if all it's ok just chroot and install again the boot loader following the arch guide (sorry for my english)
okay thats nice
Is it okay?
mount your root to /mnt and your boot to /mnt/boot
Sooooo, thatd be sudo mount /mnt / right?
Just making sure I've got them the right way around
mount /dev/nvme0n1p2 /mnt
mount /dev/nvme0n1p1 /mnt/boot
Sooo, chroot bootctl install?
No no
Sorry, just wanna double check everything before running it
arch-chroot /mnt
Yeh
Ah, okay, thanks
cool
Seems good
Will bootctl see the windows install that's sitting on a different SSD?
Like, I want the option to pick it from the bootloader
sadly no
Ah
you have to add it manually
Okay, is it easier to do that with grub or systemd?
grub is always easier for dualboot
Ah, okay.... Then maybe I should stick with that...
What would I have to do to reinstall grub?
Assuming it got removed by the bootctl remove command
im not familiar with grub :/
Ah
but i think the wiki guide tells it
sudo grub-install --target=x86_64-efi --efi-directory=/mnt/boot --bootloader-id=grub
Just tried it with efi dir of just /boot at the suggestion of someone online, and it worked
So now reboot ig?
yup
wait
i remember something called osprober
sudo pacman -S os-prober
sudo os-prober
sudo grub-mkconfig -o /boot/grub/grub.cfg
and then reboot
yup
I tried that earlier (before the systemd shit and it didn't find anything!
Rebooting now
Ah, can't reboot as I'm in chroot
yay
Isn't there a way to give you credit with a bot on here or something?
Or am I thinking of a different server?
just reply me with "thanks"
Thanks!
axend.wav received a thank you cookie!
also mark this solved