#Cannot boot into arch after installing windows on same ssd
82 messages · Page 1 of 1 (latest)
Are you sure you are chrooting into the correct partition? Show us what you're doing
well forst thing, i mount nvme0n1p3 (which is indeed my main partition) to /mnt
And ls /mnt says it's empty?
no output
oh wait
my bad
its not empty
bin boot dev etc gabe lostfound proc run sys tmp var
And what does arch-chroot /mnt do?
failed to run command, /bin/bash permission denied
Did you do something with the permissions?
nothing at all
Is the other ext4 partition your home partition?
You can see them
ohh wait im pretty sure p2 might be like my system files
oh holdon
let me try smt
oh my god
im so sorry for my stupidness
What?
turns out p2 was my entire system files, i mounted it and now theres alot more folders and files, it allowed me to chroot
p3 was just like my downloads, configs etc
i forgot that when i installed arch i made p2 50 gigs for my system files
You have a Linux structure like bin boot dev on your home partition?
the structure is on p2
p3 is everythign else
What exactly is "everything else"? You mounted p3 and it showed bin boot dev etc, making me think it's your Linux root, but it turns out it isn't
So something must've gone wrong
hmm
okay well what should i do, i just wanna install grub again and just simply boot into linux again..
i used super grub2disk to boot into arch limux, and ot said something sbout device mapper missing from kernel
Then install grub again
Mount your EFI partition
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --recheck
grub-mkconfig -o /boot/grub/grub.cfg
/boot/efi is deprecated, use /boot
And mount it under /boot as well
But yeah, that
Also, at this point you might wanna make a separate EFI partition for Linux
Because every so often windows might just wipe it with its own shit
def will
its complainign "cant fijd device for /boot (is /dev mounted?)"
And what are you trying to do now? Is that the output from the grub-install command?
yes
Oh okay
Yes, you mounted it under /boot/efi so it will be available from /boot/efi and not /boot
ah
same error
ls boot/efi shows grub in there tho?
should i try
sudo systemctl reboot --boot-loader-entry=grub
Oh
No
The first error message was about /dev not being mounted was right
But i didn't know that you did chroot instead of arch-chroot
oh
Which mounts /dev for you
no errors
what now
grubs there now but it only shows uefi firmware settings
its fixed, thanks for ur help<33